diff --git a/.claude/commands/continue-feature.md b/.claude/commands/continue-feature.md index c155a6a..a28fac1 100644 --- a/.claude/commands/continue-feature.md +++ b/.claude/commands/continue-feature.md @@ -197,9 +197,9 @@ Before implementing: 2. Read `requirements.md` for feature requirements 3. Review relevant parts of the codebase based on the task -### 9. Implement the Task +### 9. Implement the Tasks -Implement the task following project conventions: +Implement all tasks in the issue or phase following project conventions: - Follow existing code patterns in the codebase - Use the `@/` import alias @@ -277,6 +277,7 @@ If the feature has an associated GitHub Project board, update the status. You sh **For complex task issues:** Update status to "Done" and close the issue. **For phase issues:** + - If more tasks remain in the phase, keep status as "In Progress" - If all tasks in the phase are complete, update status to "Done" and close the phase issue @@ -418,7 +419,7 @@ This maintains backward compatibility with the original workflow. ## Notes -- Only implement ONE task per invocation unless the user explicitly asks for more +- Implement ALL tasks per invocation unless the user explicitly asks to implement less - Always run lint and typecheck before committing - Preserve the task's acceptance criteria when checking completion - If a task is unclear, ask for clarification rather than guessing diff --git a/.claude/commands/publish-to-github.md b/.claude/commands/publish-to-github.md index 0787103..361e1f8 100644 --- a/.claude/commands/publish-to-github.md +++ b/.claude/commands/publish-to-github.md @@ -90,6 +90,10 @@ Part of Epic: #{epic-number} {Copy the full task checklist from the implementation plan for this phase, preserving markdown checkboxes} +## Technical Details + +[Copy the full technical details section from the implementation plan for this phase] + ## Acceptance Criteria - [ ] All tasks in this phase completed @@ -146,11 +150,13 @@ Part of Epic: #{epic-number} 3. Update the phase issue to replace the task checkbox with a linked issue reference: **Before:** + ```markdown - [ ] Create complex authentication system [complex] ``` **After:** + ```markdown - [ ] #{task-issue-number} Create complex authentication system ``` @@ -230,18 +236,18 @@ This feature has been published to GitHub. ## Phase Issues -| # | Title | Tasks | Status | -| ------------ | ------------------------ | ----- | ------ | -| #{phase-1} | Phase 1: {Phase 1 Title} | {n} | Open | -| #{phase-2} | Phase 2: {Phase 2 Title} | {n} | Open | -| ... | ... | ... | ... | +| # | Title | Tasks | Status | +| ---------- | ------------------------ | ----- | ------ | +| #{phase-1} | Phase 1: {Phase 1 Title} | {n} | Open | +| #{phase-2} | Phase 2: {Phase 2 Title} | {n} | Open | +| ... | ... | ... | ... | ## Complex Task Issues (if any) -| # | Title | Phase | Status | -| ---------- | ------------ | ----- | ------ | -| #{task-1} | {Task title} | 1 | Open | -| ... | ... | ... | ... | +| # | Title | Phase | Status | +| --------- | ------------ | ----- | ------ | +| #{task-1} | {Task title} | 1 | Open | +| ... | ... | ... | ... | _(Omit this section if no complex tasks were broken out)_ diff --git a/create-agentic-app/package-lock.json b/create-agentic-app/package-lock.json index 1ae5569..eb23688 100644 --- a/create-agentic-app/package-lock.json +++ b/create-agentic-app/package-lock.json @@ -1,12 +1,12 @@ { "name": "create-agentic-app", - "version": "1.1.31", + "version": "1.1.33", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "create-agentic-app", - "version": "1.1.31", + "version": "1.1.33", "license": "MIT", "dependencies": { "chalk": "^5.3.0", diff --git a/create-agentic-app/package.json b/create-agentic-app/package.json index 11b1205..c927fdd 100644 --- a/create-agentic-app/package.json +++ b/create-agentic-app/package.json @@ -1,6 +1,6 @@ { "name": "create-agentic-app", - "version": "1.1.31", + "version": "1.1.33", "description": "Scaffold a new agentic AI application with Next.js, Better Auth, and AI SDK", "type": "module", "bin": { diff --git a/create-agentic-app/template/.claude/commands/continue-feature.md b/create-agentic-app/template/.claude/commands/continue-feature.md index c155a6a..a28fac1 100644 --- a/create-agentic-app/template/.claude/commands/continue-feature.md +++ b/create-agentic-app/template/.claude/commands/continue-feature.md @@ -197,9 +197,9 @@ Before implementing: 2. Read `requirements.md` for feature requirements 3. Review relevant parts of the codebase based on the task -### 9. Implement the Task +### 9. Implement the Tasks -Implement the task following project conventions: +Implement all tasks in the issue or phase following project conventions: - Follow existing code patterns in the codebase - Use the `@/` import alias @@ -277,6 +277,7 @@ If the feature has an associated GitHub Project board, update the status. You sh **For complex task issues:** Update status to "Done" and close the issue. **For phase issues:** + - If more tasks remain in the phase, keep status as "In Progress" - If all tasks in the phase are complete, update status to "Done" and close the phase issue @@ -418,7 +419,7 @@ This maintains backward compatibility with the original workflow. ## Notes -- Only implement ONE task per invocation unless the user explicitly asks for more +- Implement ALL tasks per invocation unless the user explicitly asks to implement less - Always run lint and typecheck before committing - Preserve the task's acceptance criteria when checking completion - If a task is unclear, ask for clarification rather than guessing diff --git a/create-agentic-app/template/.claude/commands/publish-to-github.md b/create-agentic-app/template/.claude/commands/publish-to-github.md index 0787103..361e1f8 100644 --- a/create-agentic-app/template/.claude/commands/publish-to-github.md +++ b/create-agentic-app/template/.claude/commands/publish-to-github.md @@ -90,6 +90,10 @@ Part of Epic: #{epic-number} {Copy the full task checklist from the implementation plan for this phase, preserving markdown checkboxes} +## Technical Details + +[Copy the full technical details section from the implementation plan for this phase] + ## Acceptance Criteria - [ ] All tasks in this phase completed @@ -146,11 +150,13 @@ Part of Epic: #{epic-number} 3. Update the phase issue to replace the task checkbox with a linked issue reference: **Before:** + ```markdown - [ ] Create complex authentication system [complex] ``` **After:** + ```markdown - [ ] #{task-issue-number} Create complex authentication system ``` @@ -230,18 +236,18 @@ This feature has been published to GitHub. ## Phase Issues -| # | Title | Tasks | Status | -| ------------ | ------------------------ | ----- | ------ | -| #{phase-1} | Phase 1: {Phase 1 Title} | {n} | Open | -| #{phase-2} | Phase 2: {Phase 2 Title} | {n} | Open | -| ... | ... | ... | ... | +| # | Title | Tasks | Status | +| ---------- | ------------------------ | ----- | ------ | +| #{phase-1} | Phase 1: {Phase 1 Title} | {n} | Open | +| #{phase-2} | Phase 2: {Phase 2 Title} | {n} | Open | +| ... | ... | ... | ... | ## Complex Task Issues (if any) -| # | Title | Phase | Status | -| ---------- | ------------ | ----- | ------ | -| #{task-1} | {Task title} | 1 | Open | -| ... | ... | ... | ... | +| # | Title | Phase | Status | +| --------- | ------------ | ----- | ------ | +| #{task-1} | {Task title} | 1 | Open | +| ... | ... | ... | ... | _(Omit this section if no complex tasks were broken out)_ diff --git a/create-agentic-app/template/src/lib/schema.ts b/create-agentic-app/template/src/lib/schema.ts index 69ed5f4..179ade0 100644 --- a/create-agentic-app/template/src/lib/schema.ts +++ b/create-agentic-app/template/src/lib/schema.ts @@ -1,5 +1,8 @@ import { pgTable, text, timestamp, boolean, index } from "drizzle-orm/pg-core"; +// IMPORTANT! ID fields should ALWAYS use UUID types, EXCEPT the BetterAuth tables. + + export const user = pgTable( "user", { diff --git a/src/lib/schema.ts b/src/lib/schema.ts index 69ed5f4..179ade0 100644 --- a/src/lib/schema.ts +++ b/src/lib/schema.ts @@ -1,5 +1,8 @@ import { pgTable, text, timestamp, boolean, index } from "drizzle-orm/pg-core"; +// IMPORTANT! ID fields should ALWAYS use UUID types, EXCEPT the BetterAuth tables. + + export const user = pgTable( "user", {