Agent skill
project-initialization
Initialize a project with AI agent rules and documentation. Use when setting up a new repository for AI agent collaboration.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/project-initialization
SKILL.md
Project Initialization
Improve the results of running the /init command to create AI agent rules.
When to Use This Skill
Use this skill when:
- Setting up a new repository for AI agent collaboration
- Neither
CLAUDE.mdnorAGENTS.mdexists - The
/initcommand has been run but needs improvement - You want AI agent rules to be discoverable by multiple agents
Goal
The /init command creates CLAUDE.md, but this is only useful for Claude Code.
This skill ensures the same file contents are discoverable and readable by
multiple AI agents looking in different places.
This follows the standard documented at: https://agent-rules.org/
Process
Perform the following steps:
-
Check existing files: Verify if
CLAUDE.mdand/orAGENTS.mdexist -
Handle new project: If neither file exists, first run Claude's
/initprocess to generate initial content -
Rename if needed: If
CLAUDE.mdexists, rename it toAGENTS.md -
Create symlinks: Generate symlinks so different agents can find the rules:
CLAUDE.md→ points toAGENTS.mdAGENT.md→ points toAGENTS.md(for agents that look for this filename)
-
Verify: Confirm the symlinks work by checking file accessibility
Context
- Existing files:
ls CLAUDE.md AGENTS.md
Example Commands
# Check existing files
ls -la CLAUDE.md AGENTS.md
# Rename if needed
mv CLAUDE.md AGENTS.md
# Create symlinks
ln -s AGENTS.md CLAUDE.md
ln -s AGENTS.md AGENT.md
# Verify
cat CLAUDE.md
cat AGENT.md
Result
After this process:
AGENTS.mdcontains the authoritative AI agent rulesCLAUDE.mdis a symlink toAGENTS.mdAGENT.mdis a symlink toAGENTS.md- Multiple AI agents can discover and read the same rules
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
agent-ops-spec
Manage specification documents in .agent/specs/. Use when user provides requirements, acceptance criteria, or feature descriptions that need to be tracked and validated against implementation.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-testing
Test strategy, execution, and coverage analysis. Use when designing tests, running test suites, or analyzing test results beyond baseline checks.
agent-ops-state
Maintain .agent state files. Use at session start, after meaningful steps, and before concluding: read/update constitution/memory/focus/issues/baseline consistently.
Didn't find tool you were looking for?