cc-dev-template 0.1.39 → 0.1.41

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "cc-dev-template",
3
- "version": "0.1.39",
3
+ "version": "0.1.41",
4
4
  "description": "Structured AI-assisted development framework for Claude Code",
5
5
  "bin": {
6
6
  "cc-dev-template": "./bin/install.js"
@@ -5,53 +5,73 @@ argument-hint: [next task]
5
5
 
6
6
  # Session Closeout
7
7
 
8
- Capture what was accomplished so the next session starts with accurate context.
8
+ Bridge the gap between this session and the next. Git captures what was done; CURRENT_WORK.md captures what to do next.
9
9
 
10
10
  ## Why This Matters
11
11
 
12
- You have full conversation context that will be lost when this session ends. The next session (or another developer) will only have git history and documentation. Your job is to bridge that gap.
12
+ CURRENT_WORK.md is read at the start of every session. It should answer one question: "What should I work on?"
13
+
14
+ Git commits are the historical record of completed work. There's no need to duplicate that in documentation.
13
15
 
14
16
  ## Execute Directly
15
17
 
16
- This requires full conversation context. Handle it yourself rather than delegating to a sub-agent.
18
+ This requires full conversation context. Handle it yourself rather than delegating.
19
+
20
+ ## Steps
21
+
22
+ **1. Run the code simplifier**
17
23
 
18
- ## What To Do
24
+ Run the `code-simplifier` agent on your staged changes before committing. This refines code for clarity and consistency.
19
25
 
20
- **1. Understand what happened this session**
26
+ 1. Stage your changes with `git add`
27
+ 2. Invoke the Task tool with `subagent_type: "code-simplifier"` targeting the staged files
28
+ 3. Run the build and tests to verify nothing broke
29
+ 4. Fix any issues before proceeding to commit
21
30
 
22
- Review git commits made during this session and recall what was discussed/decided in conversation. The combination of commits + conversation = full picture of accomplishments.
31
+ Note: The code-simplifier is a plugin. If the subagent type doesn't exist, proceed to step 2.
23
32
 
24
- **2. Update `docs/CURRENT_WORK.md`**
33
+ **2. Commit your work**
25
34
 
26
- Sync the document with reality:
27
- - Move completed items to "Recently Completed"
28
- - Update "In Progress" with current state
29
- - Adjust "Up Next" based on what was learned
30
- - Note any new blockers
35
+ Write clear commit messages that explain what was accomplished. This IS your record of completed work.
31
36
 
32
- **If a next task was specified:** $ARGUMENTS
37
+ **3. Update `docs/CURRENT_WORK.md`**
33
38
 
34
- Add this to the "Up Next" section. The user is telling you what they want to tackle in the next session.
39
+ This file is forward-looking. Review it holistically and ensure it contains ONLY:
35
40
 
36
- **3. Capture workflow discoveries (rarely)**
41
+ - **Up Next** — Tasks to tackle in future sessions. If the user specified a next task ($ARGUMENTS), add it here.
42
+ - **In Progress** — Work that's partially done and needs continuation
43
+ - **Blocked / Waiting** — Items waiting on external input (people, services, decisions)
44
+ - **Open Questions** — Unanswered questions that need follow-up
37
45
 
38
- Consider: Did I learn something that would save time in future sessions?
46
+ **Remove** anything that doesn't require future action:
47
+ - Completed work (that's in git now)
48
+ - Answered questions (document answers in appropriate docs if needed, then remove from here)
49
+ - Historical context or architecture notes (move to relevant docs/)
50
+ - Status updates about past sessions
39
51
 
40
- Add to CLAUDE.md only for high-value operational knowledge:
41
- - Dev commands, ports, local URLs, credentials
52
+ The file should be scannable in 30 seconds. If it takes longer, it's too long.
53
+
54
+ **4. Capture workflow discoveries (rarely)**
55
+
56
+ Add to CLAUDE.md only high-value operational knowledge that can't be found by reading code:
57
+ - Dev commands, ports, local URLs
42
58
  - Key paths (logs, config, seed data)
43
59
  - Non-obvious project conventions
44
60
 
45
- This is knowledge that can't be found by reading code. Most sessions: add nothing. When adding, keep it minimal and scannable.
61
+ Most sessions: add nothing.
62
+
63
+ **5. Push**
46
64
 
47
- **4. Commit and push**
65
+ Push your commits to the remote.
48
66
 
49
- Write a commit message that reflects what was actually accomplished this session. Include both docs/ and any other modified files.
67
+ **6. Report what was updated**
50
68
 
51
- **5. Report what was updated**
69
+ Summarize: commits made, CURRENT_WORK.md changes, any items removed/added.
52
70
 
53
71
  ## Mental Model
54
72
 
55
- - **CLAUDE.md** = context loader, rarely changes
56
- - **CURRENT_WORK.md** = living status, changes every session
57
- - **Git history** = code changes speak for themselves
73
+ | File | Purpose | Changes |
74
+ |------|---------|---------|
75
+ | Git history | What was done | Every session |
76
+ | CURRENT_WORK.md | What to do next | Every session (kept minimal) |
77
+ | CLAUDE.md | How to work here | Rarely |
@@ -36,17 +36,17 @@ Create the minimal scaffolding that enables the `/prime` and `/done` workflow. T
36
36
  ```markdown
37
37
  # Current Work
38
38
 
39
- ## Recently Completed
40
- - Initial project setup
41
-
42
39
  ## In Progress
43
- - (none yet)
40
+ - (none)
44
41
 
45
42
  ## Up Next
46
43
  - (add your first task)
47
44
 
48
45
  ## Blocked / Waiting
49
46
  - (none)
47
+
48
+ ## Open Questions
49
+ - (none)
50
50
  ```
51
51
 
52
52
  4. **Handle CLAUDE.md:**