askit-build-command
Creates and improves Claude slash commands (commands/<name>.md) that map to a skill, to the Advanced Skill Library Standard. Use when you need to give a skill an explicit /command entry point or raise an existing command's conformance.
- License 许可
- Apache-2.0
- 最近更新
- 2026-11-14
- Stars
- ★ 3
- Forks
- 0
01 前言 Front Matter
- name
- askit-build-command
- metadata
- { "tier": "universal", "version": "0.1.0", "audience": "intermediate" }
- description
- Creates and improves Claude slash commands (commands/<name>.md) that map to a skill, to the Advanced Skill Library Standard. Use when you need to give a skill an explicit /command entry point or raise an existing command's conformance.
02 资源文件 3
- 参考文档examples/golden-1-command-maps-to.md4.7 KB
- 参考文档README.md590 B
- 参考文档references/authoring-commands.md1.4 KB
03 SKILL.md 正文
askit-build-command
Purpose
Author conformant commands. Two modes: create scaffolds a new commands/<name>.md that maps to an existing skill; improve raises an existing command toward the quality bar. On Codex a command is realized as its backing skill (Standard sec 3.2 parity), so this skill emits no Codex artifact. Follows the shared builder pattern. Authoring depth is in references/authoring-commands.md.
When to use
When the user asks to create, scaffold, or improve a slash command for a skill.
create mode
- Brief interview: the command name (kebab-case, becomes
/name), the skill (or workflow) it maps to, optional args, and a description: the LABEL a caller sees beside the slash command, stating what invoking it does. It is not a trigger surface, so do not ask for use-when phrasing (Standard sec 3.2). Skip if provided in context. - Copy
templates/command.mdintocommands/<name>.md. - Fill the frontmatter:
description(the caller-facing label: what invoking it does, non-empty; Standard sec 3.2 - NOT the sec 8.1 skill bar, which does not apply to commands);maps-toequal to the backing skill or workflow name; optionalargument-hint/allowed-tools/model;metadata.version. The filename is the command name (nonamekey). Write a body that invokes the backing skill, passing$ARGUMENTS. - Verify the
maps-totarget exists (a skill inskills/or a workflow in_workflows/). - Register the command in
library.jsoncomponents.commandsas{ name, path, version, tier, status }. - Assess with
node scripts/evaluate.mjs . --jsonand iterate until 0 errors (S3 components index + S7 command-contract must be clean).
improve mode
- Run
node scripts/evaluate.mjs . --jsonand read the report. - For each finding: an S3 error -> declare/undeclare the command in
components.commandsto match disk; an S7 error -> add the missingmaps-to, fix amaps-tothat does not resolve, or add a missingdescription. For any other finding, read its message and apply the fix it states. - Re-run evaluate to confirm.
Scope
Claude-native: a command is commands/<name>.md. Codex realizes a command as its backing skill (Standard sec 3.2), so there is no Codex artifact to generate; the backing skill is the invocable form on Codex. A command MUST map to exactly one skill or workflow.
04 同仓库更多 Skills
fx-demo
A fixture skill that exists so the re-derived manifest has a component list to compare. Use only from tests/unit/self-consistency.test.mjs.
fx-demo
A fixture skill that exists so the re-derived manifest has a component list to compare. Use only from tests/unit/self-consistency.test.mjs.
fx-demo
A fixture skill that exists so the re-derived manifest has a component list to compare. Use only from tests/unit/self-consistency.test.mjs.
sf-caller
Calls the worker subagent to do a thing. Use when delegating work to sf-worker.
sf-do-thing
Converts CSV input into a formatted summary. Use when the user asks to summarize or tabulate spreadsheet data.
root-skill-plugin
Summarizes a changelog section into one release-note sentence. Use when the user asks to condense a list of changelog bullets into a single announcement line.