ccstart 2.2.0 → 3.0.1
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/README.md +155 -50
- package/bin/create-project.js +473 -102
- package/package.json +3 -12
- package/template/claude/CLAUDE.md +11 -92
- package/template/claude/agents/backend.md +1 -1
- package/template/claude/agents/frontend.md +1 -1
- package/template/claude/hooks/claude-md-reminder.sh +15 -0
- package/template/claude/hooks/ticket-reminder.sh +19 -0
- package/template/claude/skills/create-script/SKILL.md +362 -0
- package/template/claude/skills/design-feature/SKILL.md +3 -3
- package/template/claude/skills/skill-creator/SKILL.md +1 -1
- package/template/claude/skills/update-claude-md/SKILL.md +89 -0
- package/template/claude/docs/ROADMAP.md +0 -62
- package/template/claude/docs/agent-orchestration.md +0 -183
- package/template/claude/skills/design-principles/skill.md +0 -237
package/README.md
CHANGED
|
@@ -5,67 +5,152 @@
|
|
|
5
5
|
[](https://opensource.org/licenses/MIT)
|
|
6
6
|
[](https://www.npmjs.com/package/ccstart)
|
|
7
7
|
|
|
8
|
-
Quick setup for Claude Code projects with built-in agents, skills,
|
|
8
|
+
Quick setup for Claude Code projects with built-in agents, skills, hooks, and ticket tracking.
|
|
9
9
|
|
|
10
|
-
##
|
|
10
|
+
## Why ccstart?
|
|
11
|
+
|
|
12
|
+
Setting up new projects or repositories and plugging in Claude Code into it requires more than just generating a
|
|
13
|
+
CLAUDE.md for most developers who wants a more customized workflow such as manual
|
|
14
|
+
creation of agents, skills, hooks, and project structure.
|
|
15
|
+
|
|
16
|
+
There isn't a standardized approach, leading to inconsistent setups and repeated boilerplate work across projects.
|
|
17
|
+
We already have boilerplate for our codebase to build CRUD and stuff, having one for something heavily customized
|
|
18
|
+
like Claude seems like the obvious solution.
|
|
19
|
+
|
|
20
|
+
ccstart provides a complete, opinionated scaffolding with basic agents, skills, and workflows out of the box so that we
|
|
21
|
+
can focus on immediately prompting and building while trying to keep context bloat and overengineering as low as
|
|
22
|
+
possible.
|
|
23
|
+
|
|
24
|
+
## Quick Start Installation
|
|
11
25
|
|
|
12
26
|
```bash
|
|
13
|
-
#
|
|
14
|
-
npx ccstart
|
|
27
|
+
# To set up in a specific directory
|
|
28
|
+
npx ccstart <project directory>
|
|
15
29
|
|
|
16
30
|
# Setup in current directory
|
|
17
31
|
npx ccstart .
|
|
18
32
|
|
|
19
33
|
# Install globally (optional)
|
|
20
34
|
npm install -g ccstart
|
|
21
|
-
ccstart
|
|
35
|
+
ccstart <project directory>
|
|
22
36
|
```
|
|
23
37
|
|
|
24
38
|
## What You Get
|
|
25
39
|
|
|
26
40
|
```
|
|
27
41
|
my-project/
|
|
28
|
-
├── CLAUDE.md
|
|
42
|
+
├── CLAUDE.md # Project instructions for Claude
|
|
29
43
|
├── claude/
|
|
30
|
-
│
|
|
31
|
-
│
|
|
32
|
-
│
|
|
33
|
-
│ └── tickets/ # Task tracking system
|
|
44
|
+
│ └── tickets/
|
|
45
|
+
│ ├── README.md # Ticket format and structure guide
|
|
46
|
+
│ └── ticket-list.md # Centralized ticket index
|
|
34
47
|
└── .claude/
|
|
35
|
-
├── agents/
|
|
36
|
-
|
|
48
|
+
├── agents/
|
|
49
|
+
│ ├── planner.md # Strategic planning
|
|
50
|
+
│ ├── checker.md # QA and code review
|
|
51
|
+
│ ├── backend.md
|
|
52
|
+
│ └── frontend.md
|
|
53
|
+
├── skills/
|
|
54
|
+
│ ├── commit/ # Conventional commits
|
|
55
|
+
│ ├── create-pr/ # Structured pull requests
|
|
56
|
+
│ ├── create-ticket/ # Ticket creation workflow
|
|
57
|
+
│ ├── design-feature/ # Opinionated design phases
|
|
58
|
+
│ ├── create-script/ # Python CLI generation for ideation
|
|
59
|
+
│ ├── skill-creator/ # Create new skills
|
|
60
|
+
│ └── update-claude-md/ # CLAUDE.md maintenance
|
|
61
|
+
└── hooks/
|
|
62
|
+
├── ticket-reminder.sh # Prompts ticket creation after planning
|
|
63
|
+
└── claude-md-reminder.sh # Enforces CLAUDE.md instructions every prompt
|
|
37
64
|
```
|
|
38
65
|
|
|
39
|
-
## The Workflow
|
|
66
|
+
## The Integrated Workflow
|
|
67
|
+
|
|
68
|
+
ccstart components work together to provide a complete development workflow:
|
|
69
|
+
|
|
70
|
+
Generally, this is what I do personally:
|
|
71
|
+
|
|
72
|
+
1. **Start with `/design-feature`** - Establish requirements and acceptance criteria before writing code
|
|
73
|
+
2. **Persist requirements with `/create-ticket`** - Keep a clear record of work in the ticket system
|
|
74
|
+
3. **Use the Planner agent** - Break down implementation into actionable tasks
|
|
75
|
+
4. **Use Backend/Frontend agents** - Follow established patterns for consistent, high-quality code
|
|
76
|
+
5. **Use the Checker agent** - Review code for quality, security, and performance before merging
|
|
77
|
+
6. **Use `/commit` and `/create-pr`** - Maintain clean git history with conventional commits
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
## Agents
|
|
81
|
+
|
|
82
|
+
Agents in Claude's context basically works outside of your main context window, so you can use them for tasks and
|
|
83
|
+
analysis that will not pollute your context and bloat unnecessarily.
|
|
84
|
+
|
|
85
|
+
Invoke them with `@agent-name` in Claude Code or through natural language.
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
## Skills
|
|
89
|
+
|
|
90
|
+
Skills are basically macros, they can be explicitly invoked with `/skill-name` as if using slash commands, or
|
|
91
|
+
through natural language by triggering keywords.
|
|
92
|
+
|
|
93
|
+
They are best suited for repetitive action that you don't want to
|
|
94
|
+
keep typing the same thing for.
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
## Hooks
|
|
98
|
+
|
|
99
|
+
Hooks are shell scripts that run automatically in response to Claude Code events, such as before prompting, after
|
|
100
|
+
prompting.
|
|
101
|
+
|
|
102
|
+
If you know what lifespans are in context of backend development, this is basically it but for lifecycle
|
|
103
|
+
of prompt!
|
|
40
104
|
|
|
41
|
-
###
|
|
105
|
+
### ticket-reminder
|
|
42
106
|
|
|
43
|
-
|
|
44
|
-
2. **Agents** handle specialized tasks:
|
|
45
|
-
- `planner` - Strategic planning and task breakdown
|
|
46
|
-
- `checker` - Quality assurance and code review
|
|
47
|
-
- `backend` - FastAPI/Python backend development
|
|
48
|
-
- `frontend` - React/TypeScript frontend development
|
|
49
|
-
3. **Skills** automate common workflows:
|
|
50
|
-
- `/commit` - Conventional commits
|
|
51
|
-
- `/create-pr` - Structured pull requests
|
|
52
|
-
- `/create-ticket` - Task ticket creation
|
|
53
|
-
- `/design-feature` - Feature design phases
|
|
54
|
-
4. **Tickets** track tasks with status emojis
|
|
107
|
+
**Triggers:** After exiting plan mode (PostToolUse on ExitPlanMode)
|
|
55
108
|
|
|
56
|
-
|
|
109
|
+
**Purpose:** Prompts Claude to create a ticket for significant features or bug fixes after a plan is approved. Helps ensure work is tracked without manual reminders.
|
|
57
110
|
|
|
58
|
-
|
|
111
|
+
### claude-md-reminder
|
|
59
112
|
|
|
60
|
-
|
|
61
|
-
|----------|------|
|
|
62
|
-
| Feature Development | Planner → Backend/Frontend → Checker |
|
|
63
|
-
| Bug Fix | Planner → Backend/Frontend → Checker |
|
|
64
|
-
| API Development | Planner → Backend → Frontend → Checker |
|
|
65
|
-
| UI Components | Planner → Frontend → Checker |
|
|
66
|
-
| Quality Assurance | Planner → Checker → Fix → Checker |
|
|
113
|
+
**Triggers:** On every user prompt submission
|
|
67
114
|
|
|
68
|
-
|
|
115
|
+
**Purpose:** Reminds Claude to:
|
|
116
|
+
1. Review and respect all instructions in CLAUDE.md
|
|
117
|
+
2. Ask clarifying questions instead of making assumptions
|
|
118
|
+
|
|
119
|
+
## Ticket System
|
|
120
|
+
|
|
121
|
+
A lightweight task tracking system built into your project so that you can have persistency for your implementation
|
|
122
|
+
plans across Claude session, while leaving an audit trace that Claude can refer back to whenever needed.
|
|
123
|
+
|
|
124
|
+
### Status Emojis
|
|
125
|
+
|
|
126
|
+
| Emoji | Status | Description |
|
|
127
|
+
|-------|--------|-------------|
|
|
128
|
+
| 🔴 | Todo | Not started |
|
|
129
|
+
| 🟡 | In Progress | Currently being worked on |
|
|
130
|
+
| 🟢 | Done | Completed |
|
|
131
|
+
| 🔵 | Blocked | Waiting on dependencies |
|
|
132
|
+
| ⚫ | Cancelled | No longer needed |
|
|
133
|
+
|
|
134
|
+
### File Structure
|
|
135
|
+
|
|
136
|
+
```
|
|
137
|
+
tickets/
|
|
138
|
+
├── ticket-list.md # Centralized index of all tickets
|
|
139
|
+
├── README.md # Ticket format guide
|
|
140
|
+
├── TICKET-001-user-auth.md # Individual ticket files
|
|
141
|
+
├── TICKET-002-api-docs.md
|
|
142
|
+
└── TICKET-003-testing.md
|
|
143
|
+
```
|
|
144
|
+
|
|
145
|
+
### Ticket Naming Convention
|
|
146
|
+
|
|
147
|
+
Format: `TICKET-XXX-brief-description.md`
|
|
148
|
+
|
|
149
|
+
Example: `TICKET-042-implement-dark-mode.md`
|
|
150
|
+
|
|
151
|
+
### ticket-list.md
|
|
152
|
+
|
|
153
|
+
The centralized index organizes tickets by priority (High/Medium/Low) with status emojis and links to individual ticket files. Update this file whenever you create, modify, or complete tickets.
|
|
69
154
|
|
|
70
155
|
## Command Line Options
|
|
71
156
|
|
|
@@ -84,26 +169,46 @@ Examples:
|
|
|
84
169
|
ccstart my-app --all-agents # Include all agents
|
|
85
170
|
ccstart . --force # Overwrite in current directory
|
|
86
171
|
ccstart --agents # Preview available agents
|
|
172
|
+
ccstart my-app --dry-run # Preview changes without applying
|
|
87
173
|
```
|
|
88
174
|
|
|
89
|
-
##
|
|
175
|
+
## Interactive Setup
|
|
90
176
|
|
|
91
|
-
|
|
92
|
-
- **Agent Orchestration Workflows** - Pre-defined workflows that coordinate multiple agents
|
|
93
|
-
- **Smart Conflict Resolution** - Handle existing files with skip/rename/overwrite options
|
|
94
|
-
- **Auto-detects Claude Code** - Creates .claude directory structure automatically
|
|
95
|
-
- **Dry Run Mode** - Preview changes before applying them
|
|
96
|
-
- **Force Mode** - Skip all prompts for automated workflows
|
|
177
|
+
When you run `ccstart`, you'll be guided through selection prompts:
|
|
97
178
|
|
|
98
|
-
|
|
179
|
+
### Agent Selection
|
|
99
180
|
|
|
100
|
-
```
|
|
101
|
-
|
|
102
|
-
|
|
181
|
+
```
|
|
182
|
+
? Choose your agents: (Press <space> to select, <a> to toggle all)
|
|
183
|
+
❯◯ planner
|
|
184
|
+
Strategic planning and task breakdown specialist
|
|
185
|
+
◯ checker
|
|
186
|
+
Quality assurance and code review specialist
|
|
187
|
+
◯ backend
|
|
188
|
+
Backend architecture and API design specialist
|
|
189
|
+
◯ frontend
|
|
190
|
+
Frontend architecture and UI design specialist
|
|
191
|
+
```
|
|
192
|
+
|
|
193
|
+
### Skill Selection
|
|
103
194
|
|
|
104
|
-
# Edit CLAUDE.md with your project details
|
|
105
|
-
# Start using Claude Code with pre-configured agents and workflows
|
|
106
195
|
```
|
|
196
|
+
? Choose your skills: (Press <space> to select, <a> to toggle all)
|
|
197
|
+
❯◯ commit
|
|
198
|
+
Generate and execute git commits following conventional commit format
|
|
199
|
+
◯ create-pr
|
|
200
|
+
Create GitHub pull requests with properly structured descriptions
|
|
201
|
+
◯ create-ticket
|
|
202
|
+
Create task tickets with proper numbering and update ticket-list.md
|
|
203
|
+
◯ design-feature
|
|
204
|
+
Guide feature development through requirements and design phases
|
|
205
|
+
◯ skill-creator
|
|
206
|
+
Guide for creating new skills
|
|
207
|
+
◯ update-claude-md
|
|
208
|
+
Update CLAUDE.md sections through interactive Q&A
|
|
209
|
+
```
|
|
210
|
+
|
|
211
|
+
Use `--all-agents` to skip selection and include everything.
|
|
107
212
|
|
|
108
213
|
## Local Development
|
|
109
214
|
|
|
@@ -122,7 +227,7 @@ npm unlink -g ccstart
|
|
|
122
227
|
|
|
123
228
|
## Credits
|
|
124
229
|
|
|
125
|
-
Born from our discussions in TechOverflow with [vichannnnn](https://github.com/vichannnnn)
|
|
230
|
+
Born from our discussions in TechOverflow with [vichannnnn](https://github.com/vichannnnn) and [MrMarciaOng](https://github.com/MrMarciaOng).
|
|
126
231
|
|
|
127
232
|
## License
|
|
128
233
|
|