cli-forge-intake
cli-forge Intake
Use this stage when the current request needs routing or when you want to resume the cli-forge workflow from the earliest safe phase.
Stage Goal
Finish this stage with:
- the work classified as
description,scaffold,extend,validate, orpublish - publish-intent requests narrowed to the correct child skill:
cli-forge-publishfor repo-native release work orcli-forge-publish-npmfor optional npm publication - the required user inputs identified and, when available, assembled
- the shared constraints loaded from the planning brief and the relevant instruction document
- an explicit handoff to the next stage skill
Canonical References
./planning-brief.md./instructions/new.md./instructions/add-feature.md./instructions/validate.md../cli-forge-publish/SKILL.md../cli-forge-publish/planning-brief.md../cli-forge-publish/instructions/release/skill-release-runbook.md../cli-forge-publish-npm/SKILL.md../cli-forge-publish-npm/planning-brief.md../cli-forge-publish-npm/instructions/release/npm-publish-runbook.md../cli-forge-publish/templates/README.md
When To Use This Stage
- The user asks for cli-forge help in a high-level way and the correct phase is not obvious yet.
- The user wants to create a new project but has not clearly supplied a valid skill name.
- The user wants to create a new project and the generated skill's description contract has not been approved yet.
- The user wants to add
streamorrepl, but the project path or feature is still unclear. - The user wants to update an existing generated skill's purpose, positioning, or other user-facing contract.
- The user wants validation, but the target project path still needs to be resolved.
- The user wants to publish, do a release dry run, rehearse the destination mirror, check destination configuration, adopt the release automation asset pack into a target CLI skill project, or publish the shipped CLI command to npm.
Required Inputs By Outcome
description: the classified intent, generated skill scope, and the next stage that will consume the approved description contractscaffold:skill_name, plus optionalauthor,version, andrust_editionextend:project_pathandfeaturewherefeatureisstreamorreplvalidate:project_pathpublish: release mode (report_only,dry_run,rehearsal, orlive_release), requested publication channel (repo_native,npm, orboth), explicit target-repository context, current validation status, and any required destination configuration, npm package-set context, or credential context
Workflow
- Read the user request and classify the intent as
description,scaffold,extend,validate, orpublish. - Load
./planning-brief.mdbefore choosing a downstream phase so the runtime contract and compliance posture stay in scope. - Open the matching local instruction document for the likely next stage and use it as the detailed source of truth.
- Confirm the required inputs for that path:
- For
description, verify the work creates a new generated skill or changes the generated skill's user-facing contract. - For
scaffold, verify the name is present, the approved description contract exists, and the work is intended to become a Rust CLI Skill project. - For
extend, verify bothproject_pathandfeature. - For
validate, verifyproject_path. - For
publish, determine whether the requested channel isrepo_native,npm, orboth. Load../cli-forge-publish/planning-brief.mdfor repo-native work and../cli-forge-publish-npm/planning-brief.mdfor npm work, verify whether the user wants readiness review, dry-run, or live side effects, and whether the work should start with validation or can proceed directly to the matching publish child skill.
- For
- Inspect the filesystem when it helps disambiguate the stage:
- missing target directory usually means
descriptionfollowed byscaffold - existing scaffolded project plus feature request means
extend - existing generated skill plus description-impacting request means
descriptionfollowed byextendorvalidate - explicit audit or post-change verification means
validate - release, repo-native dry-run, rehearsal, destination-config work, or
final post-validation closure means
publish - npm publication, npm package-set review, or combined repo-native plus npm
distribution still begins as
publish, but the downstream child skill must be selected explicitly
- missing target directory usually means
- Route to the next stage skill and carry forward the resolved inputs.
Classification Examples
- Create request with no project directory yet -> route to
description. - Existing generated skill plus purpose/positioning change -> route to
description. - Existing scaffolded project plus
streamorreplrequest -> route toextend. - Audit or post-change verification request -> route to
validate. - Successful validation with no explicit release action -> route to
publishinreport_onlymode. - Publish the shipped CLI to npm -> route to
publish-npmafter confirming validation status and target-repository context. - Mixed implementation and release request with unresolved project state ->
return to the earliest incomplete stage instead of skipping ahead to
publish.
Done Condition
This stage is complete only when one downstream phase is clearly selected and the next stage has the inputs it needs.
Next Step
- Route to
../cli-forge-description/SKILL.mdwhenever the description contract must be created or refreshed. - Route to
../cli-forge-scaffold/SKILL.mdfor new project creation afterdescription. - Route to
../cli-forge-extend/SKILL.mdforstreamorreplwork. - Route to
../cli-forge-validate/SKILL.mdfor compliance checking. - Route to
../cli-forge-publish/SKILL.mdfor repo-native release, dry-run, rehearsal, or destination-config work. - Route to
../cli-forge-publish-npm/SKILL.mdfor optional npm publication of the shipped CLI command.
More from bytelandtechnology/cli-forge
cli-forge
Router for the cli-forge skill family: classify the request, detect missing contract baselines, check filesystem state, and route to the earliest incomplete or takeover stage.
33cli-forge-extend
Extend stage for the cli-forge skill family: add stream or repl features to an existing scaffolded skill project or to a takeover-adopted project that already matches the scaffold-compatible layout.
33cli-forge-scaffold
Scaffold stage for the cli-forge skill family: create a new Rust CLI Skill project from the authoritative templates and prepare it for validation.
33cli-forge-publish
Publish stage for the cli-forge skill family: manage the GitHub Release and multi-package npm publication automation for a generated skill.
33cli-forge-validate
Validate stage for the cli-forge skill family: run the 47-check compliance ruleset against a scaffolded, takeover-adopted, or extended skill project and compare any daemon surface against the declared CLI plan.
33cli-forge-design
Design stage for the cli-forge skill family: define or refresh the generated skill's high-level identity, purpose, positioning, and description contract before downstream stages proceed.
22