Skip to content

feat(openspec): add TDD schema for refactoring and fixes#2230

Merged
iobuhov merged 4 commits into
mendix:mainfrom
iobuhov:add-tdd-schema
May 26, 2026
Merged

feat(openspec): add TDD schema for refactoring and fixes#2230
iobuhov merged 4 commits into
mendix:mainfrom
iobuhov:add-tdd-schema

Conversation

@iobuhov
Copy link
Copy Markdown
Collaborator

@iobuhov iobuhov commented May 26, 2026

Summary

Add a new tdd-refactor schema for OpenSpec, designed specifically for bug fixes and refactoring work (not for new features - use spec-driven for that).

Schema Structure

  • Workflow: proposal → design → tasks
  • Artifacts:
    • proposal.md - Problem statement and root cause for bugs/refactoring
    • design.md - Test plan defining what needs to pass (no checkboxes, just test definitions)
    • tasks.md - Implementation breakdown following Red-Green-Refactor TDD cycle

Key Features

  • Focused on fixes and refactoring, not new features
  • Test-driven approach with clear test definitions in design.md
  • Task tracking follows TDD phases: Test Setup → Implementation → Refactoring → Verification
  • Lighter weight than spec-driven (no detailed specs needed for simple fixes)

Changes

  1. Added initial TDD schema template
  2. Refined workflow instructions for clarity
  3. Renamed to tdd-refactor to distinguish from feature-focused spec-driven schema

🤖 Generated with Claude Code

iobuhov and others added 3 commits May 26, 2026 11:42
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- TDD workflow: proposal → tests → tasks
- Focused on bugs and refactoring (not new features)
- Red-Green-Refactor cycle built into task structure
- Tests define contract, implementation makes them pass
- Removed implementation.md and docs.md (not needed for fixes)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@iobuhov iobuhov requested a review from a team as a code owner May 26, 2026 10:34
Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
@iobuhov iobuhov merged commit e75cf0e into mendix:main May 26, 2026
12 of 15 checks passed
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.

3 participants