# GSD-STYLE.md > **Comprehensive reference.** Core rules auto-load from `.claude/rules/`. This document provides deep explanations and examples for when you need the full picture. This document explains how GSD is written so future Claude instances can contribute consistently. ## Core Philosophy GSD is a **meta-prompting system** where every file is both implementation and specification. Files teach Claude how to build software systematically. The system optimizes for: - **Solo developer + Claude workflow** (no enterprise patterns) - **Context engineering** (manage Claude's context window deliberately) - **Plans as prompts** (PLAN.md files are executable, not documents to transform) --- ## File Structure Conventions ### Slash Commands (`commands/gsd/*.md`) ```yaml --- name: gsd:command-name description: One-line description argument-hint: "" or "[optional]" allowed-tools: [Read, Write, Bash, Glob, Grep, AskUserQuestion] --- ``` **Section order:** 1. `` — What/why/when (always present) 2. `` — @-references to workflows, templates, references 3. `` — Dynamic content: `$ARGUMENTS`, bash output, @file refs 4. `` or `` elements — Implementation steps 5. `` — Measurable completion checklist **Commands are thin wrappers.** Delegate detailed logic to workflows. ### Workflows (`get-shit-done/workflows/*.md`) No YAML frontmatter. Structure varies by workflow. **Common tags** (not all workflows use all of these): - `` — What this workflow accomplishes - `` or `` — Decision criteria - `` — Prerequisite files - `` — Container for steps - `` — Individual execution step Some workflows use domain-specific tags like ``, ``, ``, ``. **When using `` elements:** - `name` attribute: snake_case (e.g., `name="load_project_state"`) - `priority` attribute: Optional ("first", "second") **Key principle:** Match the style of the specific workflow you're editing. ### Templates (`get-shit-done/templates/*.md`) Structure varies. Common patterns: - Most start with `# [Name] Template` header - Many include a `