oh-my-droid 1.0.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/.factory/commands/agent-native-audit.md +277 -0
- package/.factory/commands/changelog.md +137 -0
- package/.factory/commands/create-agent-skill.md +8 -0
- package/.factory/commands/deepen-plan.md +546 -0
- package/.factory/commands/deploy-docs.md +112 -0
- package/.factory/commands/feature-video.md +342 -0
- package/.factory/commands/generate_command.md +162 -0
- package/.factory/commands/heal-skill.md +142 -0
- package/.factory/commands/lfg.md +19 -0
- package/.factory/commands/plan_review.md +7 -0
- package/.factory/commands/release-docs.md +211 -0
- package/.factory/commands/report-bug.md +150 -0
- package/.factory/commands/reproduce-bug.md +99 -0
- package/.factory/commands/resolve_parallel.md +34 -0
- package/.factory/commands/resolve_pr_parallel.md +49 -0
- package/.factory/commands/resolve_todo_parallel.md +35 -0
- package/.factory/commands/test-browser.md +339 -0
- package/.factory/commands/triage.md +310 -0
- package/.factory/commands/workflows/compound.md +202 -0
- package/.factory/commands/workflows/plan.md +446 -0
- package/.factory/commands/workflows/review.md +514 -0
- package/.factory/commands/workflows/work.md +313 -0
- package/.factory/commands/xcode-test.md +331 -0
- package/.factory/droids/design/design-implementation-reviewer.md +94 -0
- package/.factory/droids/design/design-iterator.md +197 -0
- package/.factory/droids/design/figma-design-sync.md +172 -0
- package/.factory/droids/docs/ankane-readme-writer.md +50 -0
- package/.factory/droids/research/best-practices-researcher.md +100 -0
- package/.factory/droids/research/framework-docs-researcher.md +83 -0
- package/.factory/droids/research/git-history-analyzer.md +42 -0
- package/.factory/droids/research/repo-research-analyst.md +113 -0
- package/.factory/droids/review/agent-native-reviewer.md +246 -0
- package/.factory/droids/review/architecture-strategist.md +52 -0
- package/.factory/droids/review/code-simplicity-reviewer.md +85 -0
- package/.factory/droids/review/data-integrity-guardian.md +70 -0
- package/.factory/droids/review/data-migration-expert.md +97 -0
- package/.factory/droids/review/deployment-verification-agent.md +159 -0
- package/.factory/droids/review/dhh-rails-reviewer.md +45 -0
- package/.factory/droids/review/julik-frontend-races-reviewer.md +222 -0
- package/.factory/droids/review/kieran-python-reviewer.md +104 -0
- package/.factory/droids/review/kieran-rails-reviewer.md +86 -0
- package/.factory/droids/review/kieran-typescript-reviewer.md +95 -0
- package/.factory/droids/review/pattern-recognition-specialist.md +57 -0
- package/.factory/droids/review/performance-oracle.md +110 -0
- package/.factory/droids/review/security-sentinel.md +93 -0
- package/.factory/droids/workflow/bug-reproduction-validator.md +67 -0
- package/.factory/droids/workflow/every-style-editor.md +64 -0
- package/.factory/droids/workflow/lint.md +16 -0
- package/.factory/droids/workflow/pr-comment-resolver.md +69 -0
- package/.factory/droids/workflow/spec-flow-analyzer.md +113 -0
- package/.factory/mcp.json +8 -0
- package/.factory/skills/agent-browser/SKILL.md +223 -0
- package/.factory/skills/agent-native-architecture/SKILL.md +435 -0
- package/.factory/skills/agent-native-architecture/references/action-parity-discipline.md +409 -0
- package/.factory/skills/agent-native-architecture/references/agent-execution-patterns.md +467 -0
- package/.factory/skills/agent-native-architecture/references/agent-native-testing.md +582 -0
- package/.factory/skills/agent-native-architecture/references/architecture-patterns.md +478 -0
- package/.factory/skills/agent-native-architecture/references/dynamic-context-injection.md +338 -0
- package/.factory/skills/agent-native-architecture/references/files-universal-interface.md +301 -0
- package/.factory/skills/agent-native-architecture/references/from-primitives-to-domain-tools.md +359 -0
- package/.factory/skills/agent-native-architecture/references/mcp-tool-design.md +506 -0
- package/.factory/skills/agent-native-architecture/references/mobile-patterns.md +871 -0
- package/.factory/skills/agent-native-architecture/references/product-implications.md +443 -0
- package/.factory/skills/agent-native-architecture/references/refactoring-to-prompt-native.md +317 -0
- package/.factory/skills/agent-native-architecture/references/self-modification.md +269 -0
- package/.factory/skills/agent-native-architecture/references/shared-workspace-architecture.md +680 -0
- package/.factory/skills/agent-native-architecture/references/system-prompt-design.md +250 -0
- package/.factory/skills/andrew-kane-gem-writer/SKILL.md +184 -0
- package/.factory/skills/andrew-kane-gem-writer/references/database-adapters.md +231 -0
- package/.factory/skills/andrew-kane-gem-writer/references/module-organization.md +121 -0
- package/.factory/skills/andrew-kane-gem-writer/references/rails-integration.md +183 -0
- package/.factory/skills/andrew-kane-gem-writer/references/resources.md +119 -0
- package/.factory/skills/andrew-kane-gem-writer/references/testing-patterns.md +261 -0
- package/.factory/skills/compound-docs/SKILL.md +510 -0
- package/.factory/skills/compound-docs/assets/critical-pattern-template.md +34 -0
- package/.factory/skills/compound-docs/assets/resolution-template.md +93 -0
- package/.factory/skills/compound-docs/references/yaml-schema.md +65 -0
- package/.factory/skills/compound-docs/schema.yaml +176 -0
- package/.factory/skills/create-agent-skills/SKILL.md +299 -0
- package/.factory/skills/create-agent-skills/references/api-security.md +226 -0
- package/.factory/skills/create-agent-skills/references/be-clear-and-direct.md +531 -0
- package/.factory/skills/create-agent-skills/references/best-practices.md +404 -0
- package/.factory/skills/create-agent-skills/references/common-patterns.md +595 -0
- package/.factory/skills/create-agent-skills/references/core-principles.md +437 -0
- package/.factory/skills/create-agent-skills/references/executable-code.md +175 -0
- package/.factory/skills/create-agent-skills/references/iteration-and-testing.md +474 -0
- package/.factory/skills/create-agent-skills/references/official-spec.md +185 -0
- package/.factory/skills/create-agent-skills/references/recommended-structure.md +168 -0
- package/.factory/skills/create-agent-skills/references/skill-structure.md +372 -0
- package/.factory/skills/create-agent-skills/references/using-scripts.md +113 -0
- package/.factory/skills/create-agent-skills/references/using-templates.md +112 -0
- package/.factory/skills/create-agent-skills/references/workflows-and-validation.md +510 -0
- package/.factory/skills/create-agent-skills/templates/router-skill.md +73 -0
- package/.factory/skills/create-agent-skills/templates/simple-skill.md +33 -0
- package/.factory/skills/create-agent-skills/workflows/add-reference.md +96 -0
- package/.factory/skills/create-agent-skills/workflows/add-script.md +93 -0
- package/.factory/skills/create-agent-skills/workflows/add-template.md +74 -0
- package/.factory/skills/create-agent-skills/workflows/add-workflow.md +120 -0
- package/.factory/skills/create-agent-skills/workflows/audit-skill.md +138 -0
- package/.factory/skills/create-agent-skills/workflows/create-domain-expertise-skill.md +605 -0
- package/.factory/skills/create-agent-skills/workflows/create-new-skill.md +191 -0
- package/.factory/skills/create-agent-skills/workflows/get-guidance.md +121 -0
- package/.factory/skills/create-agent-skills/workflows/upgrade-to-router.md +161 -0
- package/.factory/skills/create-agent-skills/workflows/verify-skill.md +204 -0
- package/.factory/skills/dhh-rails-style/SKILL.md +184 -0
- package/.factory/skills/dhh-rails-style/references/architecture.md +653 -0
- package/.factory/skills/dhh-rails-style/references/controllers.md +303 -0
- package/.factory/skills/dhh-rails-style/references/frontend.md +510 -0
- package/.factory/skills/dhh-rails-style/references/gems.md +266 -0
- package/.factory/skills/dhh-rails-style/references/models.md +359 -0
- package/.factory/skills/dhh-rails-style/references/testing.md +338 -0
- package/.factory/skills/dspy-ruby/SKILL.md +594 -0
- package/.factory/skills/dspy-ruby/assets/config-template.rb +359 -0
- package/.factory/skills/dspy-ruby/assets/module-template.rb +326 -0
- package/.factory/skills/dspy-ruby/assets/signature-template.rb +143 -0
- package/.factory/skills/dspy-ruby/references/core-concepts.md +265 -0
- package/.factory/skills/dspy-ruby/references/optimization.md +623 -0
- package/.factory/skills/dspy-ruby/references/providers.md +338 -0
- package/.factory/skills/every-style-editor/SKILL.md +134 -0
- package/.factory/skills/every-style-editor/references/EVERY_WRITE_STYLE.md +529 -0
- package/.factory/skills/file-todos/SKILL.md +251 -0
- package/.factory/skills/file-todos/assets/todo-template.md +155 -0
- package/.factory/skills/frontend-design/SKILL.md +42 -0
- package/.factory/skills/gemini-imagegen/SKILL.md +237 -0
- package/.factory/skills/gemini-imagegen/requirements.txt +2 -0
- package/.factory/skills/gemini-imagegen/scripts/compose_images.py +157 -0
- package/.factory/skills/gemini-imagegen/scripts/edit_image.py +144 -0
- package/.factory/skills/gemini-imagegen/scripts/gemini_images.py +263 -0
- package/.factory/skills/gemini-imagegen/scripts/generate_image.py +133 -0
- package/.factory/skills/gemini-imagegen/scripts/multi_turn_chat.py +216 -0
- package/.factory/skills/git-worktree/SKILL.md +302 -0
- package/.factory/skills/git-worktree/scripts/worktree-manager.sh +345 -0
- package/.factory/skills/rclone/SKILL.md +150 -0
- package/.factory/skills/rclone/scripts/check_setup.sh +60 -0
- package/.factory/skills/skill-creator/SKILL.md +209 -0
- package/.factory/skills/skill-creator/scripts/init_skill.py +303 -0
- package/.factory/skills/skill-creator/scripts/package_skill.py +110 -0
- package/.factory/skills/skill-creator/scripts/quick_validate.py +65 -0
- package/AGENTS.md +11 -0
- package/LICENSE +21 -0
- package/README.md +39 -0
- package/bin/cli.js +158 -0
- package/package.json +20 -0
|
@@ -0,0 +1,277 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: agent-native-audit
|
|
3
|
+
description: Run comprehensive agent-native architecture review with scored principles
|
|
4
|
+
argument-hint: "[optional: specific principle to audit]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Agent-Native Architecture Audit
|
|
8
|
+
|
|
9
|
+
Conduct a comprehensive review of the codebase against agent-native architecture principles, launching parallel sub-agents for each principle and producing a scored report.
|
|
10
|
+
|
|
11
|
+
## Core Principles to Audit
|
|
12
|
+
|
|
13
|
+
1. **Action Parity** - "Whatever the user can do, the agent can do"
|
|
14
|
+
2. **Tools as Primitives** - "Tools provide capability, not behavior"
|
|
15
|
+
3. **Context Injection** - "System prompt includes dynamic context about app state"
|
|
16
|
+
4. **Shared Workspace** - "Agent and user work in the same data space"
|
|
17
|
+
5. **CRUD Completeness** - "Every entity has full CRUD (Create, Read, Update, Delete)"
|
|
18
|
+
6. **UI Integration** - "Agent actions immediately reflected in UI"
|
|
19
|
+
7. **Capability Discovery** - "Users can discover what the agent can do"
|
|
20
|
+
8. **Prompt-Native Features** - "Features are prompts defining outcomes, not code"
|
|
21
|
+
|
|
22
|
+
## Workflow
|
|
23
|
+
|
|
24
|
+
### Step 1: Load the Agent-Native Skill
|
|
25
|
+
|
|
26
|
+
First, invoke the agent-native-architecture skill to understand all principles:
|
|
27
|
+
|
|
28
|
+
```
|
|
29
|
+
/compound-engineering:agent-native-architecture
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
Select option 7 (action parity) to load the full reference material.
|
|
33
|
+
|
|
34
|
+
### Step 2: Launch Parallel Sub-Agents
|
|
35
|
+
|
|
36
|
+
Launch 8 parallel sub-agents using the Task tool with `subagent_type: Explore`, one for each principle. Each agent should:
|
|
37
|
+
|
|
38
|
+
1. Enumerate ALL instances in the codebase (user actions, tools, contexts, data stores, etc.)
|
|
39
|
+
2. Check compliance against the principle
|
|
40
|
+
3. Provide a SPECIFIC SCORE like "X out of Y (percentage%)"
|
|
41
|
+
4. List specific gaps and recommendations
|
|
42
|
+
|
|
43
|
+
<sub-agents>
|
|
44
|
+
|
|
45
|
+
**Agent 1: Action Parity**
|
|
46
|
+
```
|
|
47
|
+
Audit for ACTION PARITY - "Whatever the user can do, the agent can do."
|
|
48
|
+
|
|
49
|
+
Tasks:
|
|
50
|
+
1. Enumerate ALL user actions in frontend (API calls, button clicks, form submissions)
|
|
51
|
+
- Search for API service files, fetch calls, form handlers
|
|
52
|
+
- Check routes and components for user interactions
|
|
53
|
+
2. Check which have corresponding agent tools
|
|
54
|
+
- Search for agent tool definitions
|
|
55
|
+
- Map user actions to agent capabilities
|
|
56
|
+
3. Score: "Agent can do X out of Y user actions"
|
|
57
|
+
|
|
58
|
+
Format:
|
|
59
|
+
## Action Parity Audit
|
|
60
|
+
### User Actions Found
|
|
61
|
+
| Action | Location | Agent Tool | Status |
|
|
62
|
+
### Score: X/Y (percentage%)
|
|
63
|
+
### Missing Agent Tools
|
|
64
|
+
### Recommendations
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
**Agent 2: Tools as Primitives**
|
|
68
|
+
```
|
|
69
|
+
Audit for TOOLS AS PRIMITIVES - "Tools provide capability, not behavior."
|
|
70
|
+
|
|
71
|
+
Tasks:
|
|
72
|
+
1. Find and read ALL agent tool files
|
|
73
|
+
2. Classify each as:
|
|
74
|
+
- PRIMITIVE (good): read, write, store, list - enables capability without business logic
|
|
75
|
+
- WORKFLOW (bad): encodes business logic, makes decisions, orchestrates steps
|
|
76
|
+
3. Score: "X out of Y tools are proper primitives"
|
|
77
|
+
|
|
78
|
+
Format:
|
|
79
|
+
## Tools as Primitives Audit
|
|
80
|
+
### Tool Analysis
|
|
81
|
+
| Tool | File | Type | Reasoning |
|
|
82
|
+
### Score: X/Y (percentage%)
|
|
83
|
+
### Problematic Tools (workflows that should be primitives)
|
|
84
|
+
### Recommendations
|
|
85
|
+
```
|
|
86
|
+
|
|
87
|
+
**Agent 3: Context Injection**
|
|
88
|
+
```
|
|
89
|
+
Audit for CONTEXT INJECTION - "System prompt includes dynamic context about app state"
|
|
90
|
+
|
|
91
|
+
Tasks:
|
|
92
|
+
1. Find context injection code (search for "context", "system prompt", "inject")
|
|
93
|
+
2. Read agent prompts and system messages
|
|
94
|
+
3. Enumerate what IS injected vs what SHOULD be:
|
|
95
|
+
- Available resources (files, drafts, documents)
|
|
96
|
+
- User preferences/settings
|
|
97
|
+
- Recent activity
|
|
98
|
+
- Available capabilities listed
|
|
99
|
+
- Session history
|
|
100
|
+
- Workspace state
|
|
101
|
+
|
|
102
|
+
Format:
|
|
103
|
+
## Context Injection Audit
|
|
104
|
+
### Context Types Analysis
|
|
105
|
+
| Context Type | Injected? | Location | Notes |
|
|
106
|
+
### Score: X/Y (percentage%)
|
|
107
|
+
### Missing Context
|
|
108
|
+
### Recommendations
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
**Agent 4: Shared Workspace**
|
|
112
|
+
```
|
|
113
|
+
Audit for SHARED WORKSPACE - "Agent and user work in the same data space"
|
|
114
|
+
|
|
115
|
+
Tasks:
|
|
116
|
+
1. Identify all data stores/tables/models
|
|
117
|
+
2. Check if agents read/write to SAME tables or separate ones
|
|
118
|
+
3. Look for sandbox isolation anti-pattern (agent has separate data space)
|
|
119
|
+
|
|
120
|
+
Format:
|
|
121
|
+
## Shared Workspace Audit
|
|
122
|
+
### Data Store Analysis
|
|
123
|
+
| Data Store | User Access | Agent Access | Shared? |
|
|
124
|
+
### Score: X/Y (percentage%)
|
|
125
|
+
### Isolated Data (anti-pattern)
|
|
126
|
+
### Recommendations
|
|
127
|
+
```
|
|
128
|
+
|
|
129
|
+
**Agent 5: CRUD Completeness**
|
|
130
|
+
```
|
|
131
|
+
Audit for CRUD COMPLETENESS - "Every entity has full CRUD"
|
|
132
|
+
|
|
133
|
+
Tasks:
|
|
134
|
+
1. Identify all entities/models in the codebase
|
|
135
|
+
2. For each entity, check if agent tools exist for:
|
|
136
|
+
- Create
|
|
137
|
+
- Read
|
|
138
|
+
- Update
|
|
139
|
+
- Delete
|
|
140
|
+
3. Score per entity and overall
|
|
141
|
+
|
|
142
|
+
Format:
|
|
143
|
+
## CRUD Completeness Audit
|
|
144
|
+
### Entity CRUD Analysis
|
|
145
|
+
| Entity | Create | Read | Update | Delete | Score |
|
|
146
|
+
### Overall Score: X/Y entities with full CRUD (percentage%)
|
|
147
|
+
### Incomplete Entities (list missing operations)
|
|
148
|
+
### Recommendations
|
|
149
|
+
```
|
|
150
|
+
|
|
151
|
+
**Agent 6: UI Integration**
|
|
152
|
+
```
|
|
153
|
+
Audit for UI INTEGRATION - "Agent actions immediately reflected in UI"
|
|
154
|
+
|
|
155
|
+
Tasks:
|
|
156
|
+
1. Check how agent writes/changes propagate to frontend
|
|
157
|
+
2. Look for:
|
|
158
|
+
- Streaming updates (SSE, WebSocket)
|
|
159
|
+
- Polling mechanisms
|
|
160
|
+
- Shared state/services
|
|
161
|
+
- Event buses
|
|
162
|
+
- File watching
|
|
163
|
+
3. Identify "silent actions" anti-pattern (agent changes state but UI doesn't update)
|
|
164
|
+
|
|
165
|
+
Format:
|
|
166
|
+
## UI Integration Audit
|
|
167
|
+
### Agent Action → UI Update Analysis
|
|
168
|
+
| Agent Action | UI Mechanism | Immediate? | Notes |
|
|
169
|
+
### Score: X/Y (percentage%)
|
|
170
|
+
### Silent Actions (anti-pattern)
|
|
171
|
+
### Recommendations
|
|
172
|
+
```
|
|
173
|
+
|
|
174
|
+
**Agent 7: Capability Discovery**
|
|
175
|
+
```
|
|
176
|
+
Audit for CAPABILITY DISCOVERY - "Users can discover what the agent can do"
|
|
177
|
+
|
|
178
|
+
Tasks:
|
|
179
|
+
1. Check for these 7 discovery mechanisms:
|
|
180
|
+
- Onboarding flow showing agent capabilities
|
|
181
|
+
- Help documentation
|
|
182
|
+
- Capability hints in UI
|
|
183
|
+
- Agent self-describes in responses
|
|
184
|
+
- Suggested prompts/actions
|
|
185
|
+
- Empty state guidance
|
|
186
|
+
- Slash commands (/help, /tools)
|
|
187
|
+
2. Score against 7 mechanisms
|
|
188
|
+
|
|
189
|
+
Format:
|
|
190
|
+
## Capability Discovery Audit
|
|
191
|
+
### Discovery Mechanism Analysis
|
|
192
|
+
| Mechanism | Exists? | Location | Quality |
|
|
193
|
+
### Score: X/7 (percentage%)
|
|
194
|
+
### Missing Discovery
|
|
195
|
+
### Recommendations
|
|
196
|
+
```
|
|
197
|
+
|
|
198
|
+
**Agent 8: Prompt-Native Features**
|
|
199
|
+
```
|
|
200
|
+
Audit for PROMPT-NATIVE FEATURES - "Features are prompts defining outcomes, not code"
|
|
201
|
+
|
|
202
|
+
Tasks:
|
|
203
|
+
1. Read all agent prompts
|
|
204
|
+
2. Classify each feature/behavior as defined in:
|
|
205
|
+
- PROMPT (good): outcomes defined in natural language
|
|
206
|
+
- CODE (bad): business logic hardcoded
|
|
207
|
+
3. Check if behavior changes require prompt edit vs code change
|
|
208
|
+
|
|
209
|
+
Format:
|
|
210
|
+
## Prompt-Native Features Audit
|
|
211
|
+
### Feature Definition Analysis
|
|
212
|
+
| Feature | Defined In | Type | Notes |
|
|
213
|
+
### Score: X/Y (percentage%)
|
|
214
|
+
### Code-Defined Features (anti-pattern)
|
|
215
|
+
### Recommendations
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
</sub-agents>
|
|
219
|
+
|
|
220
|
+
### Step 3: Compile Summary Report
|
|
221
|
+
|
|
222
|
+
After all agents complete, compile a summary with:
|
|
223
|
+
|
|
224
|
+
```markdown
|
|
225
|
+
## Agent-Native Architecture Review: [Project Name]
|
|
226
|
+
|
|
227
|
+
### Overall Score Summary
|
|
228
|
+
|
|
229
|
+
| Core Principle | Score | Percentage | Status |
|
|
230
|
+
|----------------|-------|------------|--------|
|
|
231
|
+
| Action Parity | X/Y | Z% | ✅/⚠️/❌ |
|
|
232
|
+
| Tools as Primitives | X/Y | Z% | ✅/⚠️/❌ |
|
|
233
|
+
| Context Injection | X/Y | Z% | ✅/⚠️/❌ |
|
|
234
|
+
| Shared Workspace | X/Y | Z% | ✅/⚠️/❌ |
|
|
235
|
+
| CRUD Completeness | X/Y | Z% | ✅/⚠️/❌ |
|
|
236
|
+
| UI Integration | X/Y | Z% | ✅/⚠️/❌ |
|
|
237
|
+
| Capability Discovery | X/Y | Z% | ✅/⚠️/❌ |
|
|
238
|
+
| Prompt-Native Features | X/Y | Z% | ✅/⚠️/❌ |
|
|
239
|
+
|
|
240
|
+
**Overall Agent-Native Score: X%**
|
|
241
|
+
|
|
242
|
+
### Status Legend
|
|
243
|
+
- ✅ Excellent (80%+)
|
|
244
|
+
- ⚠️ Partial (50-79%)
|
|
245
|
+
- ❌ Needs Work (<50%)
|
|
246
|
+
|
|
247
|
+
### Top 10 Recommendations by Impact
|
|
248
|
+
|
|
249
|
+
| Priority | Action | Principle | Effort |
|
|
250
|
+
|----------|--------|-----------|--------|
|
|
251
|
+
|
|
252
|
+
### What's Working Excellently
|
|
253
|
+
|
|
254
|
+
[List top 5 strengths]
|
|
255
|
+
```
|
|
256
|
+
|
|
257
|
+
## Success Criteria
|
|
258
|
+
|
|
259
|
+
- [ ] All 8 sub-agents complete their audits
|
|
260
|
+
- [ ] Each principle has a specific numeric score (X/Y format)
|
|
261
|
+
- [ ] Summary table shows all scores and status indicators
|
|
262
|
+
- [ ] Top 10 recommendations are prioritized by impact
|
|
263
|
+
- [ ] Report identifies both strengths and gaps
|
|
264
|
+
|
|
265
|
+
## Optional: Single Principle Audit
|
|
266
|
+
|
|
267
|
+
If $ARGUMENTS specifies a single principle (e.g., "action parity"), only run that sub-agent and provide detailed findings for that principle alone.
|
|
268
|
+
|
|
269
|
+
Valid arguments:
|
|
270
|
+
- `action parity` or `1`
|
|
271
|
+
- `tools` or `primitives` or `2`
|
|
272
|
+
- `context` or `injection` or `3`
|
|
273
|
+
- `shared` or `workspace` or `4`
|
|
274
|
+
- `crud` or `5`
|
|
275
|
+
- `ui` or `integration` or `6`
|
|
276
|
+
- `discovery` or `7`
|
|
277
|
+
- `prompt` or `features` or `8`
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: changelog
|
|
3
|
+
description: Create engaging changelogs for recent merges to main branch
|
|
4
|
+
argument-hint: "[optional: daily|weekly, or time period in days]"
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
You are a witty and enthusiastic product marketer tasked with creating a fun, engaging change log for an internal development team. Your goal is to summarize the latest merges to the main branch, highlighting new features, bug fixes, and giving credit to the hard-working developers.
|
|
8
|
+
|
|
9
|
+
## Time Period
|
|
10
|
+
|
|
11
|
+
- For daily changelogs: Look at PRs merged in the last 24 hours
|
|
12
|
+
- For weekly summaries: Look at PRs merged in the last 7 days
|
|
13
|
+
- Always specify the time period in the title (e.g., "Daily" vs "Weekly")
|
|
14
|
+
- Default: Get the latest changes from the last day from the main branch of the repository
|
|
15
|
+
|
|
16
|
+
## PR Analysis
|
|
17
|
+
|
|
18
|
+
Analyze the provided GitHub changes and related issues. Look for:
|
|
19
|
+
|
|
20
|
+
1. New features that have been added
|
|
21
|
+
2. Bug fixes that have been implemented
|
|
22
|
+
3. Any other significant changes or improvements
|
|
23
|
+
4. References to specific issues and their details
|
|
24
|
+
5. Names of contributors who made the changes
|
|
25
|
+
6. Use gh cli to lookup the PRs as well and the description of the PRs
|
|
26
|
+
7. Check PR labels to identify feature type (feature, bug, chore, etc.)
|
|
27
|
+
8. Look for breaking changes and highlight them prominently
|
|
28
|
+
9. Include PR numbers for traceability
|
|
29
|
+
10. Check if PRs are linked to issues and include issue context
|
|
30
|
+
|
|
31
|
+
## Content Priorities
|
|
32
|
+
|
|
33
|
+
1. Breaking changes (if any) - MUST be at the top
|
|
34
|
+
2. User-facing features
|
|
35
|
+
3. Critical bug fixes
|
|
36
|
+
4. Performance improvements
|
|
37
|
+
5. Developer experience improvements
|
|
38
|
+
6. Documentation updates
|
|
39
|
+
|
|
40
|
+
## Formatting Guidelines
|
|
41
|
+
|
|
42
|
+
Now, create a change log summary with the following guidelines:
|
|
43
|
+
|
|
44
|
+
1. Keep it concise and to the point
|
|
45
|
+
2. Highlight the most important changes first
|
|
46
|
+
3. Group similar changes together (e.g., all new features, all bug fixes)
|
|
47
|
+
4. Include issue references where applicable
|
|
48
|
+
5. Mention the names of contributors, giving them credit for their work
|
|
49
|
+
6. Add a touch of humor or playfulness to make it engaging
|
|
50
|
+
7. Use emojis sparingly to add visual interest
|
|
51
|
+
8. Keep total message under 2000 characters for Discord
|
|
52
|
+
9. Use consistent emoji for each section
|
|
53
|
+
10. Format code/technical terms in backticks
|
|
54
|
+
11. Include PR numbers in parentheses (e.g., "Fixed login bug (#123)")
|
|
55
|
+
|
|
56
|
+
## Deployment Notes
|
|
57
|
+
|
|
58
|
+
When relevant, include:
|
|
59
|
+
|
|
60
|
+
- Database migrations required
|
|
61
|
+
- Environment variable updates needed
|
|
62
|
+
- Manual intervention steps post-deploy
|
|
63
|
+
- Dependencies that need updating
|
|
64
|
+
|
|
65
|
+
Your final output should be formatted as follows:
|
|
66
|
+
|
|
67
|
+
<change_log>
|
|
68
|
+
|
|
69
|
+
# 🚀 [Daily/Weekly] Change Log: [Current Date]
|
|
70
|
+
|
|
71
|
+
## 🚨 Breaking Changes (if any)
|
|
72
|
+
|
|
73
|
+
[List any breaking changes that require immediate attention]
|
|
74
|
+
|
|
75
|
+
## 🌟 New Features
|
|
76
|
+
|
|
77
|
+
[List new features here with PR numbers]
|
|
78
|
+
|
|
79
|
+
## 🐛 Bug Fixes
|
|
80
|
+
|
|
81
|
+
[List bug fixes here with PR numbers]
|
|
82
|
+
|
|
83
|
+
## 🛠️ Other Improvements
|
|
84
|
+
|
|
85
|
+
[List other significant changes or improvements]
|
|
86
|
+
|
|
87
|
+
## 🙌 Shoutouts
|
|
88
|
+
|
|
89
|
+
[Mention contributors and their contributions]
|
|
90
|
+
|
|
91
|
+
## 🎉 Fun Fact of the Day
|
|
92
|
+
|
|
93
|
+
[Include a brief, work-related fun fact or joke]
|
|
94
|
+
|
|
95
|
+
</change_log>
|
|
96
|
+
|
|
97
|
+
## Style Guide Review
|
|
98
|
+
|
|
99
|
+
Now review the changelog using the EVERY_WRITE_STYLE.md file and go one by one to make sure you are following the style guide. Use multiple agents, run in parallel to make it faster.
|
|
100
|
+
|
|
101
|
+
Remember, your final output should only include the content within the <change_log> tags. Do not include any of your thought process or the original data in the output.
|
|
102
|
+
|
|
103
|
+
## Discord Posting (Optional)
|
|
104
|
+
|
|
105
|
+
You can post changelogs to Discord by adding your own webhook URL:
|
|
106
|
+
|
|
107
|
+
```
|
|
108
|
+
# Set your Discord webhook URL
|
|
109
|
+
DISCORD_WEBHOOK_URL="https://discord.com/api/webhooks/YOUR_WEBHOOK_ID/YOUR_WEBHOOK_TOKEN"
|
|
110
|
+
|
|
111
|
+
# Post using curl
|
|
112
|
+
curl -H "Content-Type: application/json" \
|
|
113
|
+
-d "{\"content\": \"{{CHANGELOG}}\"}" \
|
|
114
|
+
$DISCORD_WEBHOOK_URL
|
|
115
|
+
```
|
|
116
|
+
|
|
117
|
+
To get a webhook URL, go to your Discord server → Server Settings → Integrations → Webhooks → New Webhook.
|
|
118
|
+
|
|
119
|
+
## Error Handling
|
|
120
|
+
|
|
121
|
+
- If no changes in the time period, post a "quiet day" message: "🌤️ Quiet day! No new changes merged."
|
|
122
|
+
- If unable to fetch PR details, list the PR numbers for manual review
|
|
123
|
+
- Always validate message length before posting to Discord (max 2000 chars)
|
|
124
|
+
|
|
125
|
+
## Schedule Recommendations
|
|
126
|
+
|
|
127
|
+
- Run daily at 6 AM NY time for previous day's changes
|
|
128
|
+
- Run weekly summary on Mondays for the previous week
|
|
129
|
+
- Special runs after major releases or deployments
|
|
130
|
+
|
|
131
|
+
## Audience Considerations
|
|
132
|
+
|
|
133
|
+
Adjust the tone and detail level based on the channel:
|
|
134
|
+
|
|
135
|
+
- **Dev team channels**: Include technical details, performance metrics, code snippets
|
|
136
|
+
- **Product team channels**: Focus on user-facing changes and business impact
|
|
137
|
+
- **Leadership channels**: Highlight progress on key initiatives and blockers
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: create-agent-skill
|
|
3
|
+
description: Create or edit Claude Code skills with expert guidance on structure and best practices
|
|
4
|
+
allowed-tools: Skill(create-agent-skills)
|
|
5
|
+
argument-hint: [skill description or requirements]
|
|
6
|
+
---
|
|
7
|
+
|
|
8
|
+
Invoke the create-agent-skills skill for: $ARGUMENTS
|