@ecology91/skills 0.1.0

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.
Files changed (51) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +179 -0
  3. package/bin/install.mjs +52 -0
  4. package/opencode.json +10 -0
  5. package/package.json +37 -0
  6. package/scripts/link-skills.sh +40 -0
  7. package/scripts/list-skills.sh +7 -0
  8. package/skills/engineering/README.md +16 -0
  9. package/skills/engineering/diagnose/SKILL.md +117 -0
  10. package/skills/engineering/diagnose/scripts/hitl-loop.template.sh +41 -0
  11. package/skills/engineering/grill-with-docs/ADR-FORMAT.md +47 -0
  12. package/skills/engineering/grill-with-docs/CONTEXT-FORMAT.md +77 -0
  13. package/skills/engineering/grill-with-docs/SKILL.md +88 -0
  14. package/skills/engineering/improve-codebase-architecture/DEEPENING.md +37 -0
  15. package/skills/engineering/improve-codebase-architecture/INTERFACE-DESIGN.md +44 -0
  16. package/skills/engineering/improve-codebase-architecture/LANGUAGE.md +53 -0
  17. package/skills/engineering/improve-codebase-architecture/SKILL.md +71 -0
  18. package/skills/engineering/prototype/LOGIC.md +79 -0
  19. package/skills/engineering/prototype/SKILL.md +30 -0
  20. package/skills/engineering/prototype/UI.md +112 -0
  21. package/skills/engineering/setup-agent-skills/SKILL.md +128 -0
  22. package/skills/engineering/setup-agent-skills/domain.md +51 -0
  23. package/skills/engineering/setup-agent-skills/issue-tracker-beads.md +54 -0
  24. package/skills/engineering/setup-agent-skills/issue-tracker-github.md +33 -0
  25. package/skills/engineering/setup-agent-skills/issue-tracker-gitlab.md +34 -0
  26. package/skills/engineering/setup-agent-skills/issue-tracker-local.md +27 -0
  27. package/skills/engineering/setup-agent-skills/triage-labels.md +15 -0
  28. package/skills/engineering/setup-coding-quality-checks/SKILL.md +84 -0
  29. package/skills/engineering/tdd/SKILL.md +109 -0
  30. package/skills/engineering/tdd/deep-modules.md +33 -0
  31. package/skills/engineering/tdd/interface-design.md +31 -0
  32. package/skills/engineering/tdd/mocking.md +59 -0
  33. package/skills/engineering/tdd/refactoring.md +10 -0
  34. package/skills/engineering/tdd/tests.md +61 -0
  35. package/skills/engineering/to-issues/SKILL.md +99 -0
  36. package/skills/engineering/to-prd/SKILL.md +76 -0
  37. package/skills/engineering/to-qa/SKILL.md +45 -0
  38. package/skills/engineering/triage/AGENT-BRIEF.md +186 -0
  39. package/skills/engineering/triage/OUT-OF-SCOPE.md +101 -0
  40. package/skills/engineering/triage/SKILL.md +107 -0
  41. package/skills/engineering/zoom-out/SKILL.md +7 -0
  42. package/skills/misc/README.md +8 -0
  43. package/skills/misc/git-guardrails-opencode/SKILL.md +57 -0
  44. package/skills/misc/migrate-to-shoehorn/SKILL.md +118 -0
  45. package/skills/misc/scaffold-exercises/SKILL.md +106 -0
  46. package/skills/misc/setup-pre-commit/SKILL.md +91 -0
  47. package/skills/productivity/README.md +8 -0
  48. package/skills/productivity/caveman/SKILL.md +49 -0
  49. package/skills/productivity/grill-me/SKILL.md +10 -0
  50. package/skills/productivity/handoff/SKILL.md +13 -0
  51. package/skills/productivity/write-a-skill/SKILL.md +117 -0
@@ -0,0 +1,117 @@
1
+ ---
2
+ name: write-a-skill
3
+ description: Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, or build a new skill.
4
+ ---
5
+
6
+ # Writing Skills
7
+
8
+ ## Process
9
+
10
+ 1. **Gather requirements** - ask user about:
11
+ - What task/domain does the skill cover?
12
+ - What specific use cases should it handle?
13
+ - Does it need executable scripts or just instructions?
14
+ - Any reference materials to include?
15
+
16
+ 2. **Draft the skill** - create:
17
+ - SKILL.md with concise instructions
18
+ - Additional reference files if content exceeds 500 lines
19
+ - Utility scripts if deterministic operations needed
20
+
21
+ 3. **Review with user** - present draft and ask:
22
+ - Does this cover your use cases?
23
+ - Anything missing or unclear?
24
+ - Should any section be more/less detailed?
25
+
26
+ ## Skill Structure
27
+
28
+ ```
29
+ skill-name/
30
+ ├── SKILL.md # Main instructions (required)
31
+ ├── REFERENCE.md # Detailed docs (if needed)
32
+ ├── EXAMPLES.md # Usage examples (if needed)
33
+ └── scripts/ # Utility scripts (if needed)
34
+ └── helper.js
35
+ ```
36
+
37
+ ## SKILL.md Template
38
+
39
+ ```md
40
+ ---
41
+ name: skill-name
42
+ description: Brief description of capability. Use when [specific triggers].
43
+ ---
44
+
45
+ # Skill Name
46
+
47
+ ## Quick start
48
+
49
+ [Minimal working example]
50
+
51
+ ## Workflows
52
+
53
+ [Step-by-step processes with checklists for complex tasks]
54
+
55
+ ## Advanced features
56
+
57
+ [Link to separate files: See [REFERENCE.md](REFERENCE.md)]
58
+ ```
59
+
60
+ ## Description Requirements
61
+
62
+ The description is **the only thing your agent sees** when deciding which skill to load. It's surfaced in the system prompt alongside all other installed skills. Your agent reads these descriptions and picks the relevant skill based on the user's request.
63
+
64
+ **Goal**: Give your agent just enough info to know:
65
+
66
+ 1. What capability this skill provides
67
+ 2. When/why to trigger it (specific keywords, contexts, file types)
68
+
69
+ **Format**:
70
+
71
+ - Max 1024 chars
72
+ - Write in third person
73
+ - First sentence: what it does
74
+ - Second sentence: "Use when [specific triggers]"
75
+
76
+ **Good example**:
77
+
78
+ ```
79
+ Extract text and tables from PDF files, fill forms, merge documents. Use when working with PDF files or when user mentions PDFs, forms, or document extraction.
80
+ ```
81
+
82
+ **Bad example**:
83
+
84
+ ```
85
+ Helps with documents.
86
+ ```
87
+
88
+ The bad example gives your agent no way to distinguish this from other document skills.
89
+
90
+ ## When to Add Scripts
91
+
92
+ Add utility scripts when:
93
+
94
+ - Operation is deterministic (validation, formatting)
95
+ - Same code would be generated repeatedly
96
+ - Errors need explicit handling
97
+
98
+ Scripts save tokens and improve reliability vs generated code.
99
+
100
+ ## When to Split Files
101
+
102
+ Split into separate files when:
103
+
104
+ - SKILL.md exceeds 100 lines
105
+ - Content has distinct domains (finance vs sales schemas)
106
+ - Advanced features are rarely needed
107
+
108
+ ## Review Checklist
109
+
110
+ After drafting, verify:
111
+
112
+ - [ ] Description includes triggers ("Use when...")
113
+ - [ ] SKILL.md under 100 lines
114
+ - [ ] No time-sensitive info
115
+ - [ ] Consistent terminology
116
+ - [ ] Concrete examples included
117
+ - [ ] References one level deep