Add missing doc comments to the public functions, methods and classes the current code generation changed, without changing code.
Install
npx skillscat add ashokraj2011/singularityflow/sflow-code-docs Install via the SkillsCat registry.
SKILL.md
Document the code this generation changed
Output contract: Repair only the named local scope; report changes and remaining findings. Never publish, submit, or approve. 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.
- Use the Boundary result's
phase. Runsingularity-flow status --jsonand requirephases[<phase>].generationPolicy.task: code. Otherwise stop and route to/sf-code. - Run
singularity-flow phase draft-check <phase> --json. Readadvisories[](codecode.documentation.missing) anddocumentation. Ifdocumentation.statusiscompleteornot-applicable, report that and stop. - For each advisory, open
pathatlineand write one doc comment for that declaration in the language's convention: JSDoc/TSDoc above it for JavaScript/TypeScript, a docstring as the first statement of a Python body, Javadoc/KDoc/PHPDoc above it,///for C#, Rust and Swift,// Name …for Go,#lines for Ruby. Say what it does, its parameters and result, its errors, and anything a caller must know. Ground every statement in the code and approved Story evidence; never invent behaviour. - Change comments only: no code, signatures, formatting or tests, and no file outside the advisories.
@clause/@actags are traceability, not documentation; keep them and add prose beside them. - Recheck once with
singularity-flow phase draft-check <phase> --json, then stop. Advisories never block publication; one that remains is for a human to judge, not a reason to loop. - Never publish, submit or approve. Report the files and declarations documented and what remains, then show
Next in Copilot: /sf-codeandTerminal equivalent: singularity-flow phase prepublish <phase> --json.