Install
npx skillscat add ashokraj2011/singularityflow/sflow-next Install via the SkillsCat registry.
SKILL.md
Execute the next workflow action
Output contract: Let the CLI validate and mutate state; preserve its exact result, warnings, publication status, artifacts, and next actions. 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.
- First run
singularity-flow session current --json; requireready/workIdand use its returnedrepositoryPathas cwd for every subsequent command. There runsingularity-flow nextsteps <WORK-ID> --json; refuseACTIVE_SUBJECT_MISMATCH. Use the shared repository model;singularity-flow wm ensureneeds explicit consent. Do not start it while waiting. Never derive--task. - Never run
singularity-flow next. Load one returned SFlow skill route (any/sf-*or/sflow-*route), use its configured producer/channel, complete its preflight, execute at most its one authorized action, and stop. Before approval runsingularity-flow phase show <phase> --json; validate authority, report the automatic phase agent, and require the exact phase name. Every recorded approval must produce its own commit and push. - Sole no-skill exception: when snapshot
state=publication_pendingand its firstNOWcommand equalssingularity-flow sync, show it and explain it retries only the retained commit. Runsingularity-flow sync <WORK-ID>once in the verified cwd, then stop; never followTHEN, invoke/sf-nextstepsor/sf-next, or retry. - Follow the selected skill; never rewrite it to
/sf-phase. If the selected action is/sf-code, do not imitate or inline it: reportNext in Copilot: /sf-codeand stop; preserve/sflow-codelikewise. The selected skill must run draft-check and correct every agent finding. Never publish a delegated action. - On failure run read-only
singularity-flow recover <WORK-ID> --phase <phase> --json. Never add--applywithout the reviewed plan and exact confirmation.ARTIFACT_AUTHORING_INCOMPLETEpermits one recheck and correction handoff, not a retry loop. - Run
singularity-flow phase show <phase> --json; show bounded previews, hash-bound references, and binary metadata. - Preserve sanitized
telemetry/<phase>-gen<N>.json; report resolved model and token/cost status, action, commit/push, authority, and agent. Separate Completed action from Next action; never claim the next action was taken. After mutation rerunsingularity-flow nextsteps <WORK-ID> --jsononce. Copy the firstNOWaction'scopilotCommandandcommandfrom that same action object and renderNext action (choose one surface):,Copilot: /sf-...,Shell: singularity-flow .... Never mix action fields:/sf-nextpairs withsingularity-flow next;/sf-phasepairs with returnedprepareorphasecommand. Never pair/sf-phasewithsingularity-flow next. Do not automatically submit a generation you just published. - After approval context
new, run/clearand then/sf-next; aftercompact, run/compactand then/sf-next. After either reset, reapply the Boundary before artifact reads.