Instructions management

From attilaszasz/sdd-pilot · View interactive version

Instructions management is an AI agent skill from the GitHub repository attilaszasz/sdd-pilot. Manages the project instructions — a document of non-negotiable project principles and governance rules. Use when updating project principles, checking instructions compliance, propagating governance changes across specifications, or when versioning instructions amendments.

How to use this skill

Skill file

Instructions Management Guide

What are the Project Instructions?

project-instructions.md contains non-negotiable project principles gating all downstream decisions. Highest authority in the SDD process.

Template Structure (v2)

The current template (v2) has these mandatory sections:

  1. ## Core Principles — 3–7 numbered non-negotiable principles with MUST/SHOULD rules and rationale
  2. ## Technology Stack — Language/Runtime, Frameworks, Storage, Infrastructure
  3. ## Testing & Quality Policy — Coverage Target, Required QC Categories, Test Strategy, Linting/Formatting. QC extracts enforcement rules from keywords in this section.
  4. ## Source Code Layout — Policy (ENFORCE_SRC_ROOT or PRESERVE_EXISTING_LAYOUT) and Convention
  5. ## Development Workflow — Branching, Commit Convention, CI Requirements
  6. ## Governance — Pre-filled defaults plus project-specific additions

Template version is tracked via <!-- template-version: 2 --> on the first line. Legacy templates (v1) lack structured sections and use [PRINCIPLE_N_NAME] placeholders.

Update Process

1. Load Current Project Instructions

2. Collect Values for Placeholders

3. Draft Updated Content

4. Consistency Propagation

After updating, check alignment in:

5. Sync Impact Report

Present to user:

6. Validation

Principles of Good Project Instructions Writing

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.