Install
npx skillscat add ashokraj2011/singularityflow/sflow-phase Install via the SkillsCat registry.
SKILL.md
Generate the active phase
Output contract: Use governed inputs and pinned clarification; publish/show configured artifacts. For suggested actions, pair Shell with the returned Copilot command; honor commandGuidance. If absent, say "Copilot: no verified equivalent"; never invent a slash command.
Boundary: singularity-flow session current --json → ready/workId, cwd=repositoryPath; use CLI/workItemRoot paths; never $HOME.
Stop on Out of sequence; never bypass a gate.
- Require
ready,phaseAgent,repositoryPath; runsingularity-flow phase show <phase> --json. Keep Story governed. IfpolicyVerifiedis false, showpolicyReason; stop. IfeffectiveAuthoringSkillis not/sf-phase, showNext in Copilot:with it andTerminal equivalent: singularity-flow prepare <phase>, or that a null route drafts nothing; stop. - Run
singularity-flow documents list. - Reuse the governed prompt or run
singularity-flow wm compose --phase <phase>once. Never infer--task; missing intelligence adds zero bytes. - Run
singularity-flow clarification status <phase> --json. Foroff, do not ask or record; continue. Forwhen-needed, ask and record only for material ambiguity; otherwise continue. Forrequired, useask_user, wait and record before preparation; if unavailable, display the questions and stop. Stage only{"responses":[...]}atgit rev-parse --git-path singularity-flow/clarification-responses/<phase>.json, never in Story context. Delete on success; never pass Markdown. - Run
singularity-flow story references verify --work-id <WORK-ID> --json; read returnedlocalPath. Run exactsingularity-flow prepare <phase>action. Stop on placeholders, templates, padding. - Preserve qualified
[WORK-ID:REQ-001]and[WORK-ID:AC-001]through conformance; plan paths./sf-codeputs@clause:WORK-ID:REQ-001in product source and@ac:WORK-ID:AC-001in executable tests. - Read
singularity-flow recover <WORK-ID> --phase <phase> --json; follow current-phase actions. Stop for human confirmation, protected config, or other producer. - Run
singularity-flow phase draft-check <phase> --json, thensingularity-flow phase prepublish <phase> --json. Correct every agent finding in this Copilot turn from approved evidence; recheck at most three changed fingerprints, stop on an unchanged fingerprint. Obeycorrection.class/sameTurn; route non-agent work to its owner. Never invent facts, add padding, delete markers blindly, invoke nested models or overwrite another producer. - Publish only when prepublish
statusisready, with configured producer/channel.ARTIFACT_AUTHORING_INCOMPLETE: recheck once; retry once if ready. Preserve sanitizedtelemetry/<phase>-gen<N>.json. Never submit/approve. - Run
singularity-flow phase show <phase> --json; report evidence, commit/push, model, cost, bounded preview and hash-bound references. When itshandoffstarts with/sf-review-source, runsingularity-flow review-source status <phase> --json; if required but notready, say Published generation — source review required. Otherwise say Published generation — ready to submit. next: Copilot/sf-…and Shellsingularity-flow …from eachhandoffentry'scopilotCommandandcommand. Never submit or approve here.
TRP: read and follow singularity-flow explain test-recovery; returned legal actions only.