Skip to content

Commit ee54766

Browse files
nullcoderclaude
andauthored
docs: add project board status management guide and update TODO progress (#15)
This commit adds detailed instructions for managing GitHub project board statuses using the GitHub CLI, including the specific field and option IDs needed. It also marks the Next.js initialization task as completed in TODO.md, reflecting the recent merge of PR #14. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-authored-by: Claude <noreply@anthropic.com>
1 parent c071565 commit ee54766

File tree

2 files changed

+57
-7
lines changed

2 files changed

+57
-7
lines changed

CLAUDE.md

Lines changed: 56 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -92,14 +92,18 @@ For detailed architecture, API specs, and data models, refer to `docs/SPEC.md`.
9292
- Check off completed tasks in `docs/TODO.md`
9393
- Update issue status labels as work progresses
9494
- Close issues only after PR is merged
95+
- **IMPORTANT**: Update project board status, not just labels (see below)
9596

9697
### Development Workflow
9798
1. Pick an issue from the project board
98-
2. Create feature branch: `git checkout -b feat/issue-description`
99-
3. Make changes following the issue requirements
100-
4. Create PR and link to issue with "Closes #XX"
101-
5. Add PR to project board
102-
6. Request review and address feedback
99+
2. Update issue status to "In Progress" in project board
100+
3. Create feature branch: `git checkout -b feat/issue-description`
101+
4. Make changes following the issue requirements
102+
5. Create PR and link to issue with "Closes #XX"
103+
6. Add PR to project board with "In Progress" status
104+
7. Add `needs review` label to PR
105+
8. Request review and address feedback
106+
9. After merge: Update both issue and PR to "Done" in project board
103107

104108
## Best Practices
105109

@@ -134,4 +138,50 @@ For detailed architecture, API specs, and data models, refer to `docs/SPEC.md`.
134138
- Write tests for critical paths (encryption, binary format)
135139
- Test edge cases and error scenarios
136140
- Verify edge runtime compatibility
137-
- Run tests before creating PRs
141+
- Run tests before creating PRs
142+
143+
## Project Board Status Management
144+
145+
### Updating Status in GitHub Projects
146+
147+
The project board uses these status values:
148+
- **Todo** (ID: `f75ad846`)
149+
- **In Progress** (ID: `47fc9ee4`)
150+
- **Done** (ID: `98236657`)
151+
152+
To update status using GitHub CLI:
153+
154+
```bash
155+
# Get item IDs for issues/PRs
156+
gh api graphql -f query='
157+
{
158+
user(login: "nullcoder") {
159+
projectV2(number: 1) {
160+
items(first: 20) {
161+
nodes {
162+
id
163+
content {
164+
... on Issue { number title }
165+
... on PullRequest { number title }
166+
}
167+
}
168+
}
169+
}
170+
}
171+
}'
172+
173+
# Update to "In Progress"
174+
gh project item-edit --project-id PVT_kwHOAAF1rM4A6v2O --id [ITEM_ID] \
175+
--field-id PVTSSF_lAHOAAF1rM4A6v2OzgvQDY4 --single-select-option-id 47fc9ee4
176+
177+
# Update to "Done"
178+
gh project item-edit --project-id PVT_kwHOAAF1rM4A6v2O --id [ITEM_ID] \
179+
--field-id PVTSSF_lAHOAAF1rM4A6v2OzgvQDY4 --single-select-option-id 98236657
180+
```
181+
182+
### Status Update Checklist
183+
184+
- [ ] When starting work: Set issue to "In Progress"
185+
- [ ] When creating PR: Add PR to board with "In Progress"
186+
- [ ] After merge: Set both issue and PR to "Done"
187+
- [ ] Update TODO.md to check off completed tasks

docs/TODO.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ This document tracks the implementation progress of GhostPaste. Check off tasks
55
## 🏗️ Phase 1: Project Setup
66

77
### Initial Setup
8-
- [ ] Initialize Next.js 15 project with TypeScript (using `create-next-app`) - [#5](https://github.com/nullcoder/ghostpaste/issues/5)
8+
- [x] Initialize Next.js 15 project with TypeScript (using `create-next-app`) - [#5](https://github.com/nullcoder/ghostpaste/issues/5)
99
- [ ] Set up Cloudflare Workers environment with wrangler - [#6](https://github.com/nullcoder/ghostpaste/issues/6)
1010
- [ ] Configure project for Next.js on Cloudflare Workers using @cloudflare/next-on-pages - [#6](https://github.com/nullcoder/ghostpaste/issues/6)
1111
- [ ] Configure Edge Runtime compatibility for all routes - [#6](https://github.com/nullcoder/ghostpaste/issues/6)

0 commit comments

Comments
 (0)