coding-guidelines

Enforce conservative, verifiable coding practices during LLM code implementation and review.

9|2|Updated Jan 29, 2026
One-click install
npx skills add https://github.com/aromanarguello/roman-skills --skill coding-guidelines-aromanarguello
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: coding-guidelines
Source: https://github.com/aromanarguello/roman-skills/tree/main/coding-guidelines
Command: npx skills add https://github.com/aromanarguello/roman-skills --skill coding-guidelines-aromanarguello

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill reduces mistakes when an LLM writes, edits, or reviews code by enforcing behavioral guardrails that prevent incorrect assumptions, overcomplex solutions, and inappropriate refactors.

Core Features & Use Cases

  • Think Before Coding: surface assumptions, present tradeoffs, and ask clarifying questions before implementing.
  • Simplicity First: prefer minimal code that directly solves the task and avoid speculative features or unnecessary abstractions.
  • Surgical Changes: make only request-traceable edits, avoid changing unrelated code, and remove only artifacts created by the change.
  • Goal-Driven Execution: define verifiable success criteria and iterate until those checks pass.
  • Use Cases: code reviews, bug fixes, refactors, and feature implementations where conservative, verifiable, and minimal edits are required.

Quick Start

Apply the coding-guidelines when asking the assistant to implement or modify code by first listing assumptions, proposing a concise plan, and defining verifiable success criteria.

Frequently Asked Questions about coding-guidelines

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I prevent common LLM coding mistakes during refactoring and code review?

To prevent common LLM coding mistakes, apply behavioral guardrails that enforce surfacing assumptions, favor minimal changes over speculative features, and require verifiable success criteria before committing changes.

Why does AI generated code include unnecessary abstractions and unrelated refactors?

AI generated code often includes unnecessary abstractions because LLMs lack inherent constraints against speculative features. Enforcing a simplicity-first guardrail ensures the model prefers minimal code that directly solves the task and avoids unrelated refactors.

What is the best way to ensure LLM code edits are verifiable and traceable?

The best way to ensure LLM code edits are verifiable is to define strict success criteria beforehand and enforce surgical changes. This means making only request-traceable edits and removing only artifacts created by the specific change.

How do I make an LLM ask clarifying questions before implementing code changes?

To make an LLM ask clarifying questions before implementing code changes, apply a think-before-coding guardrail that forces the model to surface assumptions, present tradeoffs, and propose a concise plan prior to any code modification.

Can I use coding guidelines for bug fixes where conservative edits are required?

Yes, you can use coding guidelines for bug fixes where conservative edits are required. They enforce goal-driven execution by defining verifiable success criteria and iterating until those checks pass without altering unrelated code.

When should I not use automated refactoring with an LLM?

You should not use automated refactoring with an LLM when a task lacks clear verifiable success criteria, as the model may introduce inappropriate refactors, incorrect assumptions, or overcomplex solutions instead of surgical changes.