Skip to content

chore(.claude): Migrate to skills/agents/commands three-tier architecture#105

Merged
eyelock merged 1 commit into
mainfrom
modernize-claude
Apr 12, 2026
Merged

chore(.claude): Migrate to skills/agents/commands three-tier architecture#105
eyelock merged 1 commit into
mainfrom
modernize-claude

Conversation

@eyelock
Copy link
Copy Markdown
Owner

@eyelock eyelock commented Apr 12, 2026

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-start
  • code-style — Swift 6 concurrency, error handling, memory management, UI components, testing
  • logging-rules — app-wide logging privacy boundaries (elevated from TermQ-tmux-panels)
  • localization-procedures — translation workflows, language codes, file paths
  • commit-conventions — branch naming, commit format, PR template, merge rules
  • release — stable, beta, and hotfix release procedures

5 Agents in .claude/agents/ (thin orchestrators, delegate knowledge to skills):

  • termq-explorer — haiku, read-only, proactive codebase search
  • logging-auditor — haiku, read-only, proactive logging privacy compliance
  • swift-reviewer — sonnet, proactive after code changes + /verify
  • localizer — sonnet, all localization tasks
  • releaser — sonnet, all release types

7 slim Commands in .claude/commands/ (LLM scripts, invoke agents/skills):

  • /prepare, /verify, /commit, /localization, /release, /release-beta, /release-hotfix

Dissolved into the skill/agent layer:
init.md, implementation-prepare.md, implementation-checks.md, commit-pr.md, code-style.md, claude-audit.md

Updated .gitignore to track .claude/agents/ and .claude/skills/.

Testing

  • Skills appear in Skill tool list on session start
  • Agents respond correctly when invoked by name
  • /verify triggers swift-reviewer proactively
  • /localization status invokes localizer correctly
  • /release invokes releaser correctly

🤖 Generated with Claude Code

…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>
@eyelock eyelock merged commit 0c8b900 into main Apr 12, 2026
7 checks passed
@eyelock eyelock deleted the modernize-claude branch April 12, 2026 09:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant