DevSpark: Constitution-Driven AI for Software Development
DevSpark aligns AI coding agents with project architecture and governance through a constitution-driven toolkit for the full software development lifecycle.
DevSpark Series — 27 articles
- Taking DevSpark to the Next Level
- From Oracle CASE to Spec-Driven AI Development
- Fork Management: Automating Upstream Integration
- Why I Built DevSpark
- Getting Started with DevSpark: Requirements Quality Matters
- DevSpark: Constitution-Based Pull Request Reviews
- DevSpark: The Evolution of AI-Assisted Software Development
- DevSpark: Months Later, Lessons Learned
- DevSpark in Practice: A NuGet Package Case Study
- DevSpark: From Fork to Framework — What the Commits Reveal
- DevSpark v0.1.0: Agent-Agnostic, Multi-User, and Built for Teams
- DevSpark Monorepo Support: Governing Multiple Apps in One Repository
- Bring Your Own AI: DevSpark Unlocks Multi-Agent Collaboration
- Dogfooding DevSpark: Building the Plane While Flying It
- DevSpark: Constitution-Driven AI for Software Development
- The DevSpark Tiered Prompt Model: Resolving Context at Scale
- Workflows as First-Class Artifacts: Defining Operations for AI
- Closing the Loop: Automating Feedback with Suggest-Improvement
- Observability in AI Workflows: Exposing the Black Box
- Autonomy Guardrails: Bounding Agent Action Safely
- Designing the DevSpark CLI UX: Commands vs Prompts
- A Governed Contribution Model for DevSpark Prompts
- The Alias Layer: Masking Complexity in Agent Invocations
- Prompt Metadata: Enforcing the DevSpark Constitution
- DevSpark Blogging Workflow: How I Built Better Articles
- DevSpark and Agent Skills: Beyond Portable AI Capabilities
- The Methodology Tax: Why Grassroots Innovation Gets Rejected
Topic cluster
DevSpark and Spec-Driven DeliverySpec-driven development, AI-assisted delivery workflows, governance, and the DevSpark toolkit.
The DevSpark series documents how I built and use a constitution-driven toolkit for AI-assisted software development. Rather than relying on generic AI suggestions, DevSpark aligns coding agents — GitHub Copilot, Claude Code, Cursor, and others — with a project's specific architectural principles, quality standards, and decision history.
The series tells a story in roughly chronological order: why the problem of ungoverned AI assistance is real, how the initial specification-driven workflow evolved into a full governance framework, what building it in practice actually looked like, and where it has grown since. Each article stands on its own, but read in sequence they trace the evolution from a simple fork to a framework now used across multiple production codebases.
The Core Idea
Every software project has rules. Most are implicit — living in individual developers' heads, scattered across old PR comments, encoded in conventions nobody has written down. When AI coding agents generate code without access to those rules, they produce output that is technically correct but architecturally wrong. The fix isn't a better prompt. It's a constitution: a formal, version-controlled document that captures the non-negotiable principles, encodes the decisions already made, and gives every AI agent the context it needs to generate code that actually fits the project.
DevSpark makes that constitution the center of gravity for every part of the development workflow: specifications, plans, implementation, PR reviews, site audits, and now multi-step harness workflows. The constitutional principles aren't aspirational guidelines — they're enforced mechanically at every stage.
The DevSpark Repository
The full toolkit — prompts, workflow specs, scripts, and documentation — is available at github.com/markhazleton/devspark. DevSpark currently supports 17 AI coding agents through a centralized registry, with shims auto-generated for each platform from canonical prompt templates.
Contributing
If you encounter a prompt that consistently produces wrong output in a reproducible way, the right place for that is the DevSpark issue tracker. Include the command name, your project context, what the agent produced, and what you expected. Specific, reproducible cases are what drive the framework forward.
Explore More
- DevSpark: Months Later, Lessons Learned -- What months of real spec-driven development actually taught me about AI
- DevSpark v0.1.0: Agent-Agnostic, Multi-User, and Built for Teams -- How canonical prompts, thin shims, and per-user personalization let team
- Bring Your Own AI: DevSpark Unlocks Multi-Agent Collaboration -- The new Centralized Agent Registry lets your team mix GitHub Copilot, Cl
- UISampleSpark: Constitution-Driven Development -- Part 3 of the UISampleSpark Series: Governance and AI
- Why I Built DevSpark -- Building the tool I needed to survive the reality of brownfield developm
Related project evidence

DevSpark: Constitutional AI Governance Framework
DevSpark is a standalone AI-assisted development framework that extends Specification-Driven Development with constitution-based PR reviews, codebase-wide compliance auditing, adversarial risk analysis, brownfield constitution discovery, and adaptive lifecycle management. DevSpark makes project constitutions valuable throughout the entire development lifecycle — from greenfield planning through continuous constitutional governance.

SupportSpark: Compassionate Support Network Platform
SupportSpark is a privacy-focused web application designed to help individuals maintain supportive networks during challenging life moments. Built with React 19, Express 5, and TypeScript, it provides a calm, structured platform for sharing personal journey updates with threaded conversations.
PHPDocSpark: PHP Documentation Platform
PHPDocSpark is an open-source PHP 8.2+ documentation and data exploration platform with a Vite 7.1 asset pipeline. Features include Markdown documentation viewer with full-text search, CSV data analysis, SQLite CRUD operations, GitHub API integration, Chart.js visualizations, and Azure Pipelines deployment.
Working through a similar architecture decision?
If this article maps to a problem in your system, send a short note with the constraint, the risk, and what decision is blocked.
