Leo Add Rule — Git skill for Claude Code
Add a coding rule as one bullet to a skill, in the plugin source and the repo's copy of it (edit only, no commit).
How to install Leo Add Rule
Installs to ~/.claude/skills/leobo96-leo-agent-harness-leo-add-rule/SKILL.md
mkdir -p ~/.claude/skills/leobo96-leo-agent-harness-leo-add-rule && curl -fsSL https://raw.githubusercontent.com/leobo96/leo-agent-harness/HEAD/commands/leo-add-rule.md -o ~/.claude/skills/leobo96-leo-agent-harness-leo-add-rule/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Leo Add Rule does
description: Add a coding rule as one bullet to a skill, in the plugin source and the repo's copy of it (edit only, no commit) argument-hint:
Add this rule: $ARGUMENTS
`SCRIPT` = `${CLAUDE_PLUGIN_ROOT}/scripts/leo-add-rule.py` when the plugin is installed, else `.agents/plugins/leo/scripts/leo-add-rule.py` (the vendored copy in this repo).
- Pick the target. List the skills (
ls ${CLAUDE_PLUGIN_ROOT}/skills, or.agents/plugins/leo/skillsand `.agents/sk
Alternatives in Git
- Openclaude — Open Claude Is Open-source coding-agent CLI for OpenAI, Gemini, DeepSeek, Ollama, Codex, GitHub Models, and 20 22.5k ★
- OSS PR — Commit + PR workflow for open source contributions: auto-creates a user-prefixed branch when on main/master, t 19.7k ★
- Claude.md Template For Users — Attribution: Behavioral patterns adapted from obra/superpowers by Jesse Vincent (@obra), MIT License 6.8k ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Leo Apply PR Comments
Gather a PR's review comments and replies, turn each new one into a rule with /leo-add-rule, then apply them t
Leo PR Body Check
Lint a PR body (number or file path) before create/edit — parent tracker issue keys, attribution, base, draft
Worktree Add
Add a new git worktree from branch name or issue URL, copy settings, install deps, and open in current IDE
Pvc Git Commit Message Local
Claude Code skill that writes a git commit message in the PVC format (vX.Y.Z headline plus one bullet per real
Plugin Dev Guard
Stops Claude from editing the installed copy of a plugin, where the next update would wipe the change, and poi
Claude Skills Dir
Searchable directory of 560+ Claude Code skills (SKILL.md) with copy-paste install commands, categories, side-
Related Agents
Poster Builder
Use to IMPLEMENT one finalized poster PLAN whose open decisions are all resolved: Canva route (copy the design
Framework PR Reviewer
Read-only review of the local diff against ClaudeAutoPM's repo-specific invariants (packages/ source of truth,
Iron Verifier
Independently exercise acceptance on a real surface after review. Pin an exact commit or captured local snapsh