chore(.claude): Migrate to skills/agents/commands three-tier architecture#105
Merged
Conversation
…ture Replaces the flat commands/ approach with a structured three-tier system: user-invocable commands that orchestrate specialist agents, pre-loaded with self-contained skill packages. Skills (.claude/skills/) — portable, self-contained domain knowledge: - termq-dev: project structure, module map, toolchain, worktrees, settings - quality-gate: the four checks that must pass before committing - code-style: Swift 6 concurrency, error handling, memory, UI components - logging-rules: app-wide logging privacy (elevated from TermQ-tmux-panels) - localization-procedures: translation workflows, language codes, file paths - commit-conventions: branch naming, commit format, PR template - release: stable, beta, and hotfix procedures Agents (.claude/agents/) — thin orchestrators with skills preloaded: - termq-explorer: haiku, read-only, proactive codebase search - reviewer: sonnet, proactive after code changes and /verify - logging-auditor: haiku, read-only, runs at /push before PR creation - localizer: sonnet, all localization tasks - releaser: sonnet, all release types Commands (.claude/commands/) — slim user-invocable LLM scripts: - /verify: invoke reviewer + localizer if UI changed - /commit: local commit using commit-conventions skill - /push: logging-auditor → push → PR → monitor CI → ask to merge - /localization, /release, /release-beta, /release-hotfix Dissolves into skill/agent layer: init.md, implementation-prepare.md, implementation-checks.md, commit-pr.md, code-style.md, claude-audit.md Updates .gitignore to track .claude/agents/ and .claude/skills/. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
4cb6424 to
e86a45b
Compare
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
Replaces the flat
.claude/commands/approach with a proper three-tier architecture: user-invocable commands that orchestrate specialist agents, which are pre-loaded with self-contained skill packages.Changes
6 Skills in
.claude/skills/(portable, self-contained, no external references):termq-dev— project context, module map, toolchain rules, worktrees, settings, session-startcode-style— Swift 6 concurrency, error handling, memory management, UI components, testinglogging-rules— app-wide logging privacy boundaries (elevated from TermQ-tmux-panels)localization-procedures— translation workflows, language codes, file pathscommit-conventions— branch naming, commit format, PR template, merge rulesrelease— stable, beta, and hotfix release procedures5 Agents in
.claude/agents/(thin orchestrators, delegate knowledge to skills):termq-explorer— haiku, read-only, proactive codebase searchlogging-auditor— haiku, read-only, proactive logging privacy complianceswift-reviewer— sonnet, proactive after code changes +/verifylocalizer— sonnet, all localization tasksreleaser— sonnet, all release types7 slim Commands in
.claude/commands/(LLM scripts, invoke agents/skills):/prepare,/verify,/commit,/localization,/release,/release-beta,/release-hotfixDissolved into the skill/agent layer:
init.md,implementation-prepare.md,implementation-checks.md,commit-pr.md,code-style.md,claude-audit.mdUpdated
.gitignoreto track.claude/agents/and.claude/skills/.Testing
/verifytriggers swift-reviewer proactively/localization statusinvokes localizer correctly/releaseinvokes releaser correctly🤖 Generated with Claude Code