@wipal/agent-team 1.0.3 → 1.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.
- package/.claude/commands/skills/discover.md +127 -0
- package/.claude/commands/skills/install.md +225 -0
- package/.claude/commands/skills/review.md +234 -0
- package/.claude/commands/utils/learn.md +142 -0
- package/.claude/commands/utils/retrospect.md +62 -0
- package/.claude/commands/utils/switch.md +113 -0
- package/.claude/commands/utils/sync.md +183 -0
- package/.claude/rules/common/general-rules.md +6 -0
- package/.claude/rules/role-rules/dev-be-rules.md +241 -0
- package/.claude/rules/role-rules/dev-fe-rules.md +76 -0
- package/.claude/skills/SKILL-INDEX.md +24 -5
- package/.claude/skills/core/knowledge-graph/SKILL.md +214 -0
- package/.claude/skills/core/sequential-thinking/SKILL.md +112 -0
- package/.claude/skills/core/sequential-thinking/references/advanced.md +122 -0
- package/.claude/skills/core/sequential-thinking/references/examples.md +274 -0
- package/.claude/skills/domain/architecture/c4-architecture/SKILL.md +314 -0
- package/.claude/skills/domain/architecture/c4-architecture/references/advanced-patterns.md +552 -0
- package/.claude/skills/domain/architecture/c4-architecture/references/c4-syntax.md +492 -0
- package/.claude/skills/domain/architecture/c4-architecture/references/common-mistakes.md +437 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/SKILL.md +238 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/references/advanced-features.md +556 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/references/architecture-diagrams.md +192 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/references/c4-diagrams.md +410 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/references/class-diagrams.md +361 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/references/erd-diagrams.md +510 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/references/flowcharts.md +450 -0
- package/.claude/skills/domain/architecture/mermaid-diagrams/references/sequence-diagrams.md +394 -0
- package/.claude/skills/domain/backend/testing-be/SKILL.md +121 -17
- package/.claude/skills/domain/design/design-system/SKILL.md +169 -0
- package/.claude/skills/domain/design/html-css-output/SKILL.md +253 -0
- package/.claude/skills/domain/design/mockup-creation/SKILL.md +230 -0
- package/.claude/skills/domain/design/responsive-design/SKILL.md +207 -0
- package/.claude/skills/domain/design/ui-design/SKILL.md +124 -0
- package/.claude/skills/domain/frontend/testing-fe/SKILL.md +143 -38
- package/.claude/skills/domain/frontend/ui-ux-pro-max/README.md +45 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/SKILL.md +404 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/charts.csv +26 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/colors.csv +97 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/icons.csv +101 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/landing.csv +31 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/products.csv +97 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/react-performance.csv +45 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/astro.csv +54 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/flutter.csv +53 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/html-tailwind.csv +56 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/jetpack-compose.csv +53 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/nextjs.csv +53 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/nuxt-ui.csv +51 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/nuxtjs.csv +59 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/react-native.csv +52 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/react.csv +54 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/shadcn.csv +61 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/svelte.csv +54 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/swiftui.csv +51 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/stacks/vue.csv +50 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/styles.csv +68 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/typography.csv +58 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/ui-reasoning.csv +101 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/ux-guidelines.csv +100 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/data/web-interface.csv +31 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/scripts/core.py +253 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/scripts/design_system.py +1067 -0
- package/.claude/skills/domain/frontend/ui-ux-pro-max/scripts/search.py +114 -0
- package/.claude/skills/domain/product/requirements-clarity/SKILL.md +340 -0
- package/.claude/skills/skills-registry.yaml +103 -8
- package/README.md +107 -33
- package/README.npm.md +252 -0
- package/TUTORIAL.md +256 -0
- package/bin/agent-team.js +26 -7
- package/config/roles.yaml +107 -0
- package/docs/01-architecture.md +699 -0
- package/docs/02-setup-guide.md +634 -0
- package/docs/03-skills-guide.md +628 -0
- package/docs/04-workflows.md +792 -0
- package/docs/05-model-strategy.md +550 -0
- package/docs/06-extend-guide.md +1226 -0
- package/docs/07-quick-reference.md +578 -0
- package/docs/08-skills-discovery.md +342 -0
- package/docs/README.md +134 -0
- package/docs/rqm.md +560 -0
- package/package.json +10 -4
- package/scripts/postinstall.js +46 -0
- package/src/commands/add.js +131 -67
- package/src/commands/init.js +419 -9
- package/src/commands/list.js +20 -16
- package/src/commands/projects.js +127 -0
- package/src/commands/setup-hooks.js +261 -0
- package/src/index.js +0 -1
- package/src/utils/file-utils.js +147 -50
- package/src/utils/global-registry.js +224 -0
- package/templates/CLAUDE.md.tmpl +128 -20
- package/templates/MEMORY.md.tmpl +119 -0
- package/templates/agent.md.tmpl +205 -0
- package/templates/code/nestjs-controller.ts.tmpl +49 -0
- package/templates/code/nestjs-dto.ts.tmpl +63 -0
- package/templates/code/nestjs-service.ts.tmpl +45 -0
- package/templates/code/react-component.tsx.tmpl +24 -0
- package/templates/code/react-hook.ts.tmpl +54 -0
- package/templates/code/test.spec.ts.tmpl +50 -0
- package/templates/code/vue-component.vue.tmpl +49 -0
- package/templates/code/vue-composable.ts.tmpl +54 -0
- package/templates/knowledge.md.tmpl +152 -17
- package/templates/meeting-notes.md.tmpl +110 -0
- package/templates/memory/hooks.memory.json +50 -0
- package/templates/memory/settings.memory.json +16 -0
- package/templates/reports/bug-report.md.tmpl +164 -0
- package/templates/reports/code-review.md.tmpl +201 -0
- package/templates/reports/sprint-report.md.tmpl +218 -0
- package/templates/roles/ba.md +53 -0
- package/templates/roles/designer.md +82 -0
- package/templates/roles/dev-be.md +49 -0
- package/templates/roles/dev-fe.md +49 -0
- package/templates/roles/devops.md +53 -0
- package/templates/roles/pm.md +49 -0
- package/templates/roles/qa.md +53 -0
- package/templates/roles/sa.md +49 -0
- package/templates/roles/tech-lead.md +132 -0
- package/templates/skills/memory/memory-status.md +78 -0
- package/templates/skills/memory/recall.md +160 -0
- package/templates/skills/memory/reflect.md +168 -0
- package/templates/skills/memory/remember.md +105 -0
- package/templates/tasks/lessons.md.tmpl +77 -0
- package/templates/tasks/todo.md.tmpl +53 -0
- package/src/commands/switch.js +0 -53
|
@@ -0,0 +1,127 @@
|
|
|
1
|
+
# Discover Skills from skills.sh
|
|
2
|
+
|
|
3
|
+
Search and discover skills from the skills.sh directory.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
/discover <search-query> [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Arguments
|
|
12
|
+
|
|
13
|
+
- `<search-query>` - Keywords to search for (e.g., "react", "api design", "testing")
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
- `--role <role>` - Filter by agent role (dev-fe, dev-be, sa, devops, tech-lead, pm, qa)
|
|
18
|
+
- `--category <cat>` - Filter by category (frontend, backend, architecture, devops, product, quality)
|
|
19
|
+
- `--official` - Only show official sources (Anthropic, Vercel, Microsoft, etc.)
|
|
20
|
+
- `--community` - Only show community sources
|
|
21
|
+
- `--limit <n>` - Limit results (default: 10)
|
|
22
|
+
|
|
23
|
+
## Examples
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
# Search for React skills
|
|
27
|
+
/discover react
|
|
28
|
+
|
|
29
|
+
# Search for frontend skills
|
|
30
|
+
/discover frontend --category frontend
|
|
31
|
+
|
|
32
|
+
# Search for dev-fe specific skills
|
|
33
|
+
/discover components --role dev-fe
|
|
34
|
+
|
|
35
|
+
# Search official sources only
|
|
36
|
+
/discover testing --official
|
|
37
|
+
|
|
38
|
+
# Search for backend API skills
|
|
39
|
+
/discover api rest --category backend
|
|
40
|
+
```
|
|
41
|
+
|
|
42
|
+
## What This Command Does
|
|
43
|
+
|
|
44
|
+
1. **Searches skills.sh** - Uses web search to query the skills.sh directory
|
|
45
|
+
2. **Filters results** - Based on provided options (role, category, source type)
|
|
46
|
+
3. **Presents findings** - Shows:
|
|
47
|
+
- Skill name and description
|
|
48
|
+
- Source (official/community)
|
|
49
|
+
- Install count
|
|
50
|
+
- Security status indicator
|
|
51
|
+
|
|
52
|
+
## Output Format
|
|
53
|
+
|
|
54
|
+
```
|
|
55
|
+
🔍 Skills Discovery Results: "<search-query>"
|
|
56
|
+
|
|
57
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
58
|
+
│ OFFICIAL SOURCES (✅ Auto-validated) │
|
|
59
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
60
|
+
│ 1. react-best-practices │
|
|
61
|
+
│ Source: vercel-labs/agent-skills │
|
|
62
|
+
│ Installs: 169K │
|
|
63
|
+
│ Description: 40+ rules for React performance and best practices │
|
|
64
|
+
│ │
|
|
65
|
+
│ 2. frontend-design │
|
|
66
|
+
│ Source: anthropics/skills │
|
|
67
|
+
│ Installs: 100K │
|
|
68
|
+
│ Description: Production-grade UI components with React/Tailwind │
|
|
69
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
70
|
+
|
|
71
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
72
|
+
│ COMMUNITY SOURCES (⚠️ Security review required) │
|
|
73
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
74
|
+
│ 3. tailwind-design-system │
|
|
75
|
+
│ Source: wshobson/agents │
|
|
76
|
+
│ Installs: 11K │
|
|
77
|
+
│ Description: Tailwind CSS design system patterns │
|
|
78
|
+
│ │
|
|
79
|
+
│ 4. vue-best-practices │
|
|
80
|
+
│ Source: antfu/skills │
|
|
81
|
+
│ Installs: 7K │
|
|
82
|
+
│ Description: Vue.js best practices and patterns │
|
|
83
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
84
|
+
|
|
85
|
+
📋 To install: /install-skill <owner/repo> --skill <skill-name>
|
|
86
|
+
📋 Example: /install-skill vercel-labs/agent-skills --skill react-best-practices
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
## Search Tips
|
|
90
|
+
|
|
91
|
+
### By Technology
|
|
92
|
+
|
|
93
|
+
| Search Query | Expected Results |
|
|
94
|
+
|--------------|------------------|
|
|
95
|
+
| `react` | React patterns, hooks, best practices |
|
|
96
|
+
| `vue` | Vue.js patterns, composition API |
|
|
97
|
+
| `nestjs` | NestJS backend patterns |
|
|
98
|
+
| `fastapi` | FastAPI Python patterns |
|
|
99
|
+
| `tailwind` | Tailwind CSS patterns |
|
|
100
|
+
| `docker` | Docker, containerization |
|
|
101
|
+
| `kubernetes` | K8s patterns |
|
|
102
|
+
|
|
103
|
+
### By Role
|
|
104
|
+
|
|
105
|
+
| Role | Suggested Queries |
|
|
106
|
+
|------|-------------------|
|
|
107
|
+
| dev-fe | `react`, `vue`, `frontend`, `components`, `styling` |
|
|
108
|
+
| dev-be | `api`, `database`, `nestjs`, `fastapi`, `prisma` |
|
|
109
|
+
| sa | `architecture`, `microservices`, `design`, `patterns` |
|
|
110
|
+
| devops | `docker`, `kubernetes`, `ci-cd`, `terraform` |
|
|
111
|
+
| tech-lead | `code-review`, `mentoring`, `decision` |
|
|
112
|
+
| pm | `requirements`, `user-stories`, `sprint` |
|
|
113
|
+
| qa | `testing`, `e2e`, `playwright`, `cypress` |
|
|
114
|
+
|
|
115
|
+
## How Search Works
|
|
116
|
+
|
|
117
|
+
1. Uses web search with `site:skills.sh` filter
|
|
118
|
+
2. Queries: `site:skills.sh <search-query> <category-filter>`
|
|
119
|
+
3. Parses results for skill metadata
|
|
120
|
+
4. Cross-references with skills-registry.yaml for installed status
|
|
121
|
+
|
|
122
|
+
## Notes
|
|
123
|
+
|
|
124
|
+
- Results may vary based on skills.sh availability
|
|
125
|
+
- Install counts are from skills.sh leaderboard
|
|
126
|
+
- Official sources are from recognized tech companies
|
|
127
|
+
- Community sources require security validation before install
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
# Install Skill from skills.sh
|
|
2
|
+
|
|
3
|
+
Install a skill from skills.sh with automatic security validation.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
/install-skill <owner/repo> [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Arguments
|
|
12
|
+
|
|
13
|
+
- `<owner/repo>` - GitHub repository (e.g., `vercel-labs/agent-skills`)
|
|
14
|
+
|
|
15
|
+
## Options
|
|
16
|
+
|
|
17
|
+
- `--skill <name>` - Specific skill from multi-skill repos
|
|
18
|
+
- `--validate` - Run security validation (default: true)
|
|
19
|
+
- `--no-validate` - Skip validation (not recommended)
|
|
20
|
+
- `--dry-run` - Download and validate without installing
|
|
21
|
+
- `--customize` - Open for customization after install
|
|
22
|
+
|
|
23
|
+
## Examples
|
|
24
|
+
|
|
25
|
+
```bash
|
|
26
|
+
# Install specific skill from multi-skill repo
|
|
27
|
+
/install-skill vercel-labs/agent-skills --skill react-best-practices
|
|
28
|
+
|
|
29
|
+
# Install from official source
|
|
30
|
+
/install-skill anthropics/skills --skill pdf
|
|
31
|
+
|
|
32
|
+
# Dry run to check before installing
|
|
33
|
+
/install-skill community/skill --dry-run
|
|
34
|
+
|
|
35
|
+
# Install with customization
|
|
36
|
+
/install-skill vercel-labs/agent-skills --skill frontend-design --customize
|
|
37
|
+
```
|
|
38
|
+
|
|
39
|
+
## Installation Workflow
|
|
40
|
+
|
|
41
|
+
```
|
|
42
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
43
|
+
│ SKILL INSTALLATION WORKFLOW │
|
|
44
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
45
|
+
│ │
|
|
46
|
+
│ 1. FETCH │
|
|
47
|
+
│ ├── npx skills add <owner/repo> --dry-run │
|
|
48
|
+
│ └── Download to ~/.skills/ │
|
|
49
|
+
│ │
|
|
50
|
+
│ 2. VALIDATE (unless --no-validate) │
|
|
51
|
+
│ ├── Check source type (official/community) │
|
|
52
|
+
│ ├── Run security-validator skill │
|
|
53
|
+
│ └── Generate security report │
|
|
54
|
+
│ │
|
|
55
|
+
│ 3. REPORT FINDINGS │
|
|
56
|
+
│ ├── Official: Auto-approve with logging │
|
|
57
|
+
│ ├── Community: Present issues for user review │
|
|
58
|
+
│ └── If issues: Wait for user decision │
|
|
59
|
+
│ │
|
|
60
|
+
│ 4. INSTALL │
|
|
61
|
+
│ ├── Determine target directory: │
|
|
62
|
+
│ │ ├── Official → .claude/skills/domain/<category>/ │
|
|
63
|
+
│ │ └── Community → .claude/skills/community/ │
|
|
64
|
+
│ ├── Copy skill files │
|
|
65
|
+
│ └── Preserve structure (SKILL.md, references/) │
|
|
66
|
+
│ │
|
|
67
|
+
│ 5. REGISTER │
|
|
68
|
+
│ ├── Add to skills-registry.yaml │
|
|
69
|
+
│ ├── Save security report to security-reports/ │
|
|
70
|
+
│ └── Update SKILL-INDEX.md if needed │
|
|
71
|
+
│ │
|
|
72
|
+
│ 6. CUSTOMIZE (if --customize) │
|
|
73
|
+
│ ├── Open SKILL.md for editing │
|
|
74
|
+
│ └── Adjust for project needs │
|
|
75
|
+
│ │
|
|
76
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
77
|
+
```
|
|
78
|
+
|
|
79
|
+
## Source Type Detection
|
|
80
|
+
|
|
81
|
+
| Source | Installation Path | Validation |
|
|
82
|
+
|--------|-------------------|------------|
|
|
83
|
+
| Official (anthropics, vercel-labs, etc.) | `.claude/skills/domain/<category>/` | Auto-approve |
|
|
84
|
+
| Community | `.claude/skills/community/` | Review required |
|
|
85
|
+
| Local existing | Skip (already installed) | N/A |
|
|
86
|
+
|
|
87
|
+
## Security Validation
|
|
88
|
+
|
|
89
|
+
### Official Sources (Auto-approve)
|
|
90
|
+
|
|
91
|
+
```
|
|
92
|
+
✅ Source: vercel-labs (Official)
|
|
93
|
+
✅ Security: Auto-validated
|
|
94
|
+
✅ Installing to: .claude/skills/domain/frontend/react-best-practices/
|
|
95
|
+
|
|
96
|
+
[Proceeding with installation...]
|
|
97
|
+
```
|
|
98
|
+
|
|
99
|
+
### Community Sources (Review Required)
|
|
100
|
+
|
|
101
|
+
```
|
|
102
|
+
⚠️ Source: community-dev (Community)
|
|
103
|
+
⚠️ Security review required
|
|
104
|
+
|
|
105
|
+
Running security validation...
|
|
106
|
+
|
|
107
|
+
📋 Security Report:
|
|
108
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
109
|
+
│ Check │ Status │ Issues │
|
|
110
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
111
|
+
│ Code Review │ PASS │ 0 │
|
|
112
|
+
│ Command Scan │ WARN │ 1 (eval() on line 42) │
|
|
113
|
+
│ URL Check │ PASS │ 0 │
|
|
114
|
+
│ Dependency │ PASS │ 0 │
|
|
115
|
+
│ Data Exfil │ PASS │ 0 │
|
|
116
|
+
│ File Access │ PASS │ 0 │
|
|
117
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
118
|
+
|
|
119
|
+
🟡 1 MEDIUM issue found:
|
|
120
|
+
- eval() usage at SKILL.md:42
|
|
121
|
+
- Recommendation: Use JSON.parse() instead
|
|
122
|
+
|
|
123
|
+
Decision required:
|
|
124
|
+
[1] APPROVE - Install anyway (acknowledge risk)
|
|
125
|
+
[2] APPROVE WITH FIX - Fix issue then install
|
|
126
|
+
[3] REJECT - Do not install
|
|
127
|
+
|
|
128
|
+
Your choice: _
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
## Output
|
|
132
|
+
|
|
133
|
+
### Successful Installation
|
|
134
|
+
|
|
135
|
+
```
|
|
136
|
+
✅ Skill Installed Successfully
|
|
137
|
+
|
|
138
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
139
|
+
│ Skill: react-best-practices │
|
|
140
|
+
│ Source: vercel-labs/agent-skills │
|
|
141
|
+
│ Installed to: .claude/skills/domain/frontend/react-best-practices/ │
|
|
142
|
+
│ Security: ✅ Passed (Official source) │
|
|
143
|
+
│ Registered: skills-registry.yaml │
|
|
144
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
145
|
+
|
|
146
|
+
Files:
|
|
147
|
+
├── SKILL.md
|
|
148
|
+
└── references/
|
|
149
|
+
└── performance-rules.md
|
|
150
|
+
|
|
151
|
+
Next steps:
|
|
152
|
+
- Review skill content: cat .claude/skills/domain/frontend/react-best-practices/SKILL.md
|
|
153
|
+
- Use in agent creation: /agent-creation
|
|
154
|
+
- Link to existing agent: ln -s ../../skills/domain/frontend/react-best-practices .claude/agents/<agent>/skills/
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
### Dry Run Output
|
|
158
|
+
|
|
159
|
+
```
|
|
160
|
+
🔍 Dry Run: Skill Analysis
|
|
161
|
+
|
|
162
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
163
|
+
│ Skill: example-skill │
|
|
164
|
+
│ Source: community/example-repo │
|
|
165
|
+
│ Would install to: .claude/skills/community/example-skill/ │
|
|
166
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
167
|
+
|
|
168
|
+
Security Analysis:
|
|
169
|
+
├── Code Review: PASS
|
|
170
|
+
├── Command Scan: PASS
|
|
171
|
+
├── URL Check: WARN (1 unknown domain)
|
|
172
|
+
├── Dependency: PASS
|
|
173
|
+
├── Data Exfil: PASS
|
|
174
|
+
└── File Access: PASS
|
|
175
|
+
|
|
176
|
+
⚠️ Would require user approval before installation.
|
|
177
|
+
|
|
178
|
+
Run without --dry-run to install.
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
## Common Issues
|
|
182
|
+
|
|
183
|
+
### Skill Already Installed
|
|
184
|
+
|
|
185
|
+
```
|
|
186
|
+
⚠️ Skill already installed: react-best-practices
|
|
187
|
+
Location: .claude/skills/domain/frontend/react-best-practices/
|
|
188
|
+
|
|
189
|
+
Options:
|
|
190
|
+
--force Reinstall and overwrite
|
|
191
|
+
--update Update to latest version
|
|
192
|
+
```
|
|
193
|
+
|
|
194
|
+
### Skill Not Found
|
|
195
|
+
|
|
196
|
+
```
|
|
197
|
+
❌ Skill not found: <owner/repo>
|
|
198
|
+
|
|
199
|
+
Suggestions:
|
|
200
|
+
- Check the repository exists on GitHub
|
|
201
|
+
- Verify the skill name with --skill option
|
|
202
|
+
- Search first: /discover <keyword>
|
|
203
|
+
```
|
|
204
|
+
|
|
205
|
+
### Validation Failed (Critical)
|
|
206
|
+
|
|
207
|
+
```
|
|
208
|
+
🔴 Critical security issues found!
|
|
209
|
+
|
|
210
|
+
Issues:
|
|
211
|
+
1. CRITICAL: Malicious code pattern detected
|
|
212
|
+
2. CRITICAL: External IP URL found
|
|
213
|
+
|
|
214
|
+
Recommendation: DO NOT INSTALL
|
|
215
|
+
|
|
216
|
+
This skill appears unsafe. If you still want to proceed,
|
|
217
|
+
use --no-validate at your own risk.
|
|
218
|
+
```
|
|
219
|
+
|
|
220
|
+
## Integration
|
|
221
|
+
|
|
222
|
+
- **After discovery**: Use `/discover <keyword>` first to find skills
|
|
223
|
+
- **Before agent creation**: Skills are installed during `/agent-creation`
|
|
224
|
+
- **For updates**: Re-run with same command to update
|
|
225
|
+
- **Security reports**: Saved to `.claude/skills/security-reports/<skill-name>.md`
|
|
@@ -0,0 +1,234 @@
|
|
|
1
|
+
# Review Existing Skills
|
|
2
|
+
|
|
3
|
+
Review existing skills and find better alternatives from skills.sh.
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
/review-skills [options]
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Options
|
|
12
|
+
|
|
13
|
+
- `--all` - Review all 37 existing skills
|
|
14
|
+
- `--category <name>` - Review specific category (frontend, backend, architecture, devops, product, quality, leadership)
|
|
15
|
+
- `--skill <name>` - Review specific skill
|
|
16
|
+
- `--suggest` - Suggest better alternatives from skills.sh
|
|
17
|
+
- `--report` - Generate detailed report file
|
|
18
|
+
|
|
19
|
+
## Examples
|
|
20
|
+
|
|
21
|
+
```bash
|
|
22
|
+
# Review all skills
|
|
23
|
+
/review-skills --all
|
|
24
|
+
|
|
25
|
+
# Review frontend skills only
|
|
26
|
+
/review-skills --category frontend
|
|
27
|
+
|
|
28
|
+
# Review specific skill
|
|
29
|
+
/review-skills --skill code-review
|
|
30
|
+
|
|
31
|
+
# Review and suggest alternatives
|
|
32
|
+
/review-skills --category frontend --suggest
|
|
33
|
+
|
|
34
|
+
# Generate report file
|
|
35
|
+
/review-skills --all --report
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
## Review Workflow
|
|
39
|
+
|
|
40
|
+
```
|
|
41
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
42
|
+
│ SKILL REVIEW WORKFLOW │
|
|
43
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
44
|
+
│ │
|
|
45
|
+
│ 1. LIST EXISTING SKILLS │
|
|
46
|
+
│ ├── Read skills-registry.yaml │
|
|
47
|
+
│ └── Filter by category if specified │
|
|
48
|
+
│ │
|
|
49
|
+
│ 2. FOR EACH SKILL │
|
|
50
|
+
│ ├── Search skills.sh for similar skills │
|
|
51
|
+
│ ├── Compare: │
|
|
52
|
+
│ │ ├── Content depth │
|
|
53
|
+
│ │ ├── Examples quality │
|
|
54
|
+
│ │ ├── Last update │
|
|
55
|
+
│ │ ├── Install count (if from skills.sh) │
|
|
56
|
+
│ │ └── Source authority │
|
|
57
|
+
│ └── Calculate recommendation │
|
|
58
|
+
│ │
|
|
59
|
+
│ 3. GENERATE RECOMMENDATIONS │
|
|
60
|
+
│ ├── KEEP: Current skill is good enough │
|
|
61
|
+
│ ├── UPDATE: Merge improvements from skills.sh │
|
|
62
|
+
│ ├── REPLACE: Better alternative exists on skills.sh │
|
|
63
|
+
│ └── NEW: Missing skill, should add │
|
|
64
|
+
│ │
|
|
65
|
+
│ 4. PRESENT REPORT │
|
|
66
|
+
│ ├── Summary statistics │
|
|
67
|
+
│ ├── Detailed recommendations │
|
|
68
|
+
│ └── Action items │
|
|
69
|
+
│ │
|
|
70
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
71
|
+
```
|
|
72
|
+
|
|
73
|
+
## Comparison Criteria
|
|
74
|
+
|
|
75
|
+
| Criterion | Weight | Description |
|
|
76
|
+
|-----------|--------|-------------|
|
|
77
|
+
| Content Depth | 30% | How comprehensive is the skill? |
|
|
78
|
+
| Examples | 20% | Quality and quantity of code examples |
|
|
79
|
+
| Maintenance | 20% | Last update, activity |
|
|
80
|
+
| Authority | 15% | Official vs community source |
|
|
81
|
+
| Install Count | 15% | Popularity on skills.sh |
|
|
82
|
+
|
|
83
|
+
## Output Format
|
|
84
|
+
|
|
85
|
+
### Summary Report
|
|
86
|
+
|
|
87
|
+
```
|
|
88
|
+
╔══════════════════════════════════════════════════════════════════════════════╗
|
|
89
|
+
║ SKILLS REVIEW REPORT ║
|
|
90
|
+
╠══════════════════════════════════════════════════════════════════════════════╣
|
|
91
|
+
║ Date: 2025-02-26 ║
|
|
92
|
+
║ Skills Reviewed: 37 ║
|
|
93
|
+
╠══════════════════════════════════════════════════════════════════════════════╣
|
|
94
|
+
║ ║
|
|
95
|
+
║ RECOMMENDATIONS SUMMARY ║
|
|
96
|
+
║ ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ ║
|
|
97
|
+
║ ║
|
|
98
|
+
║ ✅ KEEP: 25 skills (68%) ║
|
|
99
|
+
║ 📝 UPDATE: 8 skills (22%) ║
|
|
100
|
+
║ 🔄 REPLACE: 2 skills (5%) ║
|
|
101
|
+
║ ➕ NEW: 5 skills recommended ║
|
|
102
|
+
║ ║
|
|
103
|
+
╚══════════════════════════════════════════════════════════════════════════════╝
|
|
104
|
+
```
|
|
105
|
+
|
|
106
|
+
### Detailed Recommendations
|
|
107
|
+
|
|
108
|
+
```
|
|
109
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
110
|
+
│ ✅ KEEP (25 skills) │
|
|
111
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
112
|
+
│ These skills are well-written and project-specific: │
|
|
113
|
+
│ │
|
|
114
|
+
│ • code-review - Custom to project workflow, better than generic │
|
|
115
|
+
│ • git-automation - Integrated with project hooks │
|
|
116
|
+
│ • system-design - Comprehensive with local examples │
|
|
117
|
+
│ • adr-writing - Matches project ADR template │
|
|
118
|
+
│ ... (21 more) │
|
|
119
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
120
|
+
|
|
121
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
122
|
+
│ 📝 UPDATE (8 skills) │
|
|
123
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
124
|
+
│ Can be improved with patterns from skills.sh: │
|
|
125
|
+
│ │
|
|
126
|
+
│ 1. frontend-design │
|
|
127
|
+
│ Current: Basic React patterns │
|
|
128
|
+
│ Improvement: Add performance rules from vercel-labs/react-best-practices │
|
|
129
|
+
│ Action: Merge 40+ rules from official source │
|
|
130
|
+
│ │
|
|
131
|
+
│ 2. api-design │
|
|
132
|
+
│ Current: REST basics │
|
|
133
|
+
│ Improvement: Add OpenAPI examples from anthropics/api-patterns │
|
|
134
|
+
│ Action: Add reference files with OpenAPI templates │
|
|
135
|
+
│ ... (6 more) │
|
|
136
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
137
|
+
|
|
138
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
139
|
+
│ 🔄 REPLACE (2 skills) │
|
|
140
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
141
|
+
│ Better alternatives exist on skills.sh: │
|
|
142
|
+
│ │
|
|
143
|
+
│ 1. testing-fe → vitest (antfu/skills) │
|
|
144
|
+
│ Reason: More comprehensive, 6K+ installs, actively maintained │
|
|
145
|
+
│ Migration: Low effort (similar structure) │
|
|
146
|
+
│ │
|
|
147
|
+
│ 2. performance-fe → react-performance (vercel-labs) │
|
|
148
|
+
│ Reason: Official source, 58K installs, React-specific │
|
|
149
|
+
│ Migration: Medium effort (need to adapt examples) │
|
|
150
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
151
|
+
|
|
152
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
153
|
+
│ ➕ NEW RECOMMENDED (5 skills) │
|
|
154
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
155
|
+
│ Missing skills that should be added: │
|
|
156
|
+
│ │
|
|
157
|
+
│ 1. error-handling (obra/superpowers) │
|
|
158
|
+
│ Reason: Better error patterns, defense-in-depth │
|
|
159
|
+
│ Category: core │
|
|
160
|
+
│ │
|
|
161
|
+
│ 2. mcp-builder (anthropics/skills) │
|
|
162
|
+
│ Reason: MCP server creation capability │
|
|
163
|
+
│ Category: domain/backend │
|
|
164
|
+
│ │
|
|
165
|
+
│ 3. react-native (callstackincubator/agent-skills) │
|
|
166
|
+
│ Reason: Mobile development support │
|
|
167
|
+
│ Category: domain/frontend │
|
|
168
|
+
│ │
|
|
169
|
+
│ 4. seo-audit (coreyhaines31/marketingskills) │
|
|
170
|
+
│ Reason: SEO optimization for web projects │
|
|
171
|
+
│ Category: domain/product │
|
|
172
|
+
│ │
|
|
173
|
+
│ 5. debugging (obra/superpowers) │
|
|
174
|
+
│ Reason: Systematic debugging methodology │
|
|
175
|
+
│ Category: core │
|
|
176
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
177
|
+
```
|
|
178
|
+
|
|
179
|
+
### Action Items
|
|
180
|
+
|
|
181
|
+
```
|
|
182
|
+
┌─────────────────────────────────────────────────────────────────────────────┐
|
|
183
|
+
│ 📋 ACTION ITEMS │
|
|
184
|
+
├─────────────────────────────────────────────────────────────────────────────┤
|
|
185
|
+
│ │
|
|
186
|
+
│ Priority 1 (Immediate): │
|
|
187
|
+
│ ├── [ ] Install mcp-builder from anthropics/skills │
|
|
188
|
+
│ └── [ ] Merge react-best-practices into frontend-design │
|
|
189
|
+
│ │
|
|
190
|
+
│ Priority 2 (This Sprint): │
|
|
191
|
+
│ ├── [ ] Replace testing-fe with vitest from antfu/skills │
|
|
192
|
+
│ ├── [ ] Add error-handling from obra/superpowers │
|
|
193
|
+
│ └── [ ] Update api-design with OpenAPI patterns │
|
|
194
|
+
│ │
|
|
195
|
+
│ Priority 3 (Next Sprint): │
|
|
196
|
+
│ ├── [ ] Install react-native skills for mobile support │
|
|
197
|
+
│ ├── [ ] Add seo-audit for web optimization │
|
|
198
|
+
│ └── [ ] Review and install debugging skill │
|
|
199
|
+
│ │
|
|
200
|
+
│ Commands to execute: │
|
|
201
|
+
│ /install-skill anthropics/skills --skill mcp-builder │
|
|
202
|
+
│ /install-skill antfu/skills --skill vitest │
|
|
203
|
+
│ /install-skill obra/superpowers --skill error-handling │
|
|
204
|
+
│ │
|
|
205
|
+
└─────────────────────────────────────────────────────────────────────────────┘
|
|
206
|
+
```
|
|
207
|
+
|
|
208
|
+
## Report File
|
|
209
|
+
|
|
210
|
+
When using `--report`, a markdown file is generated:
|
|
211
|
+
|
|
212
|
+
```
|
|
213
|
+
.claude/skills/reports/skills-review-2025-02-26.md
|
|
214
|
+
```
|
|
215
|
+
|
|
216
|
+
## Category Breakdown
|
|
217
|
+
|
|
218
|
+
| Category | Skills | KEEP | UPDATE | REPLACE | NEW |
|
|
219
|
+
|----------|--------|------|--------|---------|-----|
|
|
220
|
+
| Core | 4 | 3 | 1 | 0 | 2 |
|
|
221
|
+
| Frontend | 5 | 2 | 2 | 1 | 1 |
|
|
222
|
+
| Backend | 5 | 4 | 1 | 0 | 0 |
|
|
223
|
+
| Architecture | 6 | 5 | 1 | 0 | 0 |
|
|
224
|
+
| DevOps | 5 | 4 | 1 | 0 | 0 |
|
|
225
|
+
| Product | 5 | 3 | 1 | 1 | 1 |
|
|
226
|
+
| Quality | 4 | 2 | 1 | 0 | 0 |
|
|
227
|
+
| Leadership | 4 | 3 | 0 | 0 | 0 |
|
|
228
|
+
|
|
229
|
+
## Integration
|
|
230
|
+
|
|
231
|
+
- **Before adding skills**: Run review to avoid duplicates
|
|
232
|
+
- **Monthly audit**: Run `--all` monthly to stay updated
|
|
233
|
+
- **After skills.sh updates**: Re-review for new alternatives
|
|
234
|
+
- **Documentation**: Report files are version-controlled
|