cli-agent-first
Use when choosing direct, subagent, or coding CLI execution.
- License 许可
- MIT
- 最近更新
- 2026-08-25
- Stars
- ★ 1
- Forks
- 0
01 前言 Front Matter
- name
- cli-agent-first
- author
- Merlin
- license
- MIT
- version
- 1.0.0
- metadata
- { "hermes": { "tags": [ "orchestration", "delegation", "cli-agents" ], "related_skills": [ "codex", "claude-code", "opencode", "cto-subagent-development", "writing-for-agents" ] } }
- platforms
- [ "linux", "macos", "windows" ]
- description
- Use when choosing direct, subagent, or coding CLI execution.
03 SKILL.md 正文
CLI agent first
Choose one owner for the next change. Hermes CTO keeps the outcome, architecture, boundaries, and acceptance.
Choose the owner
- Continue in the current session when it already owns the task and workspace.
- Use direct execution for a small bounded change.
- Use
cto-subagent-developmentfor independent read-only research or isolated work. - Use
codexfor connected implementation, security-sensitive work, or expensive failures. - Use
claude-codeoropencodewhen the user names that writer or its runtime is already configured. - Give each mutable worktree exactly one writer.
Done when one owner and one write boundary are explicit.
Write the order
Load writing-for-agents. Give the writer the outcome, repository, settled decisions, constraints, non-goals, allowed mutations, proof command, and required report. Do not delegate product or architecture choices that the CTO can settle first.
Done when a fresh writer can execute without conversation history.
Review and accept
Treat writer summaries as claims. Read the complete diff, run the named checks, inspect user-facing behavior, and repair every finding before acceptance. Use an independent reviewer for security, money, irreversible work, failed attempts, large diffs, or release paths.
Done when every acceptance criterion has direct evidence and no unresolved defect remains.
Pitfalls
- Two writers in one worktree.
- A prompt that omits repository ownership or external-action boundaries.
- Accepting a summary instead of the artifact.
- Naming a CLI or skill that is not installed.
04 同仓库更多 Skills
writing-for-agents
Use for delegate_task, Kanban, and all agent-facing text.
why
Use for 'why does X work this way', 'why we picked Y', design rationale, regressions, postmortems, or data-backed thresholds. Discovers available MCPs and queries each evidence category (source control, issue tracker, long-form docs, real-time chat, infrastructure observability, error tracking, product analytics warehouse) in parallel, then returns a cited read on decisions and tradeoffs. Use how for runtime behavior.
vue-best-practices
Use for Vue 3, .vue files, Vue Router, or Pinia. Skip when the repo has no Vue.
vercel-react-best-practices
React and Next.js performance optimization guidelines from Vercel Engineering. This skill should be used when writing, reviewing, or refactoring React/Next.js code to ensure optimal performance patterns. Triggers on tasks involving React components, Next.js pages, data fetching, bundle optimization, or performance improvements.
tailwind-v4
Use when writing or reviewing Tailwind CSS v4 classes or migrating v3 syntax.
react-best-practices
Mastra React subset only. Generic React or Next uses vercel-react-best-practices.