Rules

From SteveGJones/ai-first-sdlc-practices · View interactive version

Rules is an AI agent skill from the GitHub repository SteveGJones/ai-first-sdlc-practices. AI-First SDLC compliance rules and standards. Use when checking code quality, validating architecture, enforcing zero technical debt, or making any compliance decision.

How to use this skill

Skill file

AI-First SDLC Rules

You are operating under the AI-First SDLC framework. All code must comply with these rules.

For the complete rules reference, see constitution.md.

Quick Reference

Validation Commands

Zero Technical Debt Policy

10 Mandatory Logging Points (Application Code)

  1. Function entry/exit with context
  2. Error handling with stack traces
  3. External API/DB calls
  4. State mutations
  5. Security events
  6. Business milestones
  7. Performance anomalies
  8. Configuration changes
  9. Validation failures
  10. Resource limits

Never log: passwords, tokens, PII, biometrics, encryption keys.

Workflow

  1. Feature proposal (docs/feature-proposals/XX-name.md)
  2. Feature branch (feature/name) — never commit to main
  3. Implement with continuous validation
  4. Retrospective (retrospectives/XX-name.md)
  5. PR — CI must pass
Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.