Skip to content

feat(test): add dev test scripts and update docs for TDD workflow#1248

Merged
ByronDWall merged 6 commits intomainfrom
bw/storybook-vitest-dev
Mar 18, 2026
Merged

feat(test): add dev test scripts and update docs for TDD workflow#1248
ByronDWall merged 6 commits intomainfrom
bw/storybook-vitest-dev

Conversation

@ByronDWall
Copy link
Contributor

@ByronDWall ByronDWall commented Mar 12, 2026

Summary

  • Add test:dev and test:storybook:dev scripts that run tests against source files directly (no build required), enabling fast TDD loops
  • Add new Storybook vitest config (vitest.storybookdev.config.ts) that resolves @commercetools/nimbus to source via alias
  • Update CLAUDE.md, nimbus CLAUDE.md, and skill files to document and recommend test:dev for iterative development
  • Streamline jira-implement-task skill with TDD red/green workflow and three-strikes policy
  • Add git-conventions.md documenting branch naming and commit message format
  • Add agent-restore-context and setup-agent-restore-context skills so workflows survive /clear and /compact
  • Consolidate create/update actions into single write action across all skill references
  • Move implementation plan files from repo root to <skills-dir>/jira-implement-task/plans/
  • Update Common Pitfalls in nimbus CLAUDE.md with test:dev as TDD alternative

Test plan

  • Run pnpm test:dev and verify tests execute against source without building
  • Run pnpm test:storybook:dev and verify Storybook tests pass against source
  • Verify pnpm test (build-based) still works as before
  • Run /agent-restore-context check and verify hook detection works
  • Verify /agent-restore-context status lists active restore context files

🤖 Generated with Claude Code

@vercel
Copy link

vercel bot commented Mar 12, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
nimbus-documentation Ready Ready Preview, Comment Mar 17, 2026 7:14pm
nimbus-storybook Ready Ready Preview, Comment Mar 17, 2026 7:14pm

Request Review

@changeset-bot
Copy link

changeset-bot bot commented Mar 12, 2026

⚠️ No Changeset found

Latest commit: e961410

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

ByronDWall and others added 3 commits March 12, 2026 14:33
Adds `test:dev` and `test:storybook:dev` scripts that resolve
`@commercetools/nimbus` to source files instead of the built bundle,
removing the need to rebuild before running tests during local development.

The existing `test` and `test:storybook` scripts remain unchanged for
CI and build verification.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
- Add test:dev commands to CLAUDE.md, nimbus CLAUDE.md, and skill files
- Streamline jira-implement-task skill with TDD workflow and three-strikes policy
- Add git-conventions.md documenting branch naming and commit format
- Update writing-stories and writing-main-component skills to use test:dev

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
…nt-task

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Add agent-restore-context and setup-agent-restore-context skills for
surviving /clear and /compact. Consolidate create/update into single
write action, fix cross-references, update plan file location to
skill directory, and update common pitfalls with test:dev workflow.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
.gitignore Outdated
Comment on lines +197 to +198
.agent-restore-context-*
*-implementation-plan.md No newline at end of file
Copy link
Contributor

@tylermorrisford tylermorrisford Mar 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

koolaid man voice: ohhhh yeaaaahhhhhh

Support worktree-based workflows when implementing Jira tasks. --gw uses
the gw CLI, --worktree uses EnterWorktree with git worktree fallback.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ByronDWall ByronDWall merged commit e1aa6c3 into main Mar 18, 2026
9 checks passed
@ByronDWall ByronDWall deleted the bw/storybook-vitest-dev branch March 18, 2026 15:55
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