Install
npx skillscat add ashokraj2011/singularityflow/sflow-capability-map Install via the SkillsCat registry.
Map a capability or onboard a team
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 or repository required; use only the selected lead URL. Resolve local checks with singularity-flow workspace current --json; never search $HOME.
One capability
Ask for the credential-free Git URL; preview
singularity-flow capability onboard <GIT-URL> --dry-run --json. Relay effects and preservation. Run the returned--confirm-plancommand once only after confirmation.On
configuration-review-required, inspectsingularity-flow capability setup-proposal <SETUP-BRANCH> --lead <GIT-URL> --json; activate only after approval. Ask separately before--acknowledge-unprotected. Stop on other refusals.Diagnose with
singularity-flow capability inspect-repository <GIT-URL> --json. An unreachable repository is not new.On explicit mapping request, ask for ID, name, kind, parent, and scope. Confirm:
singularity-flow capability map <ID> --lead <LEAD-URL> --kind <KIND> --jsonFor
delivery, add--repository <GIT-URL>;collectionomits it.Show
singularity-flow capability proposal <REVIEW-BRANCH> --lead <LEAD-URL> --json. After approval runsingularity-flow capability activate <REVIEW-BRANCH> --lead <LEAD-URL> --confirm <FULL-PROPOSAL-COMMIT> --json; ask separately before--acknowledge-unprotected.singularity-flow capability publishrepairs projection only.On conflict, preview
singularity-flow capability rebase-proposal <REVIEW-BRANCH> --lead <LEAD-URL> --json. Consent separately to its exact confirmation command. Review before activation; never auto-activate.
Cancel or replace a pending mapping
- List
singularity-flow capability proposals --lead <LEAD-URL> --json; identify the exact branch and full commit. Never guess from an ID, URL, or prefix. Setup and team proposals are separate. - For explicit cancellation, explain remote review-branch deletion and approved-map preservation. Run
singularity-flow capability cancel-proposal <REVIEW-BRANCH> --lead <LEAD-URL> --confirm <FULL-COMMIT> --reason <REASON> --jsononce. Stop on moved, merged, missing, or unverifiable refs; never force-delete or clear uncertain receipts. - For an exact same-capability replacement, add
--supersede-branch <REVIEW-BRANCH> --supersede-commit <FULL-COMMIT>to the fullsingularity-flow capability mapcommand. Deletion and creation must be atomic. If the old outcome is uncertain, inspect first; never cancel unrelated refs.
Team onboarding
Select at most 20 repositories. Inspect selected repos individually; label Will add, Will link, Needs a choice, or Left out. Set problems aside.
Show the proposed tree and command before mutation:
singularity-flow capability map-team <TEAM-ID> --lead <LEAD-URL> --name <TEAM-NAME> --member <CHILD-ID>=<GIT-URL> --jsonRun once after confirmation for one atomic proposal.
Stop for explicit approval. Offer
/sf-workspace; do not invoke it.