improve github workflow

This commit is contained in:
Leon van Zyl
2025-12-10 07:47:21 +02:00
parent cd5dd2eed5
commit 5cd66b245e
8 changed files with 47 additions and 27 deletions

View File

@@ -197,9 +197,9 @@ Before implementing:
2. Read `requirements.md` for feature requirements 2. Read `requirements.md` for feature requirements
3. Review relevant parts of the codebase based on the task 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 - Follow existing code patterns in the codebase
- Use the `@/` import alias - 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 complex task issues:** Update status to "Done" and close the issue.
**For phase issues:** **For phase issues:**
- If more tasks remain in the phase, keep status as "In Progress" - 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 - 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 ## 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 - Always run lint and typecheck before committing
- Preserve the task's acceptance criteria when checking completion - Preserve the task's acceptance criteria when checking completion
- If a task is unclear, ask for clarification rather than guessing - If a task is unclear, ask for clarification rather than guessing

View File

@@ -90,6 +90,10 @@ Part of Epic: #{epic-number}
{Copy the full task checklist from the implementation plan for this phase, preserving markdown checkboxes} {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 ## Acceptance Criteria
- [ ] All tasks in this phase completed - [ ] 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: 3. Update the phase issue to replace the task checkbox with a linked issue reference:
**Before:** **Before:**
```markdown ```markdown
- [ ] Create complex authentication system [complex] - [ ] Create complex authentication system [complex]
``` ```
**After:** **After:**
```markdown ```markdown
- [ ] #{task-issue-number} Create complex authentication system - [ ] #{task-issue-number} Create complex authentication system
``` ```
@@ -231,7 +237,7 @@ This feature has been published to GitHub.
## Phase Issues ## Phase Issues
| # | Title | Tasks | Status | | # | Title | Tasks | Status |
| ------------ | ------------------------ | ----- | ------ | | ---------- | ------------------------ | ----- | ------ |
| #{phase-1} | Phase 1: {Phase 1 Title} | {n} | Open | | #{phase-1} | Phase 1: {Phase 1 Title} | {n} | Open |
| #{phase-2} | Phase 2: {Phase 2 Title} | {n} | Open | | #{phase-2} | Phase 2: {Phase 2 Title} | {n} | Open |
| ... | ... | ... | ... | | ... | ... | ... | ... |
@@ -239,7 +245,7 @@ This feature has been published to GitHub.
## Complex Task Issues (if any) ## Complex Task Issues (if any)
| # | Title | Phase | Status | | # | Title | Phase | Status |
| ---------- | ------------ | ----- | ------ | | --------- | ------------ | ----- | ------ |
| #{task-1} | {Task title} | 1 | Open | | #{task-1} | {Task title} | 1 | Open |
| ... | ... | ... | ... | | ... | ... | ... | ... |

View File

@@ -1,12 +1,12 @@
{ {
"name": "create-agentic-app", "name": "create-agentic-app",
"version": "1.1.31", "version": "1.1.33",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "create-agentic-app", "name": "create-agentic-app",
"version": "1.1.31", "version": "1.1.33",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"chalk": "^5.3.0", "chalk": "^5.3.0",

View File

@@ -1,6 +1,6 @@
{ {
"name": "create-agentic-app", "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", "description": "Scaffold a new agentic AI application with Next.js, Better Auth, and AI SDK",
"type": "module", "type": "module",
"bin": { "bin": {

View File

@@ -197,9 +197,9 @@ Before implementing:
2. Read `requirements.md` for feature requirements 2. Read `requirements.md` for feature requirements
3. Review relevant parts of the codebase based on the task 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 - Follow existing code patterns in the codebase
- Use the `@/` import alias - 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 complex task issues:** Update status to "Done" and close the issue.
**For phase issues:** **For phase issues:**
- If more tasks remain in the phase, keep status as "In Progress" - 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 - 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 ## 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 - Always run lint and typecheck before committing
- Preserve the task's acceptance criteria when checking completion - Preserve the task's acceptance criteria when checking completion
- If a task is unclear, ask for clarification rather than guessing - If a task is unclear, ask for clarification rather than guessing

View File

@@ -90,6 +90,10 @@ Part of Epic: #{epic-number}
{Copy the full task checklist from the implementation plan for this phase, preserving markdown checkboxes} {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 ## Acceptance Criteria
- [ ] All tasks in this phase completed - [ ] 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: 3. Update the phase issue to replace the task checkbox with a linked issue reference:
**Before:** **Before:**
```markdown ```markdown
- [ ] Create complex authentication system [complex] - [ ] Create complex authentication system [complex]
``` ```
**After:** **After:**
```markdown ```markdown
- [ ] #{task-issue-number} Create complex authentication system - [ ] #{task-issue-number} Create complex authentication system
``` ```
@@ -231,7 +237,7 @@ This feature has been published to GitHub.
## Phase Issues ## Phase Issues
| # | Title | Tasks | Status | | # | Title | Tasks | Status |
| ------------ | ------------------------ | ----- | ------ | | ---------- | ------------------------ | ----- | ------ |
| #{phase-1} | Phase 1: {Phase 1 Title} | {n} | Open | | #{phase-1} | Phase 1: {Phase 1 Title} | {n} | Open |
| #{phase-2} | Phase 2: {Phase 2 Title} | {n} | Open | | #{phase-2} | Phase 2: {Phase 2 Title} | {n} | Open |
| ... | ... | ... | ... | | ... | ... | ... | ... |
@@ -239,7 +245,7 @@ This feature has been published to GitHub.
## Complex Task Issues (if any) ## Complex Task Issues (if any)
| # | Title | Phase | Status | | # | Title | Phase | Status |
| ---------- | ------------ | ----- | ------ | | --------- | ------------ | ----- | ------ |
| #{task-1} | {Task title} | 1 | Open | | #{task-1} | {Task title} | 1 | Open |
| ... | ... | ... | ... | | ... | ... | ... | ... |

View File

@@ -1,5 +1,8 @@
import { pgTable, text, timestamp, boolean, index } from "drizzle-orm/pg-core"; 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( export const user = pgTable(
"user", "user",
{ {

View File

@@ -1,5 +1,8 @@
import { pgTable, text, timestamp, boolean, index } from "drizzle-orm/pg-core"; 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( export const user = pgTable(
"user", "user",
{ {