command-bus
Use when creating, reviewing, or changing a repository command bus and its named targets.
- License 许可
- MIT
- 最近更新
- 2026-10-08
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- command-bus
- license
- MIT
- metadata
- { "owner": "Harley Bartles", "status": "active", "source-id": "command-bus", "source-path": "skills/command-bus/SKILL.md", "provenance-name": "Command Bus first-party skill", "source-category": "first_party" }
- description
- Use when creating, reviewing, or changing a repository command bus and its named targets.
02 资源文件 7
- 脚本assets/tools/run.py6.8 KB
- 脚本assets/tools/targets/apply_change.py711 B
- 脚本assets/tools/targets/check_status.py707 B
- 脚本assets/tools/targets/preview_change.py694 B
- 参考文档references/standard.md3.6 KB
- 脚本tests/assets/test_command_bus.py6.7 KB
- 参考文档tests/evaluator-only/adoption-scenarios.md3.0 KB
03 SKILL.md 正文
Command Bus
For explicit adoption or assessment, inspect the repository's pinned subscription and certification through repo-standards, then follow the command bus definition. Ambient availability does not adopt the standard.
A command bus is a repository-owned CLI under tools/ that presents named targets. The repository chooses its implementation language and owns the bus and its targets. Python is a practical portable choice, not a requirement. The optional AOM bus implementation can bootstrap the repository bus; adoption does not automatically install it or register targets. Other standards may offer optional modules for deployment into a repository that has adopted a bus.
Each target supports --help and the --check and --apply modes that make sense for that target. The CLI itself supports --help. --check may run tests and builds that create disposable outputs, but it must preserve maintained repository files. --apply owns formatting, normalization, generation, and other maintained-file changes. A mutating target may support --dry-run when it can report the planned state. Define one consistent no-mode behavior for the bus and every target; do not let targets silently choose different defaults. Preserve target output and exit status, and reject unsupported or conflicting modes clearly.
The optional Python starter and its sample target can bootstrap a repository bus. The other sample targets demonstrate apply and dry-run behavior. Copy and adapt selected files under the repository's tools/ directory as an explicit agent task. The starter's TARGETS mapping is only that implementation's local registry; a conforming repository can use any language, filename, target model, or CLI integration that meets the standard.
Multi-target orchestration and ordering are optional repository choices, not universal requirements. Use the repository's own policy for target discovery, dependency ordering, and failure behavior. If the repository has an older v1 pin, follow that definition until an explicit upgrade.
04 同仓库更多 Skills
writing
Use when drafting, revising, or reviewing prose for human readers and clarity, an authorised voice, or reader-fatigue concerns may interact.
writing-with-clarity
Use when drafting, revising, or reviewing prose intended for human readers, including documentation, README files, reports, explanations, UI copy, errors, comments, commit messages, and pull request text.
writing-style
Use when revising or reviewing human-facing prose against an authorised voice card or a contextual reader-fatigue profile.
skill
暂无简介
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment.
writing-roadmaps
Use when a goal is too large for one writing-plans plan and requires a sequenced roadmap of consecutive plans.