- Fork the repo
- Clone:
git clone https://github.com/<your-fork>/please-optimize-my-claude.git - Install locally:
npx skills add ./ - Test by running
/please-optimize-my-claude analyzein a project with CLAUDE.md files
- Edit
skills/please-optimize-my-claude/SKILL.mdfor skill logic changes - Edit
skills/please-optimize-my-claude/references/best-practices.mdfor best practices updates - All Markdown files must pass markdownlint (
npx markdownlint-cli2 "**/*.md")
feat: description— new featuresfix: description— bug fixesdocs: description— documentation updateschore: description— maintenance
- Create a branch from
main - Make your changes
- Ensure markdownlint passes
- Open a PR with a clear description
- Wait for review
- Use GitHub Issues
- Include what you expected, what happened, and your CLAUDE.md hierarchy structure
No build step required — the skill is pure Markdown.
- Fork and clone the repo
- Install locally:
npx skills add ./(or/install ./in Claude Code) - Test: run
/please-optimize-my-claude analyzein any project with CLAUDE.md files
Skill logic changes (SKILL.md): Run all four modes against a project with a real CLAUDE.md hierarchy:
/please-optimize-my-claude analyze— read-only, safe to run anywhere/please-optimize-my-claude— interactive mode/please-optimize-my-claude auto— applies changes (use a throwaway project)/please-optimize-my-claude restore— verify restore works after auto
Best-practices changes (references/best-practices.md): Run /please-optimize-my-claude analyze --research
and verify the reference is loaded without errors.
Linting: Always run before opening a PR:
npx markdownlint-cli2 "**/*.md"- One logical change per PR
- Link the issue it closes (
Closes #123) - Update
CHANGELOG.mdfor any user-facing changes - Keep diffs minimal — targeted edits over rewrites
By contributing, you agree that your contributions will be licensed under MIT.