anchi-kit 1.2.0 → 1.2.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 (80) hide show
  1. package/.antigravity/skills/article-extractor/SKILL.md +52 -0
  2. package/.antigravity/skills/artifacts-builder/SKILL.md +63 -0
  3. package/.antigravity/skills/aws-deployment/SKILL.md +85 -0
  4. package/.antigravity/skills/brainstorming/SKILL.md +73 -0
  5. package/.antigravity/skills/canvas-design/SKILL.md +62 -0
  6. package/.antigravity/skills/changelog-generator/SKILL.md +149 -0
  7. package/.antigravity/skills/changelog-generator/assets/changelog-template.md +60 -0
  8. package/.antigravity/skills/changelog-generator/scripts/generate-changelog.js +181 -0
  9. package/.antigravity/skills/claude-code/references/advanced-features.md +399 -0
  10. package/.antigravity/skills/claude-code/references/agent-skills.md +399 -0
  11. package/.antigravity/skills/claude-code/references/api-reference.md +498 -0
  12. package/.antigravity/skills/claude-code/references/best-practices.md +447 -0
  13. package/.antigravity/skills/claude-code/references/cicd-integration.md +428 -0
  14. package/.antigravity/skills/claude-code/references/common-workflows.md +119 -0
  15. package/.antigravity/skills/claude-code/references/configuration.md +480 -0
  16. package/.antigravity/skills/claude-code/references/enterprise-features.md +472 -0
  17. package/.antigravity/skills/claude-code/references/getting-started.md +252 -0
  18. package/.antigravity/skills/claude-code/references/hooks-and-plugins.md +444 -0
  19. package/.antigravity/skills/claude-code/references/hooks-comprehensive.md +622 -0
  20. package/.antigravity/skills/claude-code/references/ide-integration.md +316 -0
  21. package/.antigravity/skills/claude-code/references/mcp-integration.md +386 -0
  22. package/.antigravity/skills/claude-code/references/slash-commands.md +489 -0
  23. package/.antigravity/skills/claude-code/references/troubleshooting.md +456 -0
  24. package/.antigravity/skills/claude-code/skill.md +60 -0
  25. package/.antigravity/skills/code-quality/SKILL.md +273 -0
  26. package/.antigravity/skills/comprehensive-review/complexity.md +11 -0
  27. package/.antigravity/skills/comprehensive-review/index.yaml +19 -0
  28. package/.antigravity/skills/comprehensive-review/maintainability.md +12 -0
  29. package/.antigravity/skills/comprehensive-review/readability.md +12 -0
  30. package/.antigravity/skills/content-research-writer/SKILL.md +65 -0
  31. package/.antigravity/skills/csv-data-analyzer/SKILL.md +91 -0
  32. package/.antigravity/skills/d3-visualization/SKILL.md +65 -0
  33. package/.antigravity/skills/debugging/references/root-cause-analysis-methods.md +140 -0
  34. package/.antigravity/skills/engineering-discipline/incremental-change.md +15 -0
  35. package/.antigravity/skills/engineering-discipline/index.yaml +30 -0
  36. package/.antigravity/skills/engineering-discipline/planning-first.md +18 -0
  37. package/.antigravity/skills/engineering-discipline/reasoning-clarity.md +19 -0
  38. package/.antigravity/skills/engineering-discipline/verify-before-commit.md +17 -0
  39. package/.antigravity/skills/file-organizer/SKILL.md +64 -0
  40. package/.antigravity/skills/git-automation/SKILL.md +68 -0
  41. package/.antigravity/skills/git-automation/references/branch-finishing.md +64 -0
  42. package/.antigravity/skills/impact-scoring/SKILL.md +219 -0
  43. package/.antigravity/skills/kaizen/SKILL.md +94 -0
  44. package/.antigravity/skills/performance-patterns/SKILL.md +209 -0
  45. package/.antigravity/skills/playwright-testing/SKILL.md +115 -0
  46. package/.antigravity/skills/playwright-testing/references/playwright-patterns.md +122 -0
  47. package/.antigravity/skills/prompt-engineering/SKILL.md +126 -0
  48. package/.antigravity/skills/prompt-engineering/references/anthropic-best-practices.md +160 -0
  49. package/.antigravity/skills/pypict-testing/SKILL.md +79 -0
  50. package/.antigravity/skills/review-implementing/SKILL.md +287 -0
  51. package/.antigravity/skills/security-audit/SKILL.md +263 -0
  52. package/.antigravity/skills/software-architecture/SKILL.md +91 -0
  53. package/.antigravity/skills/software-architecture/references/solid-principles.md +293 -0
  54. package/.antigravity/skills/subagent-driven-development/SKILL.md +237 -0
  55. package/.antigravity/skills/test-driven-development/SKILL.md +130 -0
  56. package/.antigravity/skills/test-driven-development/references/tdd-patterns.md +124 -0
  57. package/.antigravity/skills/test-driven-development/references/testing-strategies.md +131 -0
  58. package/.antigravity/skills/test-fixing/SKILL.md +256 -0
  59. package/.antigravity/skills/theme-factory/SKILL.md +63 -0
  60. package/.antigravity/workflows/clean.md +333 -0
  61. package/.antigravity/workflows/health.md +228 -0
  62. package/.cursor/skills/_packs/common/pack-architecture.md +40 -0
  63. package/.cursor/skills/_packs/common/pack-devops.md +43 -0
  64. package/.cursor/skills/_packs/common/pack-productivity.md +37 -0
  65. package/.cursor/skills/_packs/common/pack-quality.md +41 -0
  66. package/.cursor/skills/_packs/data/pack-ai.md +41 -0
  67. package/.cursor/skills/_packs/data/pack-data-science.md +36 -0
  68. package/.cursor/skills/_packs/mobile/pack-mobile.md +40 -0
  69. package/.cursor/skills/_packs/web/pack-backend.md +61 -0
  70. package/.cursor/skills/_packs/web/pack-frontend.md +66 -0
  71. package/.cursor/skills/_packs/web3/pack-blockchain.md +37 -0
  72. package/.cursor/skills/advanced-coding/references/getting-started.md +93 -0
  73. package/.cursor/skills/advanced-coding/skill.md +34 -0
  74. package/.cursor/skills/template-skill/SKILL.md +6 -0
  75. package/README.md +1 -1
  76. package/docs/reference/SECURITY.md +1 -1
  77. package/package.json +2 -2
  78. package/src/cli.js +5 -5
  79. package/src/commands/dashboard.js +3 -3
  80. package/src/commands/init.js +15 -3
@@ -0,0 +1,399 @@
1
+ # Agent Skills
2
+
3
+ Create, manage, and share Skills to extend Claude's capabilities in Cursor.
4
+
5
+ ## What Are Agent Skills?
6
+
7
+ Agent Skills are modular capabilities that extend Claude's functionality. Each Skill packages:
8
+ - Instructions and procedural knowledge
9
+ - Metadata (name, description)
10
+ - Optional resources (scripts, templates, references)
11
+
12
+ Skills are automatically discovered and used by Claude when relevant to the task using progressive disclosure principle.
13
+
14
+ ## Skill Structure
15
+
16
+ ### Basic Structure
17
+ ```
18
+ .cursor/skills/
19
+ └── my-skill/
20
+ └── SKILL.md # Uppercase filename, Metadata, instructions (required)
21
+ ```
22
+
23
+ ### With Resources
24
+ ```
25
+ .cursor/skills/
26
+ └── my-skill/
27
+ ├── SKILL.md # Uppercase filename, Metadata, instructions (required)
28
+ ├── scripts/ # Executable code
29
+ ├── references/ # Documentation
30
+ └── assets/ # Templates, images
31
+ ```
32
+
33
+ ## Creating Skills
34
+
35
+ ### SKILL.md
36
+ Metadata and configuration:
37
+
38
+ **Metadata's fields:**
39
+ - `name`: Unique identifier (kebab-case)
40
+ - `description`: When Claude should activate this skill
41
+ - `version`: Semantic version
42
+ - `author`: Creator name or org
43
+
44
+ Main instructions for Claude:
45
+
46
+ ```markdown
47
+ ---
48
+ name: my-skill
49
+ description: Brief description of when to use this skill
50
+ version: 1.0.0
51
+ ---
52
+
53
+ # Skill Name
54
+
55
+ Description of what this skill does.
56
+
57
+ ## When to Use This Skill
58
+
59
+ Specific scenarios when Claude should activate this skill.
60
+
61
+ ## Instructions
62
+
63
+ Step-by-step instructions for Claude to follow.
64
+
65
+ ## Examples
66
+
67
+ Concrete examples of skill usage.
68
+ ```
69
+
70
+ ## Best Practices
71
+
72
+ ### Clear Activation Criteria
73
+ Define exactly when the skill should be used:
74
+
75
+ **Good:**
76
+ ```
77
+ Use when creating React components with TypeScript and Tailwind CSS.
78
+ ```
79
+
80
+ **Bad:**
81
+ ```
82
+ Use for frontend development.
83
+ ```
84
+
85
+ ### Concise Instructions
86
+ Focus on essential information, avoid duplication:
87
+
88
+ **Good:**
89
+ ```
90
+ 1. Create component file in src/components/
91
+ 2. Use TypeScript interfaces for props
92
+ 3. Apply Tailwind classes for styling
93
+ ```
94
+
95
+ **Bad:**
96
+ ```
97
+ First you need to think about creating a component,
98
+ then maybe you should consider...
99
+ ```
100
+
101
+ ### Actionable Guidance
102
+ Provide clear steps Claude can follow:
103
+
104
+ **Good:**
105
+ ```
106
+ Run `npm test` to validate implementation.
107
+ ```
108
+
109
+ **Bad:**
110
+ ```
111
+ You might want to test things.
112
+ ```
113
+
114
+ ### Include Examples
115
+ Show concrete input/output examples:
116
+
117
+ ```markdown
118
+ ## Examples
119
+
120
+ Input: "Create button component"
121
+ Output: Creates src/components/Button.tsx with props interface
122
+ ```
123
+
124
+ ### Scope Limitation
125
+ Keep skills focused on specific domains:
126
+
127
+ **Good:**
128
+ - `api-testing` - Testing REST APIs
129
+ - `db-migrations` - Database schema changes
130
+
131
+ **Bad:**
132
+ - `general-development` - Everything
133
+
134
+ ## Resource Types
135
+
136
+ ### Scripts (`scripts/`)
137
+ Executable code for deterministic tasks:
138
+
139
+ ```
140
+ scripts/
141
+ ├── format-code.py
142
+ ├── generate-types.js
143
+ └── run-tests.sh
144
+ ```
145
+
146
+ **When to use:**
147
+ - Repeated code generation
148
+ - Deterministic transformations
149
+ - External tool integrations
150
+
151
+ ### References (`references/`)
152
+ Documentation loaded into context as needed:
153
+
154
+ ```
155
+ references/
156
+ ├── api-docs.md
157
+ ├── schemas.md
158
+ └── workflows.md
159
+ ```
160
+
161
+ **When to use:**
162
+ - API documentation
163
+ - Database schemas
164
+ - Domain knowledge
165
+ - Detailed workflows
166
+
167
+ ### Assets (`assets/`)
168
+ Files used in output:
169
+
170
+ ```
171
+ assets/
172
+ ├── templates/
173
+ │ └── component-template.tsx
174
+ ├── icons/
175
+ └── configs/
176
+ ```
177
+
178
+ **When to use:**
179
+ - Templates
180
+ - Boilerplate code
181
+ - Images, icons
182
+ - Configuration files
183
+
184
+ ## Using Skills via API
185
+
186
+ ### TypeScript Example
187
+ ```typescript
188
+ import Anthropic from '@anthropic-ai/sdk';
189
+
190
+ const client = new Anthropic({
191
+ apiKey: process.env.ANTHROPIC_API_KEY
192
+ });
193
+
194
+ const response = await client.messages.create({
195
+ model: 'claude-sonnet-4-5-20250929',
196
+ max_tokens: 4096,
197
+ skills: [
198
+ {
199
+ type: 'custom',
200
+ custom: {
201
+ name: 'document-creator',
202
+ description: 'Creates professional documents',
203
+ instructions: 'Follow corporate style guide...'
204
+ }
205
+ }
206
+ ],
207
+ messages: [{
208
+ role: 'user',
209
+ content: 'Create a project proposal'
210
+ }]
211
+ });
212
+ ```
213
+
214
+ ### Python Example
215
+ ```python
216
+ from anthropic import Anthropic
217
+
218
+ client = Anthropic(api_key=os.environ.get("ANTHROPIC_API_KEY"))
219
+
220
+ response = client.messages.create(
221
+ model="claude-sonnet-4-5-20250929",
222
+ max_tokens=4096,
223
+ skills=[
224
+ {
225
+ "type": "custom",
226
+ "custom": {
227
+ "name": "code-reviewer",
228
+ "description": "Reviews code for quality and security",
229
+ "instructions": "Check for common issues..."
230
+ }
231
+ }
232
+ ],
233
+ messages=[{
234
+ "role": "user",
235
+ "content": "Review this code"
236
+ }]
237
+ )
238
+ ```
239
+
240
+ ## Skill Discovery
241
+
242
+ Claude automatically discovers skills:
243
+
244
+ 1. **Global skills**: `~/.cursor/skills/`
245
+ 2. **Project skills**: `.cursor/skills/`
246
+ 3. **Plugin skills**: From installed plugins
247
+
248
+ Skills are activated when:
249
+ - Task matches skill description
250
+ - User explicitly invokes skill
251
+ - Context suggests skill is relevant
252
+
253
+ ## Managing Skills
254
+
255
+ ### List Skills
256
+ ```bash
257
+ claude skills list
258
+ ```
259
+
260
+ ### Test Skill
261
+ ```bash
262
+ claude --skill my-skill "test task"
263
+ ```
264
+
265
+ ### Share Skill
266
+ ```bash
267
+ # Package skill
268
+ cd .cursor/skills/my-skill
269
+ tar -czf my-skill.tar.gz .
270
+
271
+ # Or create plugin
272
+ # See references/hooks-and-plugins.md
273
+ ```
274
+
275
+ ### Install Skill
276
+ ```bash
277
+ # Manual installation
278
+ cd .cursor/skills/
279
+ tar -xzf my-skill.tar.gz
280
+ ```
281
+
282
+ ## Example Skills
283
+
284
+ ### API Testing Skill
285
+
286
+ **SKILL.md:**
287
+ ```markdown
288
+ ---
289
+ name: api-testing
290
+ description: Test REST APIs with automated requests
291
+ version: 1.0.0
292
+ ---
293
+ # API Testing
294
+
295
+ Test REST APIs with comprehensive validation.
296
+
297
+ ## When to Use
298
+
299
+ Use when testing API endpoints, validating responses, or
300
+ creating API test suites.
301
+
302
+ ## Instructions
303
+
304
+ 1. Read API documentation from references/api-docs.md
305
+ 2. Use scripts/test-api.py for making requests
306
+ 3. Validate response status, headers, body
307
+ 4. Generate test report
308
+
309
+ ## Examples
310
+
311
+ Request: "Test the /users endpoint"
312
+ Actions:
313
+ - Read references/api-docs.md for endpoint spec
314
+ - Run scripts/test-api.py --endpoint /users
315
+ - Validate response matches schema
316
+ - Report results
317
+ ```
318
+
319
+ ### Database Migration Skill
320
+
321
+ **SKILL.md:**
322
+ ```markdown
323
+ ---
324
+ name: db-migrations
325
+ description: Create and manage database migrations
326
+ version: 1.0.0
327
+ ---
328
+
329
+ # Database Migrations
330
+
331
+ Create safe, reversible database schema changes.
332
+
333
+ ## When to Use
334
+
335
+ Use when modifying database schema, adding tables,
336
+ or changing column definitions.
337
+
338
+ ## Instructions
339
+
340
+ 1. Review current schema in references/schema.md
341
+ 2. Create migration file in migrations/
342
+ 3. Include both up and down migrations
343
+ 4. Test migration on development database
344
+ 5. Update references/schema.md
345
+
346
+ ## Migration Template
347
+
348
+ See assets/migration-template.sql for standard format.
349
+ ```
350
+
351
+ ## Progressive Disclosure
352
+
353
+ Keep `SKILL.md` concise (<100 lines) by:
354
+
355
+ 1. **Core instructions** in `SKILL.md`
356
+ 2. **Detailed docs** in references/
357
+ 3. **Executable code** in scripts/
358
+ 4. **Templates** in assets/
359
+
360
+ Example structure:
361
+ ```markdown
362
+ # My Skill
363
+
364
+ Brief overview.
365
+
366
+ ## When to Use
367
+
368
+ Clear activation criteria.
369
+
370
+ ## Instructions
371
+
372
+ High-level steps that reference:
373
+ - references/detailed-workflow.md
374
+ - scripts/automation.py
375
+ - assets/template.tsx
376
+ ```
377
+
378
+ ## Troubleshooting
379
+
380
+ ### Skill Not Activating
381
+ - Check description specificity
382
+ - Ensure `SKILL.md` has clear activation criteria
383
+
384
+ ### Resource Not Found
385
+ - Verify file paths in `SKILL.md`
386
+ - Check directory structure
387
+ - Use relative paths from skill root
388
+
389
+ ### Conflicting Skills
390
+ - Make descriptions more specific
391
+ - Use unique names
392
+ - Scope skills narrowly
393
+
394
+ ## See Also
395
+
396
+ - Skill creation guide: https://docs.cursor.com/claude-code/skills
397
+ - Best practices: https://docs.cursor.com/agents-and-tools/agent-skills/best-practices
398
+ - API usage: `references/api-reference.md`
399
+ - Plugin system: `references/hooks-and-plugins.md`