developer-guidelines

Guidelines for the Developer role: strict adherence, no unsolicited refactoring, documentation, security.

16 stars

Best use case

developer-guidelines is best used when you need a repeatable AI agent workflow instead of a one-off prompt.

Guidelines for the Developer role: strict adherence, no unsolicited refactoring, documentation, security.

Teams using developer-guidelines should expect a more consistent output, faster repeated execution, less prompt rewriting.

When to use this skill

  • You want a reusable workflow that can be run more than once with consistent structure.

When not to use this skill

  • You only need a quick one-off answer and do not need a reusable workflow.
  • You cannot install or maintain the underlying files, dependencies, or repository context.

Installation

Claude Code / Cursor / Codex

$curl -o ~/.claude/skills/developer-guidelines/SKILL.md --create-dirs "https://raw.githubusercontent.com/diegosouzapw/awesome-omni-skill/main/skills/documentation/developer-guidelines/SKILL.md"

Manual Installation

  1. Download SKILL.md from GitHub
  2. Place it in .claude/skills/developer-guidelines/SKILL.md inside your project
  3. Restart your AI agent — it will auto-discover the skill

How developer-guidelines Compares

Feature / Agentdeveloper-guidelinesStandard Approach
Platform SupportNot specifiedLimited / Varies
Context Awareness High Baseline
Installation ComplexityUnknownN/A

Frequently Asked Questions

What does this skill do?

Guidelines for the Developer role: strict adherence, no unsolicited refactoring, documentation, security.

Where can I find the source code?

You can find the source code on GitHub using the link provided at the top of the page.

Related Guides

SKILL.md Source

# Developers Guidelines

## 0. Red Flags (Anti-Rationalization)
**STOP and READ THIS if you are thinking:**
- "This code is messy, I'll clean it up while I'm here" -> **WRONG**. You MUST change ONLY what the task requires.
- "I'll skip the test, it's a trivial change" -> **WRONG**. ALL changes require verification.
- "The reviewer didn't mention this, but I know better" -> **WRONG**. Fix ONLY what is requested in reviewer comments.
- "I don't need to update .AGENTS.md for such a small change" -> **WRONG**. Update `.AGENTS.md` for touched source scopes under memory tracking policy.

## 1. Strict Adherence
- **Follow Instructions:** Execute the task EXACTLY as described.
- **No Unsolicited Changes:** NEVER refactor code or add features not explicitly requested.
- **Scope Control:** LEAVE unrelated code unchanged, even if it looks "bad" (unless it blocks your task).

## 2. Input Handling
- **New Task:** Read strict task description, project description, and code.
- **Fixing Comments:** Read reviewer comments and fix ONLY what is requested.
- **Fixing Tests:** Analyze report, fix bugs, ensures tests pass.

## 3. Anti-Loop Protocol
- **Stop Condition:** If tests fail 2 times with the same error, STOP.
- **Analyze:** Do not blindly retry. Analyze the error log, propose hypotheses, and record in `open_questions.md`.

## 4. Documentation First
- **Update .AGENTS.md:** You are the Single Writer. Update existing `.AGENTS.md` in touched source scopes; create new ones only where project policy enables memory bootstrap.

## 5. Tooling Protocol
- **Prefer Native Tools:** ALWAYS use the IDE/agent's native tools (test runners, file operations, git integration) over raw shell commands.
- **Shell as Fallback:** Use shell commands ONLY when no native tool exists for the required operation.
- **Verify Availability:** Check which tools are available in the current environment before defaulting to shell.

## 6. Bug Fixing Protocol (Universal)
1.  **Reproduce First:** Never fix a bug without a failing test case that reproduces it.
2.  **Verify Fail:** Run the test to confirm it fails.
3.  **Fix:** Implement the fix.
4.  **Verify Pass:** Run the test to confirm it passes.
5.  **Regression:** Run the full suite to ensure no regressions.

## 7. Language Specific Guidelines
- **Dynamic Loading:** If you are working in a specific language, you MUST read the corresponding guideline file from `references/languages/` if it exists.
  - Go: `references/languages/golang.md`
  - Rust: `references/languages/rust.md`
  - Solidity: `references/languages/solidity.md`
  - Python: `references/languages/python.md`
  - JavaScript/TypeScript: `references/languages/javascript.md`
- **Application:** Apply the specific rules in addition to the core guidelines above.

## 8. Security Quick-Reference
- **Dynamic Loading:** If the codebase uses a specific framework, you MUST read the corresponding security quick-reference from `references/security/` if it exists.
  - Flask: `references/security/flask.md`
  - Django: `references/security/django.md`
  - FastAPI: `references/security/fastapi.md`
  - Express: `references/security/express.md`
  - Next.js: `references/security/nextjs.md` *(includes React-specific patterns; do NOT also load react.md)*
  - React (standalone, no Next.js): `references/security/react.md`
  - Vue.js: `references/security/vue.md`
  - jQuery: `references/security/jquery.md`
  - Vanilla JS/TS (frontend): `references/security/javascript-general.md`
  - Go (net/http, Gin, Chi, Echo, Fiber): `references/security/golang.md`
  - Solidity: `references/security/solidity.md`
  - Rust: `references/security/rust.md`
- **Loading Rule:** Load **one** framework-specific ref per file under review. Prefer the most specific match (e.g., Next.js over React, framework-specific over javascript-general).
- **Application:** Apply the LLM anti-patterns, grep patterns, and edge cases from the loaded reference to avoid common security mistakes during code generation and review.
- **Source:** Condensed from [OpenAI security-best-practices](https://github.com/openai/skills/tree/main/skills/.curated/security-best-practices) skill.

## 9. Rationalization Table

| Agent Excuse | Reality / Counter-Argument |
| :--- | :--- |
| "It's a small change, no tests needed" | ALL changes require verification. A one-line fix can break the entire system. |
| "This code is bad, I'll refactor it" | You are NOT the architect. Fix ONLY what the task requires. |
| "The reviewer missed this issue, I'll fix it too" | Fix ONLY what the reviewer explicitly requested. Open a separate issue for new findings. |
| "I don't need to read the language guidelines, I know the language" | Language guidelines contain project-specific rules. ALWAYS load them. |
| "The security reference is too long, I'll skip it" | Security references exist to prevent YOUR mistakes. ALWAYS load them. |

Related Skills

documentation-guidelines

16
from diegosouzapw/awesome-omni-skill

Write or update backend feature documentation that follows a repo's DOCUMENTATION_GUIDELINES.md (or equivalent) across any project. Use when asked to create/update module docs, API contracts, or backend documentation that must include architecture, endpoints, payloads, Mermaid diagrams, and seeding instructions.

artifact-guidelines

16
from diegosouzapw/awesome-omni-skill

Guidelines for writing reports, organizing files, and generating code artifacts

web-design-guidelines

16
from diegosouzapw/awesome-omni-skill

Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".

vercel-web-design-guidelines

16
from diegosouzapw/awesome-omni-skill

Reviews UI code for compliance with web interface best practices. Use when auditing accessibility, reviewing UI/UX patterns, checking performance, or improving web design quality. Triggers on "check my site", "audit design", "accessibility review", "UX best practices", or UI code review tasks. Covers 100+ rules for accessibility, performance, and user experience.

unity-developer

16
from diegosouzapw/awesome-omni-skill

Build Unity games with optimized C# scripts, efficient rendering, and proper asset management. Masters Unity 6 LTS, URP/HDRP pipelines, and cross-platform deployment. Handles gameplay systems, UI implementation, and platform optimization. Use PROACTIVELY for Unity performance issues, game mechanics, or cross-platform builds.

typescript-esm-utils-developer-maintainer

16
from diegosouzapw/awesome-omni-skill

skill for developing and maintaining TypeScript utility libraries transpiled to esm. Use this skill when working on TypeScript projects that involve creating reusable utility functions, managing library structure, testing, documentation, and build processes. This includes creating new utilities, refactoring existing code, setting up testing frameworks, configuring build tools, and ensuring type safety.

typescript-developer

16
from diegosouzapw/awesome-omni-skill

Use when developing applications or components using TypeScript, ensuring type safety and leveraging TypeScript features.

swift-human-guidelines

16
from diegosouzapw/awesome-omni-skill

Comprehensive Swift 6 and SwiftUI development guidelines for building iOS 26, iOS 18, iPadOS, macOS, watchOS, visionOS, and tvOS applications. Covers Foundation Models API, BGContinuedProcessingTask, Call Translation API, Liquid Glass design system, data-race safety, typed throws, synchronization primitives, SwiftUI/UIKit interoperability, zoom transitions, and document-based apps. Use when building new Apple platform apps, implementing Apple Intelligence features, optimizing performance with Swift 6 concurrency, following Apple Human Interface Guidelines, creating cross-platform applications, or working with iOS 26/18 APIs. Triggers on Swift code, SwiftUI views, Xcode projects, app architecture, background processing, translation features, Foundation Models, synchronization, actors, Sendable types, or modern Apple platform development.

standalone-developer-agent

16
from diegosouzapw/awesome-omni-skill

Expert developer in 24+ programming languages that generates production-ready code leveraging unique language features and idiomatic patterns.

skill-developer

16
from diegosouzapw/awesome-omni-skill

Create and manage Claude Code skills following Anthropic best practices. Use when creating new skills, modifying skill-rules.json, understanding trigger patterns, working with hooks, debugging skill activation, or implementing progressive disclosure. Covers skill structure, YAML frontmatter, trigger types (keywords, intent patterns, file paths, content patterns), enforcement levels (block, suggest, warn), hook mechanisms (UserPromptSubmit, PreToolUse), session tracking, and the 500-line rule.

senior-software-developer

16
from diegosouzapw/awesome-omni-skill

Provides production-quality patterns, standards, and language-specific best practices for Python, C#, Node.js, and TypeScript. Used as the implementation guideline within test-driven-development workflow, or directly for architecture decisions and complex refactoring. Not invoked directly for new feature implementation - use test-driven-development instead.

senior-frontend-developer-mindset

16
from diegosouzapw/awesome-omni-skill

Sets the mindset for a senior frontend developer concerning code quality, maintainability, and testing. This encourages developers to focus on creating clean, efficient, and well-tested code.