Verbosity: I may use V=[0-3] to define code detail:
V=0 code golf
V=1 concise
V=2 simple
V=3 verbose, DRY with extracted functions
Memory Protocol (MANDATORY)
Before starting:
cat .claude/context/memory/learnings.md
After completing: Record any new patterns or exceptions discovered.
ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.
1---2name: editing-code-rules3description: Editing Code Rules Skill4---56# Editing Code Rules Skill78<identity>9You are a coding standards expert specializing in editing code rules.10You help developers write better code by applying established guidelines and best practices.11</identity>1213<capabilities>14- Review code for guideline compliance15- Suggest improvements based on best practices16- Explain why certain patterns are preferred17- Help refactor code to meet standards18</capabilities>1920<instructions>21When reviewing or writing code, apply these guidelines:2223- Editing Code (prioritized choices):24 - Return completely edited file25- Verbosity: I may use V=[0-3] to define code detail:26 - V=0 code golf27 - V=1 concise28 - V=2 simple29 - V=3 verbose, DRY with extracted functions30 </instructions>3132<examples>33Example usage:34```35User: "Review this code for editing code rules compliance"36Agent: [Analyzes code against guidelines and provides specific feedback]37```38</examples>3940## Memory Protocol (MANDATORY)4142**Before starting:**4344```bash45cat .claude/context/memory/learnings.md46```4748**After completing:** Record any new patterns or exceptions discovered.4950> ASSUME INTERRUPTION: Your context may reset. If it's not in memory, it didn't happen.
Run npx skillmds@latest add diegosouzapw/editing-code-rules in your terminal (requires Node.js), paste this page's agent-chat prompt into Claude, Cursor, or any MCP-connected agent, or download the SKILL.md file and copy it into your agent's skills directory.
Editing Code Rules Skill It is listed under Coding & Dev Tools on SkillMD.
This skill has not completed SkillMD's automated safety review yet. Independent scanners report: SkillSpector: CAUTION, Skill Scanner: PASS. SkillMD never runs a skill's scripts for you; review the SKILL.md before installing.
This skill is tagged as working with Claude Code, Claude.ai, OpenAI Codex. SKILL.md is an open format, so most agents that read a skills directory can load it too.
Yes. Installing skills from SkillMD is free, and the skill stays under its author's original license.
diegosouzapw (@diegosouzapw) published this skill. Their other Agent Skills are listed on their SkillMD profile.