镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

Sample code for: Spec-Driven Development With AI: A Hands-on OpenSpec Guide - #883

Open
realpython-bot wants to merge 1 commit into
masterfrom
openspec
Open

realpython-bot wants to merge 1 commit into
masterfrom
openspec

Conversation

@realpython-bot

Copy link
Copy Markdown
Collaborator

Sample code for the upcoming tutorial Spec-Driven Development With AI: A Hands-on OpenSpec Guide (draft: CMS Post 2521, Trello #1588). Opened on behalf of Bartosz Zaczyński.

What's included

  • openspec/source_code_initial/: The starter habits CLI (stdlib only, pytest for tests) that readers begin with
  • openspec/source_code_final/: The finished project after both changes in the tutorial, including the OpenSpec specs, archived changes, config.yaml, and the .claude/ commands generated by openspec init --tools claude (OpenSpec 1.14.1)
  • openspec/README.md: Setup and usage

Checks

  • ruff format --check and ruff check pass with ruff 0.14.1
  • uv run --group dev pytest -q: 11 passed (initial), 39 passed (final)
  • openspec validate --all passes in source_code_final/

The opt-in openspec-code in the CMS should point at this openspec/ folder once merged.

🤖 Generated with Claude Code

Starter and finished versions of the `habits` CLI used in
"Spec-Driven Development With AI: A Hands-on OpenSpec Guide".

Co-Authored-By: Claude Opus 5.5 (1M context) <noreply@anthropic.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant