cc-dev-template 0.1.6 → 0.1.7

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.6",
3
+ "version": "0.1.7",
4
4
  "description": "Structured AI-assisted development framework for Claude Code",
5
5
  "bin": {
6
6
  "cc-dev-template": "./bin/install.js"
@@ -5,91 +5,47 @@ description: Expert guidance for creating, modifying, and auditing Claude Code s
5
5
 
6
6
  # Create Agent Skills
7
7
 
8
- Expert guidance for building Claude Code skills correctly. Skills are prompts with progressive disclosure—they teach Claude how to perform specific tasks repeatedly and reliably.
9
-
10
- ## Why Skills Exist
11
-
12
- Skills solve one problem: **context window efficiency through progressive disclosure**.
13
-
14
- Without skills, complex workflows require loading thousands of lines of instructions upfront. With skills:
15
- - **Level 1**: Metadata (~100 words) loads at startup for all skills
16
- - **Level 2**: SKILL.md body (1,500-2,000 words) loads only when triggered
17
- - **Level 3**: references/, scripts/, assets/ load only when needed
18
-
19
- This means Claude can have access to unlimited specialized knowledge without paying the context cost until actually needed.
20
-
21
8
  ## What To Do Now
22
9
 
23
- Determine what the user wants to accomplish with skills.
24
-
25
10
  <step name="Understand Intent">
26
- Ask the user what they want to do:
11
+ Ask what the user wants to do with skills.
27
12
 
28
- Use `AskUserQuestion` with these options:
29
- - **Create a new skill** - Build a skill from scratch through guided conversation
30
- - **Audit existing skills** - Review all skills for best practices compliance
13
+ Use `AskUserQuestion`:
14
+ - **Create a new skill** - Build a skill through guided conversation
15
+ - **Audit existing skills** - Review skills for best practices compliance
31
16
  - **Modify a skill** - Update or improve an existing skill
32
- - **Something else** - Free-form request for other needs
17
+ - **Something else** - Free-form request
33
18
  </step>
34
19
 
35
20
  <step name="Route to Workflow">
36
- Based on the user's choice:
21
+ Based on choice, read the appropriate workflow:
37
22
 
38
23
  | Choice | Action |
39
24
  |--------|--------|
40
- | Create a new skill | Read `references/create.md` |
41
- | Audit existing skills | Read `references/audit.md` |
42
- | Modify a skill | Read `references/modify.md` |
43
- | Something else | Help them find the right workflow |
44
-
45
- Reading the workflow file is mandatory—it contains the detailed instructions for that workflow.
25
+ | Create | Read `references/create.md` |
26
+ | Audit | Read `references/audit.md` |
27
+ | Modify | Read `references/modify.md` |
28
+ | Something else | Help find the right approach |
46
29
  </step>
47
30
 
48
- ## Core Skill Principles (Quick Reference)
49
-
50
- Before routing, understand these fundamentals that apply to ALL skill work:
51
-
52
- ### A Skill IS a Prompt
53
- SKILL.md is not documentation about the skill—it IS what Claude reads when the skill activates. Write it as instructions TO Claude, using imperative form.
54
-
55
- ### Description = Discovery
56
- The frontmatter `description` field determines when Claude triggers the skill. Include:
57
- - Third-person phrasing: "This skill should be used when..."
58
- - Specific trigger phrases users would say
59
- - Max 1024 characters
60
-
61
- ### Structure Matters
62
- ```
63
- skill-name/
64
- ├── SKILL.md # Required: lean router (1,500-2,000 words max)
65
- ├── references/ # Detailed docs loaded as needed
66
- ├── scripts/ # Executable utilities (token-efficient)
67
- └── assets/ # Files used in output, never read into context
68
- ```
69
-
70
- ### Writing Style
71
- - **Imperative form**: "Parse the file", "Validate the input"
72
- - **Never second person**: Avoid phrases like "should parse" or "can validate" with pronouns
73
- - **Objective instructional tone**: Facts and directives, not suggestions
74
-
75
- For complete principles, each workflow will load `references/principles.md` as needed.
76
-
77
- ## Skill Locations
31
+ ## Essential Knowledge
78
32
 
79
- Skills can exist at two levels:
33
+ **A skill IS a prompt.** When activated, Claude reads SKILL.md. It must contain instructions, not documentation about the skill.
80
34
 
81
- | Level | Path | Scope |
82
- |-------|------|-------|
83
- | User | `~/.claude/skills/` | Available in all projects |
84
- | Project | `.claude/skills/` | Shared with team via git |
35
+ **Progressive disclosure.** SKILL.md should be lean (<150 lines). Heavy content goes in references/. This keeps context efficient.
85
36
 
86
- The audit workflow discovers skills at both levels automatically.
37
+ **The test:** After reading SKILL.md, would Claude know what to DO? If it only knows what the skill is about, it's written wrong.
87
38
 
88
- ## Bundled Scripts
39
+ For complete principles, workflows load `references/principles.md` as needed.
89
40
 
90
- This skill includes utility scripts for validation and discovery:
41
+ ## Quick Reference
91
42
 
92
- - **`scripts/find-skills.js`** - Discovers all skills at user/project levels
93
- - **`scripts/validate-skill.js`** - Validates a skill against best practices
43
+ **Skill locations:**
44
+ | Level | Path |
45
+ |-------|------|
46
+ | User | `~/.claude/skills/` |
47
+ | Project | `.claude/skills/` |
94
48
 
95
- Run scripts via: `node ~/.claude/skills/create-agent-skills/scripts/[script-name].js`
49
+ **Bundled scripts:**
50
+ - `scripts/find-skills.js` - Discover all installed skills
51
+ - `scripts/validate-skill.js` - Validate a skill's structure