AI SDLC Scaffold, repo template for AI-assisted software development
I built an open-source repo template that brings structure to AI-assisted software development, starting from the pre-coding phases: objectives, user stories, requirements, architecture decisions. It's designed around Claude Code but the ideas are tool-agnostic. I've been a computer science researcher and full-stack software engineer for 25 years, working mainly in startups. I've been using this approach on my personal projects for a while, then, when I decided to package it up as scaffold for more easy reuse, I figured it might be useful to others too. I published it under Apache 2.0, fork it and make it yours. You can easily try it out: follow the instructions in the README to start using it. The problem it solves: AI coding agents are great at writing code, but they work much better when they have clear context about what to build and why. Most projects jump straight to implementation. This scaffold provides a structured workflow for the pre-coding phases, and organizes the output so that agents can navigate it efficiently across sessions. How it works: Everything lives in the repo alongside source code. The AI guidance is split into three layers, each optimized for context-window usage: 1. Instruction files (CLAUDE.md, CLAUDE.<phase>.md): always loaded, kept small. They are organized hierarchically, describe repo structure, maintain artifact indexes, and define cross-phase rules like traceability invariants. 2. Skills (.claude/skills/SDLC-*): loaded on demand. Step-by-step procedures for each SDLC activity: eliciting requirements, gap analysis, drafting architecture, decomposing into components, planning tasks, implementation. 3. Project artifacts: structured markdown files that accumulate as work progresses: stakeholders, goals, user stories, requirements, assumptions, constraints, decisions, architecture, data model, API design, task tracking. Accessed selectively through indexes. This separation matters because instruction files stay in the context window permanently and must be lean, skills can be detailed since they're loaded only when invoked, and artifacts scale with the project but are navigated via indexed tables rather than read in full. Key design choices: Context-window efficiency: artifact collections use markdown index tables (one-line description and trigger conditions) so the agent can locate what it needs without reading everything. Decision capture: decisions made during AI reasoning and human feedback are persisted as a structured artifact, to make them reviewable, traceable, and consistently applied across sessions. Waterfall-ish flow: sequential phases with defined outputs. Tedious for human teams, but AI agents don't mind the overhead, and the explicit structure prevents the unconstrained "just start vibecoding" failure mode. How I use it: Short, focused sessions. Each session invokes one skill, produces its output, and ends. The knowledge organization means the next session picks up without losing context. I've found that free-form prompting between skills is usually a sign the workflow is missing a piece. Current limitations: I haven't found a good way to integrate Figma MCP for importing existing UI/UX designs into the workflow. Suggestions welcome. Feedback, criticism, and contributions are very welcome!
- Code-Generierung
- Integrationen
- KI-Agent
✨ KI-Zusammenfassung
AI SDLC Scaffold is an open-source repository template that structures the pre-coding phases of AI-assisted software development, providing clear context for AI coding agents. It organizes objectives, user stories, requirements, and architecture decisions to improve AI efficiency and project traceability.
Am besten geeignet für
Software developers using AI coding assistants, Startups building AI-powered products, Researchers exploring AI-assisted development workflows
Warum es wichtig ist
Provides a structured, context-rich workflow for AI-assisted software development, enhancing AI coding agent performance and project clarity.
Hauptfunktionen
- Provides a structured repository template for AI-assisted software development.
- Organizes pre-coding phases including objectives, user stories, and requirements.
- Separates AI guidance into instruction files, on-demand skills, and project artifacts.
- Optimizes context-window usage through hierarchical instructions and indexed artifacts.
Anwendungsfälle
- A startup CTO can leverage the AI SDLC Scaffold to establish a structured development process for a new AI-powered feature, ensuring that requirements, architecture, and task breakdowns are clearly defined before coding begins, thereby maximizing the effectiveness of their AI coding assistants.
- A solo full-stack developer can use the scaffold to manage a personal project, breaking down complex ideas into manageable phases like requirements gathering and architectural design, with AI assistance, to maintain focus and avoid the 'vibecoding' pitfall.
- A team lead can integrate the AI SDLC Scaffold into their existing workflow to provide AI coding agents with a well-defined context, enabling them to generate more accurate and relevant code by first detailing project objectives, user stories, and technical decisions in a structured format.