Repository navigation
chore(claude): make .claude the SSoT for rules & skills - #646
Merged
c-vigo merged 2 commits intoJun 23, 2026
Merged
Conversation
Move agent rules and skills from .cursor/ to .claude/ and delete the root .cursor/ directory: - Move the 30 skills to .claude/skills/ and rewrite the 29 .claude/commands/*.md wrappers to point at the new paths and .claude-located rules. - Split the 7 .cursor/rules/*.mdc: static principles (coding-principles, commit-messages, changelog, single-source-of-truth) are consolidated into CLAUDE.md; workflow rules (branch-naming, tdd, subagent-delegation) become on-demand .claude/skills/. - Port agent-models.toml and worktrees.json to .claude/. - Update path consumers: docs/generate.py scan path, the check-skill-names and generate-docs pre-commit hooks, the check-skill-names and derive-branch-summary shell entrypoints, scripts/manifest.toml, docs/SKILL_PIPELINE.md(.j2), docs/RELEASE_CYCLE.md, CLAUDE.md command table, CODEOWNERS, label-taxonomy.toml, and the vig-utils README/tests. The downstream assets/workspace/.cursor/ template is left for #629. Refs: #626
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Implements C1 (#626): make
.claude/the single source of truth for agent rules and skills, removing the.cursor/indirection..cursor/skills/*/SKILL.md(and theinception_explore/README.mdsibling) to.claude/skills/; rewrote the 29.claude/commands/*.mdwrappers to point at.claude/skills/...and.claude/-located rules..mdc): static principles (coding-principles,commit-messages,changelog,single-source-of-truth) consolidated intoCLAUDE.md; workflow rules (branch-naming,tdd,subagent-delegation) became on-demand.claude/skills/withdisable-model-invocation: true.agent-models.tomlandworktrees.jsonto.claude/.docs/generate.pyscan path + docstrings;.pre-commit-config.yaml(check-skill-namesentry/files,generate-docsfilesnow also fires on.claude/skills/**/SKILL.md— folds in [BUG] generate-docs pre-commit hook misses new skill directories #144);check-skill-names.shandderive-branch-summary.shdefaults;scripts/manifest.toml;docs/SKILL_PIPELINE.md(.j2);docs/RELEASE_CYCLE.md;CLAUDE.mdcommand table + rule pointers;.github/CODEOWNERS;.github/label-taxonomy.toml; vig-utilsREADME.mdand tests..cursor/.TDD
packages/vig-utils/tests/test_claude_ssot.pyasserts no tracked file (outsideassets/workspace/, archivaldocs/issues|pull-requests|plans/, and append-onlyCHANGELOG.md) references.cursor/skills/, and that root.cursor/is gone. Committed failing first (RED), then implementation (GREEN).Verification
pre-commit run --all-filesgreen.just docsregenerates cleanly; command table intact (33 rows); the 3 new workflow skills do not leak into the table..claude/skills/.../SKILL.md; no.cursor/path in any wrapper; root.cursor/deleted.Coordination notes
assets/workspace/.cursor/template is C4 — Migrate templates & editor glue off Cursor #629 (C4)'s scope and is intentionally left in place. The mandatorysync-manifestpre-commit hook now also propagates.claude/skills/+.claude/worktrees.jsonintoassets/workspace/.claude/; the staleassets/workspace/.cursor/tree is for C4 — Migrate templates & editor glue off Cursor #629 to remove.justfile.worktreerecipe bodies were not edited (C2/W2). The~/.cursor/cli-config.jsonreference inSKILL_PIPELINE.mdis the cursor-agent CLI runtime (C2 — Replacecursor-agentwith theclaudeCLI in worktree pipelines #627) and was left untouched.generate-docshook filter.Refs: #626