ai-workflow
CLAUDE.md9 starsChanged 8 months agoMITView on GitHub
These rules apply only when working inside the ai-workflow repo. The global Claude defaults live at dotfiles/CLAUDE.md (symlinked to ~/.claude/CLAUDE.md by install.sh) and apply to every project. This repo is the source of truth for everything installed under ~/.claude/: Any change to a skill, workflow, convention, or installer must update the relevant docs in the same change. Docs are not a follow-up. They are part of the change. When you change something in this list (left), update the docs on…
In this repository20 other files it gives its agents.
- dotfiles/CLAUDE.mdCLAUDE.md
- adrSkill
- architectureSkill
- autopilotSkill
- commitSkill
- designSkill
- factorySkill
- featureSkill
- fixSkill
- issuesSkill
- new-projectSkill
- prdSkill
- prSkill
- reviewSkill
- rfcSkill
- roadmapSkill
- securitySkill
- specSkill
- tddSkill
- verify-designSkill
The file
We split this CLAUDE.md into the rules it gives an agent
6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
3
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 25
When you change something in this list (left), update the docs on the right in the same commit/PR:
- Distinctive: line 35
If you're not sure whether a change is doc-relevant, it is.
- Very specific: line 54
After editing a skill: in any project, invoke the slash command (e.g., /factory --dry-run) — Claude reads from …
- Very specific: line 55
After editing install.sh or uninstall.sh: run them in a throwaway shell and verify the symlinks land where expected.
- Very specific: line 56
After editing adapters: re-run the matching aiwf install-codex / aiwf install-cursor and check the generated output.
- Distinctive: line 60
If a change touches multiple skills or shifts a convention, surface the plan before editing — don't make wide changes in one shot without …
≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
ai-workflow — Project-Specific Instructions
These rules apply only when working inside the ai-workflow repo. The global Claude defaults live at dotfiles/CLAUDE.md (symlinked to ~/.claude/CLAUDE.md by install.sh) and apply to every project.
Repo layout
This repo is the source of truth for everything installed under ~/.claude/:
dotfiles/CLAUDE.md— global defaults, symlinked to~/.claude/CLAUDE.mdCLAUDE.md(this file) — project-specific rules, loaded only whencwdis this reposkills/<name>/SKILL.md— slash-command skills, symlinked into~/.claude/skills/agents/,commands/,reviews/,settings.json— symlinked similarly viainstall.shadapters/codex/,adapters/cursor/— compile the skills + global CLAUDE.md into formats those tools understandextras/— opt-in personal skills, only installed via./install.sh --extra
Editing rules
- Edit the source in this repo, never the symlink in
~/.claude/. Edits to~/.claude/<thing>will either be lost on the nextinstall.shrun or break the symlink. If you find yourself reading from~/.claude/...to make a change, stop and re-open the matching file in this repo. - Re-run
install.shafter adding, removing, or renaming any skill, agent, or command. Editing existing files in place is fine — symlinks already point at them. Only the directory shape changes need a re-link.
Docs are part of the change — never ship a behavior change without doc updates
Any change to a skill, workflow, convention, or installer must update the relevant docs in the same change. Docs are not a follow-up. They are part of the change.
When you change something in this list (left), update the docs on the right in the same commit/PR:
| Change | Update |
| Skill behavior, args, or removal/rename | skills/<name>/SKILL.md (the source), docs/REFERENCE.md skill section, README.md Skills table + tree, CHANGELOG.md |
| Workflow convention (trunk rules, commit style, etc.) | dotfiles/CLAUDE.md, docs/WORKFLOW.md, docs/TRUNK_BASED_WORKFLOW.md, CHANGELOG.md |
| Adding/removing a skill | install.sh, uninstall.sh, README.md "Available skills" list, dotfiles/CLAUDE.md "Toolkit" section, adapters (codex/cursor), CHANGELOG.md |
| Installer or symlink layout | install.sh, uninstall.sh, adapters, README.md install section, docs/REFERENCE.md layout section, CHANGELOG.md |
| New or repurposed top-level convention file | README.md repo-tree section, docs/REFERENCE.md layout section |
If you're not sure whether a change is doc-relevant, it is. Default to updating docs. The cost of a stale doc is much higher than the cost of a one-line CHANGELOG entry.
Versioning + releases
- Version lives in
CHANGELOG.mdonly — nopackage.json,VERSIONfile, or other source of truth. - Bump via SemVer:
- patch (
0.x.y→0.x.y+1) — doc-only, typo, or internal cleanup with no behavior change - minor (
0.x.y→0.x+1.0) — new skill, new flag, repositioned skill, new convention, anything users can observe - major (
0.x.y→1.0.0) — breaking removal/rename of a skill, flag, or convention users may depend on
- patch (
- On bump: rename
[Unreleased]→[<version>] - <YYYY-MM-DD>, leave a fresh empty[Unreleased]above it, commit, tagv<version>, push tag.
Commit + PR style for this repo
- Conventional commits per global rule (
feat:,fix:,refactor:,chore:,docs:,test:,security:). - Skill changes:
feat(skill-name): ...orfix(skill-name): .... Doc-only:docs: .... - Splitting commits by concern is especially important here because skill, doc, installer, and adapter edits often land together — keep each commit independently revertible.
Testing changes locally
- After editing a skill: in any project, invoke the slash command (e.g.,
/factory --dry-run) — Claude reads from~/.claude/skills/<name>/SKILL.md, which is the symlink to your edit. - After editing
install.shoruninstall.sh: run them in a throwaway shell and verify the symlinks land where expected. - After editing adapters: re-run the matching
aiwf install-codex/aiwf install-cursorand check the generated output.
When in doubt, ask
If a change touches multiple skills or shifts a convention, surface the plan before editing — don't make wide changes in one shot without confirmation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

