Skill v1.0.1
currentAutomated scan100/100+3 new
name: sflow-capability-add description: Propose a narrower repository capability for one explicit directory. disable-model-invocation: true agent: agent argument-hint: "<ID> --owns <DIRECTORY>" metadata: version: "1.0.1"
Add a capability boundary
<!-- sflow-copilot-pause --> Before any boundary lookup or SFlow action, run singularity-flow pause status --json and follow its data.agentInstruction. If data.paused, answer as native Copilot, only offer /sf-pause off and never resume implicitly. This skill is already loaded; never call the skill tool for it. Unless paused, continue below in this turn.
<!-- sflow-output-contract: explicit-selection --> Output contract: Collect every required choice explicitly; never infer or preselect; preserve errors, artifacts, and next actions. Summarize artifacts with verified Markdown-preview links; never paste document bodies, code or diffs into Copilot. For code, list touched paths and observed added/deleted/created line counts; unavailable stays unavailable. Use existing evidence, not extra calls solely for display. Summaries, links and opened previews are not human review or approval. After a blank line, display each next action as three separate Markdown bullets, in order: "- Copilot: <copilotCommand>", "- Shell: <command>", "- VS Code (model-free): <modelFreeCommand>". Preserve exact returned routes; never combine them on one line or in a table. Missing Copilot: "no verified equivalent"; missing Shell or model-free: "not available for this action". Never invent routes or make further calls for formatting. <!-- sflow-execution-boundary --> 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. Use exact CLI-returned paths. repositoryPath is command cwd, not a prefix for absolute file paths. Never rebase paths or strip .git/worktrees. Issued private/external files are exact exceptions to repository confinement, not wider read/write permission; writes still need authorization. Resolve relative paths only against their declared base. On failure, preserve the path and error; never search or recreate it.
- Require a lower-case kebab-case ID and one repository-relative directory. Accept only a trailing
/**shorthand; never accept other glob syntax. - Run
singularity-flow capability show <DIRECTORY> --jsonand show the current owner. - After the contributor confirms the exact ID and directory, run once:
singularity-flow capability add <ID> --owns <DIRECTORY> [--name <TEXT>] [--team <TEXT>]... --json.
- Relay the review branch, commit, receipt, and activation command. Stop; do not review, merge, activate, or hand-edit the map.