@fenixforce/edition-pro 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.
- package/dist/api/approval-routes.d.ts +15 -0
- package/dist/api/fleet-routes.d.ts +23 -0
- package/dist/api/integration-routes.d.ts +17 -0
- package/dist/api/middleware.d.ts +37 -0
- package/dist/boot.d.ts +37 -0
- package/dist/business/approval-queue.d.ts +94 -0
- package/dist/business/arena.d.ts +71 -0
- package/dist/business/best-of-n.d.ts +68 -0
- package/dist/business/brainstorm.d.ts +42 -0
- package/dist/business/compile-checker.d.ts +50 -0
- package/dist/business/debate.d.ts +38 -0
- package/dist/business/fleet-budget.d.ts +69 -0
- package/dist/business/fleet-config.d.ts +125 -0
- package/dist/business/fleet.d.ts +85 -0
- package/dist/business/handoff.d.ts +56 -0
- package/dist/business/hat-system.d.ts +57 -0
- package/dist/business/index.d.ts +44 -0
- package/dist/business/integration-registry.d.ts +66 -0
- package/dist/business/node-pipeline.d.ts +62 -0
- package/dist/business/oracle.d.ts +64 -0
- package/dist/business/roles/index.d.ts +7 -0
- package/dist/business/roles/judge.d.ts +24 -0
- package/dist/business/roles/planner.d.ts +30 -0
- package/dist/business/roles/types.d.ts +37 -0
- package/dist/business/roles/worker.d.ts +25 -0
- package/dist/business/router.d.ts +75 -0
- package/dist/business/shared-memory.d.ts +85 -0
- package/dist/business/status-detector.d.ts +52 -0
- package/dist/business/swarm-registry.d.ts +63 -0
- package/dist/business/templates.d.ts +55 -0
- package/dist/business/workspace-manager.d.ts +105 -0
- package/dist/index.d.ts +21 -0
- package/dist/index.js +638 -0
- package/dist/infrastructure/pty-agent.d.ts +74 -0
- package/dist/migrations/migrate.d.ts +7 -0
- package/dist/migrations/runner.d.ts +49 -0
- package/dist/workspace/worktree.d.ts +69 -0
- package/package.json +37 -0
- package/skills/builtin/academic-researcher/SKILL.md +51 -0
- package/skills/builtin/advanced-recon/SKILL.md +75 -0
- package/skills/builtin/agent-governance/SKILL.md +122 -0
- package/skills/builtin/algorithmic-art/SKILL.md +55 -0
- package/skills/builtin/api-attack-surface-mapper/SKILL.md +88 -0
- package/skills/builtin/api-development/SKILL.md +147 -0
- package/skills/builtin/api-exploit-prover/SKILL.md +74 -0
- package/skills/builtin/api-integration/SKILL.md +73 -0
- package/skills/builtin/api-security-tester/SKILL.md +82 -0
- package/skills/builtin/api-test-executor/SKILL.md +62 -0
- package/skills/builtin/app-store-optimization/SKILL.md +46 -0
- package/skills/builtin/audio-tour-guide/SKILL.md +18 -0
- package/skills/builtin/auth-flow-operator/SKILL.md +70 -0
- package/skills/builtin/autonomous-rag/SKILL.md +21 -0
- package/skills/builtin/backend-development/SKILL.md +265 -0
- package/skills/builtin/binary-analysis-analyst/SKILL.md +61 -0
- package/skills/builtin/binary-analysis-core/SKILL.md +65 -0
- package/skills/builtin/binary-recon/SKILL.md +64 -0
- package/skills/builtin/blackboard-coordination/SKILL.md +56 -0
- package/skills/builtin/blog-to-podcast/SKILL.md +18 -0
- package/skills/builtin/blog-writing/SKILL.md +36 -0
- package/skills/builtin/brainstorming/SKILL.md +69 -0
- package/skills/builtin/brand-design/SKILL.md +42 -0
- package/skills/builtin/ci-cd-pipelines/SKILL.md +210 -0
- package/skills/builtin/cloud-infrastructure/SKILL.md +140 -0
- package/skills/builtin/code-review/SKILL.md +88 -0
- package/skills/builtin/code-review-analyst/SKILL.md +96 -0
- package/skills/builtin/code-review-recon/SKILL.md +64 -0
- package/skills/builtin/code-review-verifier/SKILL.md +55 -0
- package/skills/builtin/coding-agent-team/SKILL.md +13 -0
- package/skills/builtin/competitor-intelligence/SKILL.md +39 -0
- package/skills/builtin/content-engine/SKILL.md +82 -0
- package/skills/builtin/context7-docs/SKILL.md +145 -0
- package/skills/builtin/copywriting/SKILL.md +38 -0
- package/skills/builtin/corrective-rag/SKILL.md +19 -0
- package/skills/builtin/cost-optimization/SKILL.md +131 -0
- package/skills/builtin/crypto-vulnerability-analyst/SKILL.md +64 -0
- package/skills/builtin/customer-support/SKILL.md +48 -0
- package/skills/builtin/customer-voice-support/SKILL.md +43 -0
- package/skills/builtin/data-analysis/SKILL.md +57 -0
- package/skills/builtin/data-visualization/SKILL.md +33 -0
- package/skills/builtin/database-design/SKILL.md +119 -0
- package/skills/builtin/decision-helper/SKILL.md +84 -0
- package/skills/builtin/deep-research/SKILL.md +68 -0
- package/skills/builtin/deepwiki-research/SKILL.md +115 -0
- package/skills/builtin/dependency-audit/SKILL.md +46 -0
- package/skills/builtin/doc-coauthoring/SKILL.md +48 -0
- package/skills/builtin/docker-deployment/SKILL.md +243 -0
- package/skills/builtin/docx-generation/SKILL.md +135 -0
- package/skills/builtin/dry-run-harness/SKILL.md +61 -0
- package/skills/builtin/editor/SKILL.md +44 -0
- package/skills/builtin/email-drafter/SKILL.md +42 -0
- package/skills/builtin/error-handling/SKILL.md +82 -0
- package/skills/builtin/eval-harness/SKILL.md +197 -0
- package/skills/builtin/evaluation-framework/SKILL.md +51 -0
- package/skills/builtin/exploit-writer/SKILL.md +63 -0
- package/skills/builtin/fact-checker/SKILL.md +51 -0
- package/skills/builtin/filesystem-context/SKILL.md +47 -0
- package/skills/builtin/financial-coach/SKILL.md +18 -0
- package/skills/builtin/finding-chain-correlator/SKILL.md +70 -0
- package/skills/builtin/finding-verifier/SKILL.md +65 -0
- package/skills/builtin/frontend-design/SKILL.md +104 -0
- package/skills/builtin/frontend-development/SKILL.md +227 -0
- package/skills/builtin/frontend-slides/SKILL.md +155 -0
- package/skills/builtin/fullstack-project/SKILL.md +286 -0
- package/skills/builtin/game-development/SKILL.md +60 -0
- package/skills/builtin/git-workflow/SKILL.md +44 -0
- package/skills/builtin/i18n-localization/SKILL.md +38 -0
- package/skills/builtin/image-prompt-engineering/SKILL.md +37 -0
- package/skills/builtin/investment-research/SKILL.md +33 -0
- package/skills/builtin/investor-materials/SKILL.md +90 -0
- package/skills/builtin/javascript-surface-analyzer/SKILL.md +66 -0
- package/skills/builtin/markdown-reports/SKILL.md +68 -0
- package/skills/builtin/market-research/SKILL.md +69 -0
- package/skills/builtin/mcp-builder/SKILL.md +86 -0
- package/skills/builtin/meeting-notes/SKILL.md +47 -0
- package/skills/builtin/memory-safety-analyst/SKILL.md +61 -0
- package/skills/builtin/meta-controller/SKILL.md +44 -0
- package/skills/builtin/mixture-of-agents/SKILL.md +53 -0
- package/skills/builtin/monitoring-observability/SKILL.md +169 -0
- package/skills/builtin/negotiation-simulator/SKILL.md +24 -0
- package/skills/builtin/nestjs-development/SKILL.md +56 -0
- package/skills/builtin/nextjs-development/SKILL.md +55 -0
- package/skills/builtin/parallel-dispatch/SKILL.md +83 -0
- package/skills/builtin/pdf-generation/SKILL.md +169 -0
- package/skills/builtin/personal-finance/SKILL.md +17 -0
- package/skills/builtin/pev-workflow/SKILL.md +62 -0
- package/skills/builtin/planning-with-files/SKILL.md +59 -0
- package/skills/builtin/pptx-generation/SKILL.md +117 -0
- package/skills/builtin/prisma-orm/SKILL.md +48 -0
- package/skills/builtin/rag-database-routing/SKILL.md +38 -0
- package/skills/builtin/rapid-prototyping/SKILL.md +152 -0
- package/skills/builtin/react-development/SKILL.md +244 -0
- package/skills/builtin/react-native-mobile/SKILL.md +113 -0
- package/skills/builtin/refactoring/SKILL.md +39 -0
- package/skills/builtin/reflexive-metacognition/SKILL.md +29 -0
- package/skills/builtin/riper-workflow/SKILL.md +214 -0
- package/skills/builtin/security-audit/SKILL.md +113 -0
- package/skills/builtin/security-self-audit/SKILL.md +311 -0
- package/skills/builtin/self-evolving-agent/SKILL.md +28 -0
- package/skills/builtin/self-improvement-loop/SKILL.md +58 -0
- package/skills/builtin/semantic-search/SKILL.md +93 -0
- package/skills/builtin/seo-audit-team/SKILL.md +27 -0
- package/skills/builtin/seo-optimization/SKILL.md +49 -0
- package/skills/builtin/server-management/SKILL.md +190 -0
- package/skills/builtin/social-media-content/SKILL.md +50 -0
- package/skills/builtin/sprint-planner/SKILL.md +49 -0
- package/skills/builtin/strategic-compact/SKILL.md +61 -0
- package/skills/builtin/strategy-advisor/SKILL.md +51 -0
- package/skills/builtin/structured-thinking/SKILL.md +70 -0
- package/skills/builtin/subagent-development/SKILL.md +105 -0
- package/skills/builtin/system-design/SKILL.md +66 -0
- package/skills/builtin/systematic-debugging/SKILL.md +87 -0
- package/skills/builtin/tailwind-css/SKILL.md +55 -0
- package/skills/builtin/taint-flow-tracer/SKILL.md +89 -0
- package/skills/builtin/teaching-agent-team/SKILL.md +32 -0
- package/skills/builtin/tech-debt-manager/SKILL.md +67 -0
- package/skills/builtin/technical-documentation/SKILL.md +47 -0
- package/skills/builtin/test-driven-development/SKILL.md +70 -0
- package/skills/builtin/theme-factory/SKILL.md +244 -0
- package/skills/builtin/threat-model-generator/SKILL.md +105 -0
- package/skills/builtin/trust-layer/SKILL.md +43 -0
- package/skills/builtin/typescript-patterns/SKILL.md +61 -0
- package/skills/builtin/ui-ux-design/SKILL.md +75 -0
- package/skills/builtin/verification-before-completion/SKILL.md +41 -0
- package/skills/builtin/verification-loop/SKILL.md +120 -0
- package/skills/builtin/waf-bypass-agent/SKILL.md +97 -0
- package/skills/builtin/web-artifacts-builder/SKILL.md +117 -0
- package/skills/builtin/web-assessment-executor/SKILL.md +66 -0
- package/skills/builtin/web-exploit-prover/SKILL.md +58 -0
- package/skills/builtin/web-scraping/SKILL.md +63 -0
- package/skills/builtin/webapp-testing/SKILL.md +86 -0
- package/skills/builtin/webhook-development/SKILL.md +62 -0
- package/skills/builtin/writing-skills/SKILL.md +67 -0
- package/skills/builtin/xlsx-generation/SKILL.md +116 -0
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: server-management
|
|
3
|
+
description: "Use this skill when the user asks to set up a Linux server, configure nginx, manage SSL certificates, set up process managers, handle server security, or manage any VPS/dedicated server. Triggers: 'server setup', 'nginx', 'SSL', 'certbot', 'systemd', 'PM2', 'VPS', 'DigitalOcean droplet', 'server security', 'firewall', 'UFW', 'SSH', or any request involving Linux server administration."
|
|
4
|
+
license: MIT
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Server Management
|
|
8
|
+
|
|
9
|
+
## What This Skill Does
|
|
10
|
+
|
|
11
|
+
Set up, secure, and maintain Linux servers. Nginx reverse proxy, SSL certificates, process management, firewall configuration, SSH hardening, log management, and automated backups.
|
|
12
|
+
|
|
13
|
+
## Initial Server Setup
|
|
14
|
+
|
|
15
|
+
### 1. Create Non-Root User
|
|
16
|
+
```bash
|
|
17
|
+
adduser deploy
|
|
18
|
+
usermod -aG sudo deploy
|
|
19
|
+
su - deploy
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
### 2. SSH Hardening
|
|
23
|
+
```bash
|
|
24
|
+
ssh-copy-id deploy@server-ip
|
|
25
|
+
|
|
26
|
+
# Edit /etc/ssh/sshd_config
|
|
27
|
+
PermitRootLogin no
|
|
28
|
+
PasswordAuthentication no
|
|
29
|
+
PubkeyAuthentication yes
|
|
30
|
+
MaxAuthTries 3
|
|
31
|
+
|
|
32
|
+
sudo systemctl restart sshd
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### 3. Firewall (UFW)
|
|
36
|
+
```bash
|
|
37
|
+
sudo ufw default deny incoming
|
|
38
|
+
sudo ufw default allow outgoing
|
|
39
|
+
sudo ufw allow ssh
|
|
40
|
+
sudo ufw allow 'Nginx Full'
|
|
41
|
+
sudo ufw enable
|
|
42
|
+
sudo ufw status
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
### 4. Automatic Updates
|
|
46
|
+
```bash
|
|
47
|
+
sudo apt install unattended-upgrades
|
|
48
|
+
sudo dpkg-reconfigure -plow unattended-upgrades
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
## Nginx Configuration
|
|
52
|
+
|
|
53
|
+
### Reverse Proxy
|
|
54
|
+
```nginx
|
|
55
|
+
server {
|
|
56
|
+
listen 80;
|
|
57
|
+
server_name myapp.com www.myapp.com;
|
|
58
|
+
return 301 https://$host$request_uri;
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
server {
|
|
62
|
+
listen 443 ssl http2;
|
|
63
|
+
server_name myapp.com www.myapp.com;
|
|
64
|
+
|
|
65
|
+
ssl_certificate /etc/letsencrypt/live/myapp.com/fullchain.pem;
|
|
66
|
+
ssl_certificate_key /etc/letsencrypt/live/myapp.com/privkey.pem;
|
|
67
|
+
|
|
68
|
+
add_header X-Frame-Options "SAMEORIGIN" always;
|
|
69
|
+
add_header X-Content-Type-Options "nosniff" always;
|
|
70
|
+
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
|
|
71
|
+
|
|
72
|
+
location / {
|
|
73
|
+
proxy_pass http://127.0.0.1:3000;
|
|
74
|
+
proxy_http_version 1.1;
|
|
75
|
+
proxy_set_header Upgrade $http_upgrade;
|
|
76
|
+
proxy_set_header Connection 'upgrade';
|
|
77
|
+
proxy_set_header Host $host;
|
|
78
|
+
proxy_set_header X-Real-IP $remote_addr;
|
|
79
|
+
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
80
|
+
proxy_set_header X-Forwarded-Proto $scheme;
|
|
81
|
+
proxy_cache_bypass $http_upgrade;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
location /static/ {
|
|
85
|
+
alias /var/www/myapp/static/;
|
|
86
|
+
expires 30d;
|
|
87
|
+
add_header Cache-Control "public, immutable";
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
gzip on;
|
|
91
|
+
gzip_types text/plain text/css application/json application/javascript text/xml;
|
|
92
|
+
gzip_min_length 256;
|
|
93
|
+
client_max_body_size 10M;
|
|
94
|
+
}
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
### Enable Site
|
|
98
|
+
```bash
|
|
99
|
+
sudo ln -s /etc/nginx/sites-available/myapp /etc/nginx/sites-enabled/
|
|
100
|
+
sudo nginx -t
|
|
101
|
+
sudo systemctl reload nginx
|
|
102
|
+
```
|
|
103
|
+
|
|
104
|
+
## SSL Certificates (Let's Encrypt)
|
|
105
|
+
```bash
|
|
106
|
+
sudo apt install certbot python3-certbot-nginx
|
|
107
|
+
sudo certbot --nginx -d myapp.com -d www.myapp.com
|
|
108
|
+
sudo certbot renew --dry-run
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
## Process Management
|
|
112
|
+
|
|
113
|
+
### systemd Service
|
|
114
|
+
```ini
|
|
115
|
+
# /etc/systemd/system/myapp.service
|
|
116
|
+
[Unit]
|
|
117
|
+
Description=My Application
|
|
118
|
+
After=network.target postgresql.service
|
|
119
|
+
|
|
120
|
+
[Service]
|
|
121
|
+
Type=simple
|
|
122
|
+
User=deploy
|
|
123
|
+
WorkingDirectory=/home/deploy/myapp
|
|
124
|
+
ExecStart=/usr/local/bin/bun run dist/index.js
|
|
125
|
+
Restart=on-failure
|
|
126
|
+
RestartSec=5
|
|
127
|
+
StandardOutput=journal
|
|
128
|
+
StandardError=journal
|
|
129
|
+
Environment=NODE_ENV=production
|
|
130
|
+
EnvironmentFile=/home/deploy/myapp/.env
|
|
131
|
+
|
|
132
|
+
[Install]
|
|
133
|
+
WantedBy=multi-user.target
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
```bash
|
|
137
|
+
sudo systemctl daemon-reload
|
|
138
|
+
sudo systemctl enable myapp
|
|
139
|
+
sudo systemctl start myapp
|
|
140
|
+
sudo journalctl -u myapp -f
|
|
141
|
+
```
|
|
142
|
+
|
|
143
|
+
## Log Management
|
|
144
|
+
```
|
|
145
|
+
/var/log/myapp/*.log {
|
|
146
|
+
daily
|
|
147
|
+
missingok
|
|
148
|
+
rotate 14
|
|
149
|
+
compress
|
|
150
|
+
delaycompress
|
|
151
|
+
notifempty
|
|
152
|
+
create 0640 deploy deploy
|
|
153
|
+
}
|
|
154
|
+
```
|
|
155
|
+
|
|
156
|
+
## Database Backups
|
|
157
|
+
```bash
|
|
158
|
+
#!/bin/bash
|
|
159
|
+
TIMESTAMP=$(date +%Y%m%d_%H%M%S)
|
|
160
|
+
BACKUP_DIR=/home/deploy/backups
|
|
161
|
+
pg_dump -U appuser appdb | gzip > "$BACKUP_DIR/appdb_$TIMESTAMP.sql.gz"
|
|
162
|
+
find "$BACKUP_DIR" -name "*.sql.gz" -mtime +30 -delete
|
|
163
|
+
|
|
164
|
+
# Cron: 0 3 * * * /home/deploy/scripts/backup-db.sh
|
|
165
|
+
```
|
|
166
|
+
|
|
167
|
+
## Rules
|
|
168
|
+
|
|
169
|
+
- Never run applications as root
|
|
170
|
+
- Always use SSH keys, disable password auth
|
|
171
|
+
- Always enable firewall, allow only needed ports
|
|
172
|
+
- Always use HTTPS with auto-renewing certificates
|
|
173
|
+
- Always set up log rotation
|
|
174
|
+
- Always set up automated database backups
|
|
175
|
+
- Always use systemd for process management
|
|
176
|
+
|
|
177
|
+
## Verification
|
|
178
|
+
|
|
179
|
+
1. SSH login works with key, fails with password
|
|
180
|
+
2. Firewall allows only SSH and HTTP/HTTPS
|
|
181
|
+
3. SSL certificate is valid and auto-renewal works
|
|
182
|
+
4. Application restarts automatically after crash
|
|
183
|
+
5. Logs rotate and don't fill disk
|
|
184
|
+
6. Database backups run on schedule
|
|
185
|
+
|
|
186
|
+
## Integration with Other Skills
|
|
187
|
+
|
|
188
|
+
- **docker-deployment:** Alternative to bare-metal
|
|
189
|
+
- **ci-cd-pipelines:** Automated deployment to the configured server
|
|
190
|
+
- **monitoring-observability:** Add monitoring after server setup
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: social-media-content
|
|
3
|
+
description: "Use this skill when the user asks to write social media posts, threads, captions, or content for specific platforms. Triggers: 'tweet', 'thread', 'LinkedIn post', 'Instagram caption', 'TikTok', 'Reddit post', 'social media', 'X post', or any platform-specific content request."
|
|
4
|
+
license: MIT
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Social Media Content
|
|
8
|
+
|
|
9
|
+
## What This Skill Does
|
|
10
|
+
|
|
11
|
+
Write platform-specific social media content. Each platform has different norms, character limits, and audience expectations.
|
|
12
|
+
|
|
13
|
+
## Platform Guidelines
|
|
14
|
+
|
|
15
|
+
### X (Twitter)
|
|
16
|
+
- 280 character limit per tweet
|
|
17
|
+
- Threads: hook in first tweet, one idea per tweet, CTA in last tweet
|
|
18
|
+
- Use line breaks for readability
|
|
19
|
+
- 1-3 hashtags max
|
|
20
|
+
|
|
21
|
+
### LinkedIn
|
|
22
|
+
- Professional tone, first-person narrative
|
|
23
|
+
- Hook in first 2 lines (before "see more" fold)
|
|
24
|
+
- Line breaks between every 1-2 sentences
|
|
25
|
+
- 1300 characters optimal, 3000 max
|
|
26
|
+
- End with a question to drive comments
|
|
27
|
+
|
|
28
|
+
### Instagram
|
|
29
|
+
- Caption under 2200 characters
|
|
30
|
+
- Front-load the message (truncated at ~125 chars)
|
|
31
|
+
- Hashtags: 5-15 relevant tags, can go in first comment
|
|
32
|
+
- Include a CTA
|
|
33
|
+
|
|
34
|
+
### Reddit
|
|
35
|
+
- Match the subreddit's culture and tone
|
|
36
|
+
- Provide genuine value before any self-promotion
|
|
37
|
+
- Title is everything: specific, intriguing, honest
|
|
38
|
+
- Follow subreddit rules exactly
|
|
39
|
+
|
|
40
|
+
### TikTok
|
|
41
|
+
- Script format: hook (0-3s), content (3-45s), CTA (last 5s)
|
|
42
|
+
- Conversational, energetic tone
|
|
43
|
+
- Trending audio/format awareness
|
|
44
|
+
|
|
45
|
+
## Rules
|
|
46
|
+
|
|
47
|
+
- Adapt voice to each platform (casual on X, professional on LinkedIn)
|
|
48
|
+
- Never use the same copy across platforms without adaptation
|
|
49
|
+
- Include a clear purpose for each post (educate, engage, convert)
|
|
50
|
+
- Research trending formats on the target platform before writing.
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# Sprint Planner
|
|
2
|
+
|
|
3
|
+
## Framework
|
|
4
|
+
|
|
5
|
+
- **Story Points**: Modified Fibonacci (1, 2, 3, 5, 8, 13, 20)
|
|
6
|
+
- **Capacity**: Team size x Days x Hours x Focus Factor (0.6-0.8)
|
|
7
|
+
- **Velocity**: Average points completed in past 3-5 sprints
|
|
8
|
+
|
|
9
|
+
## Estimation Guide
|
|
10
|
+
|
|
11
|
+
| Points | Meaning |
|
|
12
|
+
|--------|---------|
|
|
13
|
+
| 1 | Trivial, well-understood, < 1 hour |
|
|
14
|
+
| 2 | Small, clear approach, few hours |
|
|
15
|
+
| 3 | Medium, some unknowns, half day to a day |
|
|
16
|
+
| 5 | Large, multiple components, 1-2 days |
|
|
17
|
+
| 8 | Very large, significant unknowns, 2-3 days |
|
|
18
|
+
| 13 | Epic-sized, should probably be split |
|
|
19
|
+
| 20 | Too large, must be split before committing |
|
|
20
|
+
|
|
21
|
+
## Sprint Backlog Format
|
|
22
|
+
|
|
23
|
+
```markdown
|
|
24
|
+
## Sprint [N]: [Name]
|
|
25
|
+
**Goal**: [One clear objective]
|
|
26
|
+
**Duration**: [Dates]
|
|
27
|
+
**Capacity**: [Points available]
|
|
28
|
+
**Committed**: [Points from backlog]
|
|
29
|
+
|
|
30
|
+
| Story | Points | Owner | Dependencies | Status |
|
|
31
|
+
|-------|--------|-------|-------------|--------|
|
|
32
|
+
| [Story title] | [pts] | [name] | [blockers] | [status] |
|
|
33
|
+
|
|
34
|
+
## Risks and Mitigation
|
|
35
|
+
- [Risk]: [mitigation plan]
|
|
36
|
+
|
|
37
|
+
## Definition of Done
|
|
38
|
+
- [ ] Code reviewed
|
|
39
|
+
- [ ] Tests passing
|
|
40
|
+
- [ ] Deployed to staging
|
|
41
|
+
- [ ] PO approved
|
|
42
|
+
```
|
|
43
|
+
|
|
44
|
+
## Rules
|
|
45
|
+
|
|
46
|
+
- Never commit more than 80% of capacity (leave buffer)
|
|
47
|
+
- Stories over 8 points must be split
|
|
48
|
+
- Dependencies identified before commitment
|
|
49
|
+
- Sprint goal is one sentence, not a list of stories
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
# Strategic Compact
|
|
2
|
+
|
|
3
|
+
Suggests manual `/compact` at strategic points in your workflow rather than relying on arbitrary auto-compaction.
|
|
4
|
+
|
|
5
|
+
## When to Activate
|
|
6
|
+
|
|
7
|
+
- Running long sessions that approach context limits (200K+ tokens)
|
|
8
|
+
- Working on multi-phase tasks (research, plan, implement, test)
|
|
9
|
+
- Switching between unrelated tasks within the same session
|
|
10
|
+
- After completing a major milestone and starting new work
|
|
11
|
+
- When responses slow down or become less coherent (context pressure)
|
|
12
|
+
|
|
13
|
+
## Why Strategic Compaction?
|
|
14
|
+
|
|
15
|
+
Auto-compaction triggers at arbitrary points:
|
|
16
|
+
- Often mid-task, losing important context
|
|
17
|
+
- No awareness of logical task boundaries
|
|
18
|
+
- Can interrupt complex multi-step operations
|
|
19
|
+
|
|
20
|
+
Strategic compaction at logical boundaries:
|
|
21
|
+
- **After exploration, before execution** — Compact research context, keep implementation plan
|
|
22
|
+
- **After completing a milestone** — Fresh start for next phase
|
|
23
|
+
- **Before major context shifts** — Clear exploration context before different task
|
|
24
|
+
|
|
25
|
+
## Compaction Decision Guide
|
|
26
|
+
|
|
27
|
+
| Phase Transition | Compact? | Why |
|
|
28
|
+
|-----------------|----------|-----|
|
|
29
|
+
| Research to Planning | Yes | Research context is bulky; plan is the distilled output |
|
|
30
|
+
| Planning to Implementation | Yes | Plan is in TodoWrite or a file; free up context for code |
|
|
31
|
+
| Implementation to Testing | Maybe | Keep if tests reference recent code; compact if switching focus |
|
|
32
|
+
| Debugging to Next feature | Yes | Debug traces pollute context for unrelated work |
|
|
33
|
+
| Mid-implementation | No | Losing variable names, file paths, and partial state is costly |
|
|
34
|
+
| After a failed approach | Yes | Clear the dead-end reasoning before trying a new approach |
|
|
35
|
+
|
|
36
|
+
## What Survives Compaction
|
|
37
|
+
|
|
38
|
+
| Persists | Lost |
|
|
39
|
+
|----------|------|
|
|
40
|
+
| CLAUDE.md instructions | Intermediate reasoning and analysis |
|
|
41
|
+
| TodoWrite task list | File contents you previously read |
|
|
42
|
+
| Memory files | Multi-step conversation context |
|
|
43
|
+
| Git state (commits, branches) | Tool call history and counts |
|
|
44
|
+
| Files on disk | Nuanced user preferences stated verbally |
|
|
45
|
+
|
|
46
|
+
## Best Practices
|
|
47
|
+
|
|
48
|
+
1. **Compact after planning** — Once plan is finalized in TodoWrite, compact to start fresh
|
|
49
|
+
2. **Compact after debugging** — Clear error-resolution context before continuing
|
|
50
|
+
3. **Don't compact mid-implementation** — Preserve context for related changes
|
|
51
|
+
4. **Write before compacting** — Save important context to files or memory before compacting
|
|
52
|
+
5. **Use `/compact` with a summary** — Add a custom message: `/compact Focus on implementing auth middleware next`
|
|
53
|
+
|
|
54
|
+
## Recommended Compaction Points
|
|
55
|
+
|
|
56
|
+
- After research phase completes and findings are written to a file
|
|
57
|
+
- After a plan is finalized and stored in TodoWrite or a plan file
|
|
58
|
+
- After a milestone commit
|
|
59
|
+
- Before switching to an unrelated task
|
|
60
|
+
- After resolving a complex debugging session
|
|
61
|
+
- When context window usage exceeds 80%
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
# Strategy Advisor
|
|
2
|
+
|
|
3
|
+
## Framework
|
|
4
|
+
|
|
5
|
+
1. **Situational Analysis**: current state, stakeholders, market dynamics, resources, constraints
|
|
6
|
+
2. **Option Generation**: brainstorm alternatives including unconventional approaches
|
|
7
|
+
3. **Decision Criteria**: strategic alignment, financial impact, resource needs, risk tolerance, time horizon
|
|
8
|
+
4. **Recommendation**: preferred option with rationale, implementation steps, success metrics, contingency plans
|
|
9
|
+
|
|
10
|
+
## Output Format
|
|
11
|
+
|
|
12
|
+
```markdown
|
|
13
|
+
## Situation
|
|
14
|
+
[Current state, context, constraints]
|
|
15
|
+
|
|
16
|
+
## Strategic Options
|
|
17
|
+
### Option 1: [Name]
|
|
18
|
+
- **Approach**: [what this looks like]
|
|
19
|
+
- **Pros**: [advantages]
|
|
20
|
+
- **Cons**: [disadvantages]
|
|
21
|
+
- **Resource requirement**: [time, money, people]
|
|
22
|
+
- **Risk level**: low / medium / high
|
|
23
|
+
|
|
24
|
+
### Option 2: [Name]
|
|
25
|
+
[same structure]
|
|
26
|
+
|
|
27
|
+
### Option 3: [Name]
|
|
28
|
+
[same structure]
|
|
29
|
+
|
|
30
|
+
## Recommendation
|
|
31
|
+
**[Option name]** — [rationale in 2-3 sentences]
|
|
32
|
+
|
|
33
|
+
## Implementation Steps
|
|
34
|
+
1. [First action with timeline]
|
|
35
|
+
2. [Second action]
|
|
36
|
+
3. [Third action]
|
|
37
|
+
|
|
38
|
+
## Success Metrics
|
|
39
|
+
- [Metric 1]: [target]
|
|
40
|
+
- [Metric 2]: [target]
|
|
41
|
+
|
|
42
|
+
## Contingency Plan
|
|
43
|
+
If [risk event], then [response action].
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
## Rules
|
|
47
|
+
|
|
48
|
+
- Always present at least 3 strategic options
|
|
49
|
+
- Quantify where possible (revenue impact, timeline, resource cost)
|
|
50
|
+
- Name the key trade-off explicitly
|
|
51
|
+
- Include a contingency plan for the recommended path
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: structured-thinking
|
|
3
|
+
description: "Use this skill for complex analysis, comparisons, trade-off decisions, strategy questions, or any problem requiring structured reasoning. Triggers: 'analyze', 'compare', 'trade-off', 'strategy', 'decide', 'evaluate options', 'pros and cons', or complex questions without obvious answers."
|
|
4
|
+
license: MIT
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Structured Thinking
|
|
8
|
+
|
|
9
|
+
## What This Skill Does
|
|
10
|
+
|
|
11
|
+
Apply a 5-phase analytical process to complex problems. Prevents shallow analysis and missed perspectives.
|
|
12
|
+
|
|
13
|
+
## The 5 Phases
|
|
14
|
+
|
|
15
|
+
### 1. PREPARE
|
|
16
|
+
Classify the problem: technical, strategic, creative, or debugging.
|
|
17
|
+
Identify stakeholders, constraints, and success criteria.
|
|
18
|
+
List what you know and what you need to find out.
|
|
19
|
+
|
|
20
|
+
### 2. THINK
|
|
21
|
+
Generate analysis weighted by problem type:
|
|
22
|
+
- Technical: feasibility, performance, maintainability, complexity
|
|
23
|
+
- Strategic: market fit, competitive advantage, timing, risk
|
|
24
|
+
- Creative: novelty, audience appeal, execution difficulty
|
|
25
|
+
- Debugging: evidence, hypotheses, reproduction steps
|
|
26
|
+
|
|
27
|
+
### 3. SYNTHESIZE
|
|
28
|
+
Combine insights into a coherent recommendation.
|
|
29
|
+
Weight factors by importance to the specific situation.
|
|
30
|
+
Identify the key trade-off (there's always one).
|
|
31
|
+
|
|
32
|
+
### 4. REFLECT
|
|
33
|
+
Challenge your own conclusion:
|
|
34
|
+
- What assumption would invalidate this?
|
|
35
|
+
- What's the strongest counterargument?
|
|
36
|
+
- What information would change your mind?
|
|
37
|
+
|
|
38
|
+
### 5. LEARN
|
|
39
|
+
Capture reusable insights:
|
|
40
|
+
- What pattern did this reveal?
|
|
41
|
+
- What would you do differently next time?
|
|
42
|
+
- What should be documented for future reference?
|
|
43
|
+
|
|
44
|
+
## Rules
|
|
45
|
+
|
|
46
|
+
- Never skip REFLECT. It's where you catch your biggest mistakes.
|
|
47
|
+
- Write down your reasoning. Thinking in your head leads to shortcuts.
|
|
48
|
+
- Name the key trade-off explicitly. Every decision sacrifices something.
|
|
49
|
+
- Time-box each phase. Analysis paralysis is real.
|
|
50
|
+
|
|
51
|
+
## Reflexive Metacognition
|
|
52
|
+
|
|
53
|
+
Before choosing a strategy, self-assess:
|
|
54
|
+
- **Confidence**: "How confident am I about this topic?" (1-10)
|
|
55
|
+
- If < 5: research first (DeepWiki, Context7, web search) before answering
|
|
56
|
+
- If 5-7: proceed but explicitly flag uncertainties
|
|
57
|
+
- If > 7: proceed with full recommendation
|
|
58
|
+
- If 10: be suspicious. Overconfidence is dangerous. Double-check assumptions.
|
|
59
|
+
|
|
60
|
+
Maintain explicit capability boundaries. State what you know well and what you're uncertain about. Never fake confidence.
|
|
61
|
+
|
|
62
|
+
## The Ralph Wiggum Loop (Stuck Detection)
|
|
63
|
+
|
|
64
|
+
If you've attempted the same approach 3 times without progress:
|
|
65
|
+
1. Stop
|
|
66
|
+
2. Acknowledge you're stuck
|
|
67
|
+
3. Try a fundamentally different approach
|
|
68
|
+
4. If the alternative also fails after 2 attempts, escalate to the user with a summary of everything tried
|
|
69
|
+
|
|
70
|
+
Never spin in a loop hoping for a different result.
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: subagent-development
|
|
3
|
+
description: "Use this skill when a task should be delegated to focused subagents with separate context windows. Triggers: 'delegate', 'subagent', 'parallel work', 'complex implementation', or when a task requires implementation + review as separate concerns."
|
|
4
|
+
license: MIT
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Subagent-Driven Development
|
|
8
|
+
|
|
9
|
+
## What This Skill Does
|
|
10
|
+
|
|
11
|
+
Dispatch focused subagents for implementation tasks, then verify their work with separate review agents. Each subagent gets a clean context window and a specific mandate.
|
|
12
|
+
|
|
13
|
+
## Subagent Types
|
|
14
|
+
|
|
15
|
+
### Implementer
|
|
16
|
+
- Gets: task description, relevant file contents, coding standards
|
|
17
|
+
- Does: writes code, runs tests, commits
|
|
18
|
+
- Returns: summary of changes, test results, files modified
|
|
19
|
+
|
|
20
|
+
### Spec Reviewer
|
|
21
|
+
- Gets: original requirements, implementer's summary, access to code
|
|
22
|
+
- Does: independently verifies code matches requirements
|
|
23
|
+
- Returns: pass/fail with specific findings
|
|
24
|
+
- Critical rule: "The implementer finished suspiciously quickly. Their report may be incomplete. Verify everything independently."
|
|
25
|
+
|
|
26
|
+
### Quality Reviewer
|
|
27
|
+
- Gets: code to review, coding standards
|
|
28
|
+
- Does: evaluates implementation quality, performance, maintainability
|
|
29
|
+
- Returns: issues found, suggestions
|
|
30
|
+
|
|
31
|
+
## Workflow
|
|
32
|
+
|
|
33
|
+
```
|
|
34
|
+
1. Write task specification with clear acceptance criteria
|
|
35
|
+
2. Dispatch Implementer subagent
|
|
36
|
+
3. Dispatch Spec Reviewer (reads code independently, distrusts implementer report)
|
|
37
|
+
4. If spec review passes -> dispatch Quality Reviewer
|
|
38
|
+
5. If any review fails -> dispatch new Implementer with feedback
|
|
39
|
+
```
|
|
40
|
+
|
|
41
|
+
## Rules
|
|
42
|
+
|
|
43
|
+
- Each subagent gets a focused, self-contained prompt
|
|
44
|
+
- Spec reviewer runs before quality reviewer (no point reviewing quality on wrong code)
|
|
45
|
+
- One task per subagent. Never combine implementation and review.
|
|
46
|
+
- Subagents have reduced tool access (no direct user communication)
|
|
47
|
+
- Three subagent minimum for any orchestrated task (implement + 2 reviews)
|
|
48
|
+
|
|
49
|
+
## Planning -> Execution -> Verification Modes (Antigravity pattern)
|
|
50
|
+
|
|
51
|
+
Three explicit modes:
|
|
52
|
+
- **PLANNING**: Research codebase, create implementation_plan.md, request user approval. Cannot proceed without approval.
|
|
53
|
+
- **EXECUTION**: Write code, make changes. Return to planning if unexpected complexity found.
|
|
54
|
+
- **VERIFICATION**: Run tests, validate output. Create walkthrough.md documenting what was accomplished.
|
|
55
|
+
|
|
56
|
+
Task boundary tool: communicate mode transitions. Each task has TaskName, TaskSummary, TaskStatus.
|
|
57
|
+
|
|
58
|
+
## Plan -> Execute -> Verify (PEV pattern)
|
|
59
|
+
|
|
60
|
+
After every execution step, run a dedicated verify step. The verifier:
|
|
61
|
+
- Does NOT trust the implementer's report
|
|
62
|
+
- Reads the actual code independently
|
|
63
|
+
- Checks against original requirements
|
|
64
|
+
- Reports pass/fail with specific findings
|
|
65
|
+
|
|
66
|
+
Catches failures that blind execution misses.
|
|
67
|
+
|
|
68
|
+
## Seamless Background-to-Foreground Handoff
|
|
69
|
+
|
|
70
|
+
When a background subagent completes or needs escalation, generate a handoff summary:
|
|
71
|
+
|
|
72
|
+
### Handoff Summary Format
|
|
73
|
+
```markdown
|
|
74
|
+
## Handoff: [task-name]
|
|
75
|
+
**Status**: completed | needs-escalation | blocked
|
|
76
|
+
**Duration**: [time spent]
|
|
77
|
+
**Context compression**: [key decisions and state, <500 tokens]
|
|
78
|
+
|
|
79
|
+
### What was done
|
|
80
|
+
[Bullet list of actions taken]
|
|
81
|
+
|
|
82
|
+
### Key findings
|
|
83
|
+
[Important discoveries during execution]
|
|
84
|
+
|
|
85
|
+
### Remaining work
|
|
86
|
+
[What still needs to happen, if anything]
|
|
87
|
+
|
|
88
|
+
### Files modified
|
|
89
|
+
[List of files with brief change descriptions]
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
### Context Compression Rules
|
|
93
|
+
- Discard intermediate reasoning and failed attempts
|
|
94
|
+
- Keep: final decisions, file paths, test results, error messages
|
|
95
|
+
- Target: <500 tokens for the handoff summary
|
|
96
|
+
- Include enough context for a fresh agent to continue the work
|
|
97
|
+
|
|
98
|
+
## Blackboard Coordination
|
|
99
|
+
|
|
100
|
+
For complex multi-specialist problems, use a shared state object (the "blackboard"):
|
|
101
|
+
- Specialists read from and write to the blackboard
|
|
102
|
+
- A controller examines blackboard state after each specialist runs
|
|
103
|
+
- Controller dynamically decides which specialist runs next
|
|
104
|
+
- Continues until the solution is complete or no specialist can contribute further
|
|
105
|
+
- Max 10 rounds to prevent infinite loops
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: system-design
|
|
3
|
+
description: "Use this skill for architecture decisions, system design, scaling patterns, distributed systems, or technical trade-off analysis. Triggers: 'system design', 'architecture', 'scaling', 'distributed', 'trade-off', 'microservices vs monolith', 'load balancer', 'message queue', or requests for high-level technical design decisions."
|
|
4
|
+
license: MIT
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# System Design
|
|
8
|
+
|
|
9
|
+
## What This Skill Does
|
|
10
|
+
|
|
11
|
+
Make architecture decisions. Evaluate trade-offs, choose patterns, design for scale, and document technical decisions.
|
|
12
|
+
|
|
13
|
+
## Design Process
|
|
14
|
+
|
|
15
|
+
1. **Clarify requirements**: functional (what it does), non-functional (scale, latency, availability)
|
|
16
|
+
2. **Estimate scale**: users, requests/sec, data volume, growth rate
|
|
17
|
+
3. **Design high-level**: components, data flow, API contracts
|
|
18
|
+
4. **Deep dive**: database schema, caching strategy, failure modes
|
|
19
|
+
5. **Trade-offs**: document what you're sacrificing and why
|
|
20
|
+
|
|
21
|
+
## Common Patterns
|
|
22
|
+
|
|
23
|
+
| Pattern | Use When |
|
|
24
|
+
|---------|----------|
|
|
25
|
+
| Monolith | Team < 10, MVP, single deployment unit |
|
|
26
|
+
| Microservices | Team > 20, independent scaling needs, polyglot |
|
|
27
|
+
| Event-driven | Async processing, decoupled services, audit trails |
|
|
28
|
+
| CQRS | Read/write patterns differ significantly |
|
|
29
|
+
| Saga | Distributed transactions across services |
|
|
30
|
+
|
|
31
|
+
## Scaling Checklist
|
|
32
|
+
|
|
33
|
+
- Stateless services (session in Redis/DB, not memory)
|
|
34
|
+
- Database read replicas for read-heavy workloads
|
|
35
|
+
- Caching layer (Redis) for hot data
|
|
36
|
+
- CDN for static assets
|
|
37
|
+
- Message queue for async work (background jobs, notifications)
|
|
38
|
+
- Connection pooling for database
|
|
39
|
+
- Rate limiting at API gateway
|
|
40
|
+
|
|
41
|
+
## Decision Record Format
|
|
42
|
+
|
|
43
|
+
```markdown
|
|
44
|
+
# ADR-001: [Decision Title]
|
|
45
|
+
|
|
46
|
+
## Status: Accepted
|
|
47
|
+
|
|
48
|
+
## Context
|
|
49
|
+
What situation prompted this decision?
|
|
50
|
+
|
|
51
|
+
## Decision
|
|
52
|
+
What did we decide?
|
|
53
|
+
|
|
54
|
+
## Consequences
|
|
55
|
+
What trade-offs result from this decision?
|
|
56
|
+
|
|
57
|
+
## Alternatives Considered
|
|
58
|
+
What else did we evaluate and why did we reject it?
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
## Rules
|
|
62
|
+
|
|
63
|
+
- Start simple, add complexity only when data shows you need it
|
|
64
|
+
- Every architecture decision must have a documented rationale
|
|
65
|
+
- Design for the scale you'll need in 12 months, not 5 years
|
|
66
|
+
- Prefer boring technology over cutting-edge for infrastructure
|