Show, validate, explain, compare, export, or manage a Story-owned architecture intent for the deterministic FINOS CALM projection.
Install
npx skillscat add ashokraj2011/singularityflow/sflow-architecture Install via the SkillsCat registry.
SKILL.md
Inspect generated architecture
Output contract: Collect every required choice explicitly; never infer or preselect; preserve errors, 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: no Story required; cwd=opened Git root or verified repositoryPath from singularity-flow workspace current --json; refuse if neither resolves; never search $HOME/parents.
- Run
singularity-flow workspace current --json; use verifiedrepositoryPathas cwd. - For a base overview run
singularity-flow architecture show. For one element runsingularity-flow architecture explain <ELEMENT-ID>orsingularity-flow architecture sources <ELEMENT-ID>. - Use
--work-id <ID> --plannedonly for an explicitly requested approved Story overlay. - Use
singularity-flow architecture validateorsingularity-flow architecture doctorfor read-only diagnosis. - Export only to an explicitly supplied repository-relative destination. Run
singularity-flow architecture export --format calm --out <FILE>as preflight, show destination, digest and effects, then ask for confirmation. Only then rerun with its--confirm <SHA256>. - When the user explicitly asks to create an architecture intent, require an exact Work ID and repository-relative candidate file, show the exact mutation, then run
singularity-flow architecture intent init --work-id <ID> --from <FILE>. The candidate must name the active owner phase and may omitgeneration; omission means the owner's next publication (P+1). Report whether the draft was created or already identical. Do not hand-edit the managed intent. - When the user explicitly asks to revise an existing intent, first show its current digest, require the exact
--expect-intent sha256:<DIGEST>value and a repository-relative candidate file, then runsingularity-flow architecture intent revise --work-id <ID> --from <FILE> --expect-intent sha256:<DIGEST>. Revision is a compare-and-swap under the Story lock and cannot change the owner phase or generation. On conflict, re-read and ask the user to review the newer intent; never retry with a substituted digest. - For explicit verification, run
singularity-flow architecture intent verify --work-id <ID>. On dirty-source refusal, stop without capture. Append--candidate-snapshot sha256:<DIGEST>only when the user supplied the exact reviewed current Candidate; never substitute an older one. ForWMC_INTENT_REPORT_MISMATCH, preserve the report, repair the named input, rerun verification, and review the replacement before retrying the gate. - Init/revise creates only an unapproved draft. Governed order is owner-phase publish, submit, approve; enforcement consumes only that publication-bound approval.
- Never edit
singularity/world-model/projections/arch.calm.json, its source map, a planned projection, a managed architecture intent, or a receipt. Direct the user to the exact source returned bysingularity-flow architecture explain. - Never call a model, approve an intent, publish or submit a Story phase, or execute a returned lifecycle action.