by shifulegend
One-command /claude-ready skill that audits any repo and scaffolds lean CLAUDE.md, scoped rules, permissions, and hooks.
Available after the catalog security scan passes.
⚠️ Third-Party Software Notice
This skill is third-party open-source software developed and hosted independently on GitHub. SkillsLLM lists this project for discovery and does not control or maintain the underlying repository.
Any security checks, ratings, or warnings displayed by SkillsLLM are automated and limited in scope. They do not constitute a security certification or guarantee that the software is safe, error-free, or free from malicious code, vulnerabilities, compromised dependencies, or prompt-injection risks.
Review the source code, permissions, dependencies, and configuration before installing or running any third-party skill. Use is at your own risk. To the maximum extent permitted by applicable law, SkillsLLM is not liable for losses arising from third-party software.
The deep catalog scan for this skill is still queued. Run an instant dependency check now instead.
# Add to your Claude Code skills
git clone https://github.com/shifulegend/claude-readyGuides for using ai agents skills like claude-ready.
See how claude-ready compares with popular alternatives.
A single Claude Code skill (/claude-ready) that audits a repo and sets up CLAUDE.md, path-scoped .claude/rules/, and .claude/settings.json permissions and hooks.
Claude Code already handles planning, git history questions, /verify, /code-review, and /ship out of the box. This repo focuses only on the one-time setup work you otherwise repeat on every project.
v2.1.x+) and Gitjq (required if you enable the PostToolUse or Stop hooks)gh CLI (optional, for reading GitHub PRs and issues)Clone this repo first:
git clone <your-repo-url>/claude-ready.git
cd claude-ready
Then pick whichever scope matches how you work (add --dry-run to preview without writing files):
Best for solo use. Nothing is added to a project until you run /claude-ready.
bash scripts/install.sh --global
Copies the skill into a specific repository so teammates and cloud sessions get it automatically:
bash scripts/install.sh --repo /path/to/your-repo
Links skills/claude-ready into a target repo without copying files:
bash scripts/install.sh --symlink /path/to/your-repo
cd /path/to/your-repo
claude
Run /skills to confirm claude-ready shows up.
/claude-readyType /claude-ready and press Enter.
The skill runs a read-only pass first. It checks git status, your project manifests (package.json, pyproject.toml, Makefile, Cargo.toml, go.mod, workspace configs, CI workflows), and any existing .claude/ config. It does not edit any files yet.
Claude prints a short gap report covering existing config issues (like a CLAUDE.md over 200 lines or missing .gitignore entries), the fastest test and lint commands it found, and sensitive paths like .env* or secrets/.
Then it stops and asks 3 to 5 questions. If the recommendations look right, you can just reply "Accept defaults, skip the codebase summary". Or customize in one short message, for example on a TypeScript repo:
1. Allow pnpm tsc --noEmit, pnpm vitest run *, and pnpm lint *. Add a Stop hook for tsc and a PostToolUse Prettier hook.
2. Do not copy patterns from src/legacy/.
3. Block .env, .env.*, and secrets/**, and update .gitignore. Do not touch src/gen/.
4. Add .claude/rules/api.md scoped to src/api/**/*.ts.
5. Skip the codebase summary and write the files.
Once you approve, Claude writes only what you asked for (merging into existing CLAUDE.md or .claude/settings.json instead of clobbering them):
CLAUDE.md with your exact commands, conventions, and env gotchas (target under 80 lines, hard cap under 200).claude/rules/<area>.md for rules that should only load on matching file paths.claude/settings.json with allow, ask, and deny rules plus any hooks you choseCheck git status and git diff before committing.
Commit CLAUDE.md, .claude/rules/, .claude/settings.json, and .mcp.json (if you use one). Keep CLAUDE.local.md and .claude/settings.local.json in .gitignore.
Run two built-in checks right after setup:
/context all
/doctor prompt-audit
/context all confirms CLAUDE.md loaded and shows its token count. /doctor prompt-audit catches broken file paths or conflicting instructions.
If you want pre-commit app verification, run /verify to record .claude/skills/verify/SKILL.md (or /run-skill-generator to record .claude/skills/run-<name>/ for complex launch setups).
To test your rules before moving on, ask Claude "What is in .env?" (Read and common shell reads like cat .env should be blocked; turn on /sandbox for OS-level enforcement against scripts). If you enabled a Stop hook, introduce a quick type error and ask Claude to finish; the hook should exit with code 2 and send the error back on stderr.
/claude-ready skill (disable-model-invocation: true).--global, --repo, --symlink, and --dry-run.PostToolUse / Stop hooks.pytest / ruff / mypy) permissions and hooks.claude -p scripts, and --worktree usage.| Issue | Likely cause | Fix |
|---|---|---|
/claude-ready not in /skills |
Wrong folder, lowercase filename, or reserved name collision | Verify ~/.claude/skills/claude-ready/SKILL.md (avoid reserved names ship, ship-local, steward, synced, anthropic-skills) |
A .claude/rules/ file loads on every file |
YAML syntax error in paths: |
Run claude --debug to see the parse error |
PostToolUse or Stop hook fails |
jq missing or tool binary not installed |
Install jq and verify your local formatter/linter binary exists |
HTTP MCP server in .mcp.json is skipped |
Missing "type": "http" field |
Add "type": "http" next to "url" and check /mcp |
| Personal skill missing in Cloud or Cowork | Cloud sessions do not read ~/.claude/skills/ |
Commit the skill under .claude/skills/ in the repo |
Claude keeps ignoring a CLAUDE.md rule |
File is too long, or the rule has no exceptions | Trim CLAUDE.md with /doctor or move the rule to a hook or permissions.deny |
A few rules that often trip people up when editing .claude/settings.json by hand:
deny always beats ask, and ask always beats allow (including in Auto mode).* (Bash(pnpm lint *), not Bash(pnpm lint*)).Bash(npx *), Bash(docker exec *), or Bash(sudo *); allow the specific inner command instead.Read(./.env) / Read(./.env.*) deny rules with /sandbox if you want OS-level blocking against scripts that open files directly. Note that command hooks run outside /sandbox with your full user privileges.Inspired by the 28-minute Claude Code talk by Boris (creator of Claude Code) and built against the Claude Code Skills documentation.
MIT License.
claude-ready is an open-source ai agents skill for AI coding assistants such as Claude Code, Codex CLI, and ChatGPT, built by shifulegend. One-command /claude-ready skill that audits any repo and scaffolds lean CLAUDE.md, scoped rules, permissions, and hooks. It has 76 GitHub stars.
claude-ready's catalog security scan is still queued. You can run an instant dependency and prompt-injection check now with the "Scan for vulnerabilities" button above.
Clone the repository with "git clone https://github.com/shifulegend/claude-ready" and add it to your Claude Code skills directory (see the Installation section above).
claude-ready is primarily written in Shell. It is open-source under shifulegend on GitHub, so you can review or fork the full source.
Yes. SkillsLLM lists many other AI Agents skills you can browse and compare side by side. Open the AI Agents category from the badge at the top of this page, or use the Related Skills and comparison links further down to weigh claude-ready against similar tools.
No comments yet. Be the first to share your thoughts!