Install
npx skillscat add ashokraj2011/singularityflow/sflow-plan Install via the SkillsCat registry.
SKILL.md
Plan — route toward an approved plan
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.
- Run
singularity-flow plan --json; read its checkpoint and kernel operations. - Relay
checkpoint.reasonand the orderednext[]; never invent an action. - If the checkpoint is
recovery, route it first; nothing else proceeds until the retained commit reaches its remote. - If the checkpoint is
approval, stop: only an authorized human Git identity approves. - At
model-generation, first require the firstNOWaction in the returnednext[]to besingularity-flow prepare planning, then run that exact returned command once and use its prepared artifact path. If the action differs, stop and relay the returned route; do not author against a seeded or stale draft. After successful preparation, author with the resolved agent, approved inputs, pinned template/constitution, and required world-model views. Runsingularity-flow wm compose --phase planningonce for itsActive supporting evidence; cite each document used asDOC-nnn — <name>. Deriveplan.mdfrom approved specification, citing clauses. InTest strategy, fill the planned-evidence table, one row per authoritative clause: fully qualified ID, backticked exact repository-relative paths (never directories, globs, modules or prose), Fulfillment and Observable result. For non-testable clauses usenot-applicable:with a reviewed explanation, never to hide unknowns. List each file the code must change that cannot carry a@clausetag (manifest, lockfile, CI config) under## Supporting filesas-path— reason. FillAgent briefwith approach, surfaces, sequence, proof, and risks.tasks.mdis advisory and never gates transition. - Before publication run
singularity-flow phase draft-check planning --json, thensingularity-flow phase prepublish planning --json. If unready, run read-onlysingularity-flow recover <WORK-ID> --phase planning --json; remain in this phase. Correct every structured agent finding now from governed evidence only whencorrection.sameTurn; otherwise route to its producer or human. Recheck at most three distinct changed fingerprints; stop on an unchanged fingerprint or a third still-unready change. Never delete markers blindly, invent facts or padding, invoke a nested model, or overwrite another producer. Publish only when prepublishstatusisready. A race-timeARTIFACT_AUTHORING_INCOMPLETEpermits one recheck and at most one publication retry if ready, never a loop. Never submit or approve. - Never present a milestone as reached unless the router says so.
- State the underlying operations you ran.
- Do not approve, reject, or advance a phase.
- For every returned next action, show its direct Copilot route first as
Next in Copilot: /sf-..., followed by the exactTerminal equivalent: singularity-flow .... Never omit or guess either route.