askit-build-command
Reference: askit-build-command
Section titled “Reference: askit-build-command”Creates and improves Claude slash commands (commands/<name>.md) to the Standard.
Claude-native; no Codex artifact.
- create: brief interview (command name, backing skill or workflow, optional
argument hint, description) -> copy
templates/command.mdtocommands/<name>.md-> fill frontmatter (description,maps-to, optionalargument-hint/allowed-tools/model,metadata.version) -> write a body invoking the backing skill via$ARGUMENTS-> declare inlibrary.json components.commands-> runnode scripts/evaluate.mjs . --jsonto 0 errors (S3 + S7 must be clean). - improve: consume
node scripts/evaluate.mjs . --json-> resolve findings (S3 index drift, S7 missingmaps-to/unresolved target/empty description) -> re-evaluate to 0 errors. - Files touched:
commands/<name>.md(created or edited),library.json(components.commandsentry). - Codex parity: on Codex a command is realized as its backing skill (Standard
sec 3.2). The backing skill’s entry in
.codex-plugin/plugin.jsonis the Codex form. No Codex artifact is generated for the command itself andgen-manifest.mjsis not called for the command. - Authoring depth: see the skill’s
references/authoring-commands.md.
S7 command-contract errors
Section titled “S7 command-contract errors”S7 has three distinct failure modes, all errors:
- Missing description:
commands/<name>.mdhas nodescriptionor it is empty. Fix: add a non-emptydescriptionto the frontmatter (Standard sec 8.1). - Missing maps-to:
commands/<name>.mdhas nomaps-tokey or it is empty. Fix: addmaps-to: <skill-or-workflow-name>to the frontmatter. - Unresolved maps-to: the declared
maps-tovalue names no on-disk skill or workflow. Fix: correct the name to match an existingskills/<name>/SKILL.mdor_workflows/<name>.md, or create the missing component first.
S7 is conditional: it fires only when commands/ contains at least one command. A
plugin with no commands passes S7 automatically.
One-target rule
Section titled “One-target rule”A command MUST map to exactly one skill or workflow. There is no multi-target
maps-to; if a caller needs to route to different backing components, use separate
commands.