What problem does it solve?
This Skill ensures that all code is accompanied by clear, plain-English comments, making it understandable for the project owner and future developers who do not read code.
Core Features & Use Cases
- Universal Commenting Standard: Enforces consistent commenting practices across all code files.
- Three Layers of Commentary: Guides developers on commenting at the file, section, and block levels.
- Debt and Shortcut Flagging: Provides clear methods (
// DEBT:, // HACK:, // TODO(next-agent):) to mark areas needing future attention.
- Preservationist Rules: Outlines principles for making changes with minimal impact and maintaining structural integrity.
- Red Flags Checklist: Helps identify and rectify common anti-patterns like excessive
any types or console.log statements.
- Use Case: When writing a new feature, use this skill to ensure every part of the new code is explained, making it easy for the project owner to review and understand without needing to dive into the code logic itself.
Quick Start
Apply the code commentary skill to document the newly written TypeScript file located at '/src/utils/helpers.ts'.