unifai 2.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.
Files changed (77) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +106 -0
  3. package/dist/adapters/antigravity.d.ts +24 -0
  4. package/dist/adapters/antigravity.d.ts.map +1 -0
  5. package/dist/adapters/base.d.ts +60 -0
  6. package/dist/adapters/base.d.ts.map +1 -0
  7. package/dist/adapters/claude.d.ts +25 -0
  8. package/dist/adapters/claude.d.ts.map +1 -0
  9. package/dist/adapters/copilot.d.ts +25 -0
  10. package/dist/adapters/copilot.d.ts.map +1 -0
  11. package/dist/adapters/cursor.d.ts +30 -0
  12. package/dist/adapters/cursor.d.ts.map +1 -0
  13. package/dist/adapters/index.d.ts +39 -0
  14. package/dist/adapters/index.d.ts.map +1 -0
  15. package/dist/adapters/opencode.d.ts +25 -0
  16. package/dist/adapters/opencode.d.ts.map +1 -0
  17. package/dist/chunk-63EFN7CX.js +450 -0
  18. package/dist/cli.d.ts +3 -0
  19. package/dist/cli.d.ts.map +1 -0
  20. package/dist/cli.js +14908 -0
  21. package/dist/cli.js.map +97 -0
  22. package/dist/commands/agent.d.ts +34 -0
  23. package/dist/commands/agent.d.ts.map +1 -0
  24. package/dist/commands/init.d.ts +16 -0
  25. package/dist/commands/init.d.ts.map +1 -0
  26. package/dist/commands/install.d.ts +8 -0
  27. package/dist/commands/install.d.ts.map +1 -0
  28. package/dist/commands/list.d.ts +8 -0
  29. package/dist/commands/list.d.ts.map +1 -0
  30. package/dist/commands/mcp.d.ts +40 -0
  31. package/dist/commands/mcp.d.ts.map +1 -0
  32. package/dist/commands/remove.d.ts +8 -0
  33. package/dist/commands/remove.d.ts.map +1 -0
  34. package/dist/commands/sync.d.ts +19 -0
  35. package/dist/commands/sync.d.ts.map +1 -0
  36. package/dist/commands/tui.d.ts +14 -0
  37. package/dist/commands/tui.d.ts.map +1 -0
  38. package/dist/data/prompts.d.ts +36 -0
  39. package/dist/data/prompts.d.ts.map +1 -0
  40. package/dist/index.d.ts +16 -0
  41. package/dist/index.d.ts.map +1 -0
  42. package/dist/index.js +10648 -0
  43. package/dist/index.js.map +82 -0
  44. package/dist/openskill-ai.exe +0 -0
  45. package/dist/registry.d.ts +38 -0
  46. package/dist/registry.d.ts.map +1 -0
  47. package/dist/types/config.d.ts +103 -0
  48. package/dist/types/config.d.ts.map +1 -0
  49. package/dist/types/index.d.ts +8 -0
  50. package/dist/types/index.d.ts.map +1 -0
  51. package/dist/types.d.ts +23 -0
  52. package/dist/types.d.ts.map +1 -0
  53. package/dist/utils/agents.d.ts +15 -0
  54. package/dist/utils/agents.d.ts.map +1 -0
  55. package/dist/utils/fs-helpers.d.ts +29 -0
  56. package/dist/utils/fs-helpers.d.ts.map +1 -0
  57. package/dist/utils/git.d.ts +23 -0
  58. package/dist/utils/git.d.ts.map +1 -0
  59. package/dist/utils/installer.d.ts +37 -0
  60. package/dist/utils/installer.d.ts.map +1 -0
  61. package/dist/utils/project-detector.d.ts +23 -0
  62. package/dist/utils/project-detector.d.ts.map +1 -0
  63. package/dist/utils/readme-generator.d.ts +9 -0
  64. package/dist/utils/readme-generator.d.ts.map +1 -0
  65. package/dist/utils/skills.d.ts +11 -0
  66. package/dist/utils/skills.d.ts.map +1 -0
  67. package/package.json +78 -0
  68. package/skills/skill-writer-skills/AGENTS.md +637 -0
  69. package/skills/skill-writer-skills/README.md +49 -0
  70. package/skills/skill-writer-skills/SKILL.md +97 -0
  71. package/skills/skill-writer-skills/metadata.json +17 -0
  72. package/skills/skill-writer-skills/references/common-pitfalls.md +291 -0
  73. package/skills/skill-writer-skills/references/core-principles.md +147 -0
  74. package/skills/skill-writer-skills/references/creation-process.md +250 -0
  75. package/skills/skill-writer-skills/references/design-patterns.md +300 -0
  76. package/skills/skill-writer-skills/references/skill-anatomy.md +174 -0
  77. package/skills/skill-writer-skills/references/validation-checklist.md +194 -0
@@ -0,0 +1,194 @@
1
+ # Skill Validation Checklist
2
+
3
+ Complete checklist to validate a skill before packaging and distribution.
4
+
5
+ ---
6
+
7
+ ## Pre-Packaging Validation
8
+
9
+ ### Frontmatter ✓
10
+
11
+ - [ ] **name field present**
12
+ - Lowercase letters, numbers, hyphens only
13
+ - Matches directory name
14
+ - Max 64 characters
15
+
16
+ - [ ] **description field present**
17
+ - Under 1024 characters
18
+ - Includes WHAT the skill does
19
+ - Includes WHEN to use it (triggers)
20
+ - Uses specific trigger words and contexts
21
+
22
+ - [ ] **No extra frontmatter fields**
23
+ - Only `name` and `description` allowed
24
+ - No `version`, `author`, `tags` in frontmatter
25
+
26
+ ---
27
+
28
+ ### SKILL.md Content ✓
29
+
30
+ - [ ] **Under 500 lines**
31
+ - If longer, split content to references/
32
+
33
+ - [ ] **Only essential information**
34
+ - No explanations Claude already knows
35
+ - Each sentence justifies its token cost
36
+
37
+ - [ ] **Uses imperative form**
38
+ - "Run the script" not "You should run the script"
39
+ - "Validate the input" not "The input should be validated"
40
+
41
+ - [ ] **Clear resource references**
42
+ - Links to scripts/ files
43
+ - Links to references/ files
44
+ - Links to assets/ files
45
+
46
+ - [ ] **Multi-step processes have overview**
47
+ - Steps listed early in document
48
+ - Clear sequence with script references
49
+
50
+ ---
51
+
52
+ ### Bundled Resources ✓
53
+
54
+ #### scripts/
55
+ - [ ] All scripts tested and working
56
+ - [ ] Error handling included
57
+ - [ ] No hardcoded paths or credentials
58
+ - [ ] Comments for non-obvious logic
59
+
60
+ #### references/
61
+ - [ ] Organized by domain/use case
62
+ - [ ] No duplication with SKILL.md content
63
+ - [ ] Large files (>10k words) have search guidance
64
+
65
+ #### assets/
66
+ - [ ] Only output-related files
67
+ - [ ] No documentation in assets
68
+ - [ ] Organized logically
69
+
70
+ ---
71
+
72
+ ### Structure ✓
73
+
74
+ - [ ] **No unnecessary files**
75
+ - No README.md in skill directory
76
+ - No CHANGELOG.md
77
+ - No INSTALLATION.md
78
+ - No CONTRIBUTING.md
79
+ - No test files
80
+ - No .git directory
81
+
82
+ - [ ] **No duplication**
83
+ - Info in SKILL.md OR references, not both
84
+ - Single source of truth for each topic
85
+
86
+ - [ ] **Appropriate freedom levels**
87
+ - High freedom for flexible tasks
88
+ - Low freedom for fragile operations
89
+ - Medium freedom for configurable patterns
90
+
91
+ ---
92
+
93
+ ### Description Quality ✓
94
+
95
+ Run this mental test for the description:
96
+
97
+ 1. **Trigger Test**: If a user says these phrases, will the skill trigger?
98
+ - [ ] Primary use case phrase
99
+ - [ ] Secondary use case phrase
100
+ - [ ] File type if applicable (.pdf, .json, etc.)
101
+
102
+ 2. **Clarity Test**: Does the description answer:
103
+ - [ ] WHAT does this skill do?
104
+ - [ ] WHEN should it be used?
105
+ - [ ] WHAT types of requests trigger it?
106
+
107
+ 3. **Specificity Test**:
108
+ - [ ] Uses specific trigger words, not generic terms
109
+ - [ ] Mentions specific file types if applicable
110
+ - [ ] Lists specific operations or actions
111
+
112
+ ---
113
+
114
+ ## Example: Validated vs. Needs Work
115
+
116
+ ### ❌ Needs Work
117
+
118
+ ```yaml
119
+ ---
120
+ name: DocumentHelper
121
+ description: Helps with documents
122
+ ---
123
+
124
+ # Document Helper
125
+
126
+ ## When to Use
127
+ Use when working with documents.
128
+
129
+ ## Features
130
+ This skill can help you with many document tasks like editing,
131
+ creating, and managing documents. It supports various formats
132
+ and provides helpful utilities.
133
+ ```
134
+
135
+ **Issues:**
136
+ - Name: Uses capitals
137
+ - Description: Too vague, no triggers
138
+ - Body: "When to Use" should be in description
139
+ - Body: Too generic, no specific guidance
140
+
141
+ ### ✓ Validated
142
+
143
+ ```yaml
144
+ ---
145
+ name: document-helper
146
+ description: Create, edit, and analyze Word documents (.docx). Use when
147
+ working with contracts, reports, proposals, or any .docx file. Triggers
148
+ on requests for document creation, editing tracked changes, adding
149
+ comments, or extracting text from Word files.
150
+ ---
151
+
152
+ # Document Helper
153
+
154
+ ## Quick Start
155
+
156
+ Create a new document:
157
+ ```python
158
+ from docx import Document
159
+ doc = Document()
160
+ doc.add_paragraph("Hello, World!")
161
+ doc.save("output.docx")
162
+ ```
163
+
164
+ ## Features
165
+
166
+ | Task | See |
167
+ |------|-----|
168
+ | Create documents | Quick Start above |
169
+ | Tracked changes | [references/tracking.md](references/tracking.md) |
170
+ | Comments | [references/comments.md](references/comments.md) |
171
+ | Formatting | [references/formatting.md](references/formatting.md) |
172
+ ```
173
+
174
+ **Passing:**
175
+ - Name: lowercase, hyphenated
176
+ - Description: specific, includes triggers and file types
177
+ - Body: useful immediately, no fluff
178
+ - References: organized, linked clearly
179
+
180
+ ---
181
+
182
+ ## Final Validation Steps
183
+
184
+ 1. **Read description aloud** - Does it clearly communicate what and when?
185
+
186
+ 2. **Count SKILL.md lines** - Is it under 500?
187
+
188
+ 3. **Run all scripts** - Do they work without errors?
189
+
190
+ 4. **Check for duplicates** - Is any content in multiple files?
191
+
192
+ 5. **Remove extras** - Are there any files Claude doesn't need?
193
+
194
+ Once all checks pass, the skill is ready for packaging.