Agent skill
project-md-refresh
Analyze the current repository and create or refresh .claude/PROJECT.md to match the project. Use when PROJECT.md is missing, stale, or the user asks to generate/update project-specific rules, structure, commands, or architecture details.
Install this agent skill to your Project
npx add-skill https://github.com/majiayu000/claude-skill-registry/tree/main/skills/data/project-md-refresh-munlucky-claude-settings
SKILL.md
PROJECT.md Refresh
Goal
Create or update .claude/PROJECT.md with accurate, evidence-based project details.
Workflow
-
Locate the base file.
- If
.claude/PROJECT.mdexists, use it as the base; preserve custom rules and update facts. - If missing, create
.claude/if needed and copyassets/PROJECT.template.mdto.claude/PROJECT.md.
- If
-
Collect signals from the repository.
- Read
README.mdand any project docs. - Identify the stack from config files:
package.json,pyproject.toml,go.mod,Cargo.toml,build.gradle,pom.xml,Gemfile,requirements.txt,Makefile, orTaskfile. - Extract run/build/test/lint commands from scripts or tooling.
- Inspect the top-level directory structure and key entrypoints.
- Locate API routes/controllers and data models (search for
route,router,controller,handler,model,schema). - Find auth configuration (search for
auth,jwt,session,oauth). - Note environment variable usage (search for
ENV,process.env,os.environ,dotenv).
- Read
-
Update
PROJECT.mdsections.- Fill the overview (name, stack, primary language).
- Summarize core rules and conventions.
- Document directory structure (top-level + key subdirectories).
- Document API/data patterns, auth, and docs paths.
- Add concrete commands for dev/build/lint/test/typecheck.
-
Output.
- Save
.claude/PROJECT.md. - Provide a short summary and list any gaps/questions.
- Save
Guardrails
- Do not invent details; base every statement on files found.
- If information is missing, add TODOs or ask for confirmation.
- Keep content concise and project-specific.
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?