Repository navigation
Sample code for: Spec-Driven Development With AI: A Hands-on OpenSpec Guide - #898
Merged
Merged
Conversation
… Guide Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
bzaczynski
approved these changes
Oct 20, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Where to put new files:
my-awesome-articleHow to merge your changes:
Sample code for the upcoming tutorial Spec-Driven Development With AI: A Hands-on OpenSpec Guide (draft: CMS Post 2521, Trello #1588). Files live in the
sdd-openspec/top-level folder, named after the article slug. Opened on behalf of Bartosz Zaczyński.This replaces #883, which used the folder name
openspec/and linked a stale URL.What's included
sdd-openspec/source_code_initial/: The starterhabitsCLI (stdlib only, pytest for tests) that readers begin with, before OpenSpec is installedsdd-openspec/source_code_final/: The finished project after both changes in the tutorial, including the OpenSpec specs (habit-stats,habit-check-in), the archived changes (2026-10-11-add-stats-command,2026-10-11-backdate-check-ins),openspec/config.yaml, and the.claude/commands and skills generated byopenspec init --tools claude(OpenSpec 1.14.1)sdd-openspec/README.md: Setup and usageChecks
ruff format --checkandruff checkpass with ruff 0.14.1uv run --group dev pytest -q: 11 passed (initial), 39 passed (final), on Python 3.12 and 3.14openspec validate --all --strictpasses insource_code_final/source_code_initial/:openspec init --tools clauderegenerates byte-identical.claude/files, and archiving both changes reproduces theopenspec/tree insource_code_final/exactlyThe opt-in
sdd-openspec-codein the CMS should point at thissdd-openspec/folder once merged.🤖 Generated with Claude Code