-
Notifications
You must be signed in to change notification settings - Fork 0
Add pulser init — scaffold a new skill from template #6
Copy link
Copy link
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Context
There is no scaffolding command. Users manually create directories, write frontmatter, add sections. The prescriber (src/prescriber.ts) already knows the recommended structure per skill type, but this knowledge is only used for fixing existing skills.
Proposed
pulser init my-skill --type analysisGenerates:
~/.claude/skills/my-skill/
SKILL.md # Valid frontmatter + Gotchas + structure
eval.yaml # Test skeleton
What to do
- Add
initsubcommand insrc/index.ts - Create
src/init.tswith template logic - Reuse constants from
src/prescriber.ts(RECOMMENDED_TOOLS, GOTCHAS_TEMPLATES) to generate valid SKILL.md per type - Accept
--typeflag (analysis, research, generation, execution, reference) or prompt for it - Generate an
eval.yamlskeleton with one example test
Why this matters
The recommended workflow is: create skill → run pulser → fix issues. But step 1 has zero tooling. This closes the loop.
Files to modify
src/index.ts(subcommand)- New:
src/init.ts - Reuse:
src/prescriber.tsconstants
Difficulty: Medium-Hard
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed