ai-workflow
CLAUDE.md9 starsChanged 18 days 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 two things: the wf Claude Code plugin, and the personal config files a plugin cannot carry. 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…
1 other project uses a version of this.
Adopted by
Most recently taken up by
- rafagomes/ai-workflowword for word, first seen Nov 11, 2026
Other versions1 project uses a version of this.
Word for word · 1
- rafagomes/ai-workflow★ 9100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository16 other files it gives its agents.
- dotfiles/CLAUDE.mdCLAUDE.md
- adrSkill
- architectureSkill
- autopilotSkill
- commitSkill
- designSkill
- featureSkill
- fixSkill
- issuesSkill
- new-projectSkill
- prdSkill
- prSkill
- roadmapSkill
- specSkill
- threat-modelSkill
- verify-designSkill
The file
We split this CLAUDE.md into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 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.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Distinctive: line 32
When you change something in this list (left), update the docs on the right in the same commit/PR:
- Distinctive: line 43
If you're not sure whether a change is doc-relevant, it is.
- Very specific: line 63
After editing a skill or the agent: start a session with the working tree loaded as the plugin — claude --plugin-dir .
- Very specific: line 65
After editing hooks/: bash tests/hooks_test.sh, and break the rule you changed to see a test fail.
- Very specific: line 66
After editing a manifest, or adding or renaming a skill: claude plugin validate ..
- Very specific: line 67
After editing install.sh or uninstall.sh: run them against a throwaway CLAUDE_DIR and verify the symlinks land where expected.
- Very specific: line 68
Before every push, run the CI checks locally (no secrets or network needed except for validate's CLI):
- Distinctive: line 79
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 28,633 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 two things: the wf Claude Code plugin, and the personal config files a plugin cannot carry.
.claude-plugin/plugin.json,.claude-plugin/marketplace.json— the plugin manifest and the marketplace that serves it.codex-plugin/plugin.json,.agents/plugins/marketplace.json— the same for Codex (noversioneither);skills/<name>/agents/openai.yamlis Codex's invocation policy, required for every skill that setsdisable-model-invocationskills/<name>/SKILL.md— the plugin's skills, invoked as/wf:<name>agents/reviewer.md— the plugin's reviewer agent (wf:reviewer)hooks/hooks.json,hooks/guard.sh— the plugin's guardrail hook (PreToolUse on Bash); tested bytests/hooks_test.shdotfiles/CLAUDE.md— global defaults, symlinked to~/.claude/CLAUDE.mdbyinstall.shsettings.json— your untracked settings, symlinked into~/.claude/byinstall.shCLAUDE.md(this file) — project-specific rules, loaded only whencwdis this repoextras/— opt-in personal skills, only installed via./install.sh --extratests/— CI checks that run offline:install_test.sh(installer and uninstaller, including--codex),hooks_test.sh,check_codex.py(Codex manifests, skill frontmatter,openai.yaml) andcheck_links.py(Markdown links and anchors).github/—workflows/ci.yml(free-only CI), issue templates and the PR templatedocs/— the trunk-based workflow guide and the skill-quality notes
Editing rules
- Edit the source in this repo, never an installed copy. The plugin is installed into Claude Code's plugin cache and the dotfiles are symlinks; an edit made under
~/.claude/is either lost on the next update or silently changes this repo. - Skills cross-reference each other by their namespaced name (
/wf:pr,wf:reviewer). Keep that form when adding a reference. - Run
claude plugin validate .after adding, removing, or renaming a skill or agent, or touching either manifest.
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), README.md Skills table + tree, CHANGELOG.md |
| Workflow convention (trunk rules, commit style, etc.) | dotfiles/CLAUDE.md, docs/TRUNK_BASED_WORKFLOW.md, CHANGELOG.md |
| Adding/removing a skill | README.md Skills tables, dotfiles/CLAUDE.md "Toolkit" section, .claude-plugin/marketplace.json description if the count changes, CHANGELOG.md |
| Plugin manifests (Claude or Codex), installer or symlink layout | install.sh, uninstall.sh, README.md install section + Codex section + tree, CHANGELOG.md |
CI or test change (tests/, .github/workflows/) | CONTRIBUTING.md CI section, CHANGELOG.md |
| New or repurposed top-level convention file | README.md repo-tree 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.plugin.jsondeliberately has noversion, so installed copies track the repository's commits. - 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 (
mainis branch-protected (PR required, CI required, linear history), so a release is a PR: openchore: release <version>renaming[Unreleased]→[<version>] - <YYYY-MM-DD>with a fresh empty[Unreleased]above it (CHANGELOG only: T0, review skipped), merge it, then tag the merge commitv<version>onmainand push the tag.
Commit + PR style for this repo
- Conventional commits per global rule (
feat:,fix:,refactor:,chore:,docs:,test:,perf:,build:,ci:,security:). - Skill changes:
feat(skill-name): ...orfix(skill-name): .... Doc-only:docs: .... - Splitting commits by concern is especially important here because skill, doc, and installer edits often land together — keep each commit independently revertible.
- The PR body follows the template in
.github/PULL_REQUEST_TEMPLATE.md, including## Risk(tier per the global Risk tiers). Text that instructs an agent (a skill, the agent, aCLAUDE.md) is never T0.
Testing changes locally
- After editing a skill or the agent: start a session with the working tree loaded as the plugin —
claude --plugin-dir .— and invoke it (e.g.,/wf:autopilot --dry-run). - After changing
/wf:commit,/wf:feature,/wf:fixor/wf:pr(or the structure of any skill with a case inevals/): run that skill's evals from a plain terminal (inside an agent session the eval child may have no usablegit, so git-based cases fail; seedocs/SKILL_QUALITY.md), e.g.claude plugin eval . --tag fix --scaffold --no-publish --allow-tools Bash Write Edit --max-cost-usd 5. Evals call a model on your own account, so they are local and opt-in and never run in CI; seedocs/SKILL_QUALITY.mdfor when to run them, how to read the result and how to add a case. - After editing
hooks/:bash tests/hooks_test.sh, and break the rule you changed to see a test fail. - After editing a manifest, or adding or renaming a skill:
claude plugin validate .. - After editing
install.shoruninstall.sh: run them against a throwawayCLAUDE_DIRand verify the symlinks land where expected. - Before every push, run the CI checks locally (no secrets or network needed except for
validate's CLI):claude plugin validate .git ls-files -z '*.sh' | xargs -0 shellcheckbash tests/install_test.shbash tests/hooks_test.shpython3 -I tests/check_codex.pypython3 -I tests/check_links.py
- Codex packaging can be loaded for real without a model call: with
CODEX_HOMEandHOMEpointed at a scratch dir,npx -y @openai/codex@0.167.1 plugin marketplace add "$PWD"thenplugin marketplace list. Never run a prompt against a model for this.
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.

