pixiv-cli-code-commenting
Skill140 starsChanged 11 days agoMITView on GitHub
Write or review pixiv-cli package documentation and comments when contracts, invariants, workflow stages, or stale prose need attention. Use the coding handbook for the rules and preserve consumed directives.
In this repository13 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- pixiv-cli-ciSkill
- pixiv-cli-commit-messageSkill
- pixiv-cli-developSkill
- pixiv-cli-docsSkill
- pixiv-cli-mcp-toolSkill
- pixiv-cli-nativeSkill
- pixiv-cli-prSkill
- pixiv-cli-release-notesSkill
- pixiv-cli-reviewSkill
- pixiv-cli-testSkill
- pixiv-cliSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when a code change needs package documentation, API comments, field or concurrency explanations, meaningful workflow …
- Distinctive: line 12
Read Package documentation and comments, the affected owner, and the relevant callers.
- Distinctive: line 19
If a directive, doctest, generated description, or other consumed comment changed, inspect its consumer and run the relevant existing check.
- Distinctive: line 24
No claim exceeds verified behavior.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
pixiv-cli Code Commenting
Use this skill when a code change needs package documentation, API comments, field or concurrency explanations, meaningful workflow navigation, or a focused comment review.
Read before editing
Read Package documentation and comments, the affected owner, and the relevant callers. Use the test workflow when comment-like content is consumed by a test or tool; use the development workflow for authorized structural changes.
Editing workflow
- Identify the missing or inaccurate contract, intent, invariant, or navigation cue. Check its source in code and callers before documenting it.
- Choose the nearest useful location, make only the authorized comment change, and report any out-of-scope structural or behavior issue separately.
- Re-read the final comment against the code. Check its claims, language, stage order, symbol references, and protected directives.
- If a directive, doctest, generated description, or other consumed comment changed, inspect its consumer and run the relevant existing check. Ordinary prose edits need only the applicable documentation/diff checks.
Before handoff
- Each retained comment helps a caller understand a contract, reason, invariant, or workflow.
- No claim exceeds verified behavior; protected directives and generated provenance remain intact.
- Report relevant checks and any unresolved factual question. Self-explanatory code may remain uncommented.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

