@techwavedev/agi-agent-kit 1.1.7 → 1.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of @techwavedev/agi-agent-kit might be problematic. Click here for more details.
- package/CHANGELOG.md +82 -1
- package/README.md +190 -12
- package/bin/init.js +30 -2
- package/package.json +6 -3
- package/templates/base/AGENTS.md +54 -23
- package/templates/base/README.md +325 -0
- package/templates/base/directives/memory_integration.md +95 -0
- package/templates/base/execution/memory_manager.py +309 -0
- package/templates/base/execution/session_boot.py +218 -0
- package/templates/base/execution/session_init.py +320 -0
- package/templates/base/skill-creator/SKILL_skillcreator.md +23 -36
- package/templates/base/skill-creator/scripts/init_skill.py +18 -135
- package/templates/skills/ec/README.md +31 -0
- package/templates/skills/ec/aws/SKILL.md +1020 -0
- package/templates/skills/ec/aws/defaults.yaml +13 -0
- package/templates/skills/ec/aws/references/common_patterns.md +80 -0
- package/templates/skills/ec/aws/references/mcp_servers.md +98 -0
- package/templates/skills/ec/aws-terraform/SKILL.md +349 -0
- package/templates/skills/ec/aws-terraform/references/best_practices.md +394 -0
- package/templates/skills/ec/aws-terraform/references/checkov_reference.md +337 -0
- package/templates/skills/ec/aws-terraform/scripts/configure_mcp.py +150 -0
- package/templates/skills/ec/confluent-kafka/SKILL.md +655 -0
- package/templates/skills/ec/confluent-kafka/references/ansible_playbooks.md +792 -0
- package/templates/skills/ec/confluent-kafka/references/ec_deployment.md +579 -0
- package/templates/skills/ec/confluent-kafka/references/kraft_migration.md +490 -0
- package/templates/skills/ec/confluent-kafka/references/troubleshooting.md +778 -0
- package/templates/skills/ec/confluent-kafka/references/upgrade_7x_to_8x.md +488 -0
- package/templates/skills/ec/confluent-kafka/scripts/kafka_health_check.py +435 -0
- package/templates/skills/ec/confluent-kafka/scripts/upgrade_preflight.py +568 -0
- package/templates/skills/ec/confluent-kafka/scripts/validate_config.py +455 -0
- package/templates/skills/ec/consul/SKILL.md +427 -0
- package/templates/skills/ec/consul/references/acl_setup.md +168 -0
- package/templates/skills/ec/consul/references/ha_config.md +196 -0
- package/templates/skills/ec/consul/references/troubleshooting.md +267 -0
- package/templates/skills/ec/consul/references/upgrades.md +213 -0
- package/templates/skills/ec/consul/scripts/consul_health_report.py +530 -0
- package/templates/skills/ec/consul/scripts/consul_status.py +264 -0
- package/templates/skills/ec/consul/scripts/generate_values.py +170 -0
- package/templates/skills/ec/documentation/SKILL.md +351 -0
- package/templates/skills/ec/documentation/references/best_practices.md +201 -0
- package/templates/skills/ec/documentation/scripts/analyze_code.py +307 -0
- package/templates/skills/ec/documentation/scripts/detect_changes.py +460 -0
- package/templates/skills/ec/documentation/scripts/generate_changelog.py +312 -0
- package/templates/skills/ec/documentation/scripts/sync_docs.py +272 -0
- package/templates/skills/ec/documentation/scripts/update_skill_docs.py +366 -0
- package/templates/skills/ec/gitlab/SKILL.md +529 -0
- package/templates/skills/ec/gitlab/references/agent_installation.md +416 -0
- package/templates/skills/ec/gitlab/references/api_reference.md +508 -0
- package/templates/skills/ec/gitlab/references/gitops_flux.md +465 -0
- package/templates/skills/ec/gitlab/references/troubleshooting.md +518 -0
- package/templates/skills/ec/gitlab/scripts/generate_agent_values.py +329 -0
- package/templates/skills/ec/gitlab/scripts/gitlab_agent_status.py +414 -0
- package/templates/skills/ec/jira/SKILL.md +484 -0
- package/templates/skills/ec/jira/references/jql_reference.md +148 -0
- package/templates/skills/ec/jira/scripts/add_comment.py +91 -0
- package/templates/skills/ec/jira/scripts/bulk_log_work.py +124 -0
- package/templates/skills/ec/jira/scripts/create_ticket.py +162 -0
- package/templates/skills/ec/jira/scripts/get_ticket.py +191 -0
- package/templates/skills/ec/jira/scripts/jira_client.py +383 -0
- package/templates/skills/ec/jira/scripts/log_work.py +154 -0
- package/templates/skills/ec/jira/scripts/search_tickets.py +104 -0
- package/templates/skills/ec/jira/scripts/update_comment.py +67 -0
- package/templates/skills/ec/jira/scripts/update_ticket.py +161 -0
- package/templates/skills/ec/karpenter/SKILL.md +301 -0
- package/templates/skills/ec/karpenter/references/ec2nodeclasses.md +421 -0
- package/templates/skills/ec/karpenter/references/migration.md +396 -0
- package/templates/skills/ec/karpenter/references/nodepools.md +400 -0
- package/templates/skills/ec/karpenter/references/troubleshooting.md +359 -0
- package/templates/skills/ec/karpenter/scripts/generate_ec2nodeclass.py +187 -0
- package/templates/skills/ec/karpenter/scripts/generate_nodepool.py +245 -0
- package/templates/skills/ec/karpenter/scripts/karpenter_status.py +359 -0
- package/templates/skills/ec/opensearch/SKILL.md +720 -0
- package/templates/skills/ec/opensearch/references/ml_neural_search.md +576 -0
- package/templates/skills/ec/opensearch/references/operator.md +532 -0
- package/templates/skills/ec/opensearch/references/query_dsl.md +532 -0
- package/templates/skills/ec/opensearch/scripts/configure_mcp.py +148 -0
- package/templates/skills/ec/victoriametrics/SKILL.md +598 -0
- package/templates/skills/ec/victoriametrics/references/kubernetes.md +531 -0
- package/templates/skills/ec/victoriametrics/references/prometheus_migration.md +333 -0
- package/templates/skills/ec/victoriametrics/references/troubleshooting.md +442 -0
- package/templates/skills/knowledge/SKILLS_CATALOG.md +274 -4
- package/templates/skills/knowledge/intelligent-routing/SKILL.md +237 -164
- package/templates/skills/knowledge/parallel-agents/SKILL.md +345 -73
- package/templates/skills/knowledge/plugin-discovery/SKILL.md +582 -0
- package/templates/skills/knowledge/plugin-discovery/scripts/platform_setup.py +1083 -0
- package/templates/skills/knowledge/design-md/README.md +0 -34
- package/templates/skills/knowledge/design-md/SKILL.md +0 -193
- package/templates/skills/knowledge/design-md/examples/DESIGN.md +0 -154
- package/templates/skills/knowledge/notebooklm-mcp/SKILL.md +0 -71
- package/templates/skills/knowledge/notebooklm-mcp/assets/example_asset.txt +0 -24
- package/templates/skills/knowledge/notebooklm-mcp/references/api_reference.md +0 -34
- package/templates/skills/knowledge/notebooklm-mcp/scripts/example.py +0 -19
- package/templates/skills/knowledge/react-components/README.md +0 -36
- package/templates/skills/knowledge/react-components/SKILL.md +0 -53
- package/templates/skills/knowledge/react-components/examples/gold-standard-card.tsx +0 -80
- package/templates/skills/knowledge/react-components/package-lock.json +0 -231
- package/templates/skills/knowledge/react-components/package.json +0 -16
- package/templates/skills/knowledge/react-components/resources/architecture-checklist.md +0 -15
- package/templates/skills/knowledge/react-components/resources/component-template.tsx +0 -37
- package/templates/skills/knowledge/react-components/resources/stitch-api-reference.md +0 -14
- package/templates/skills/knowledge/react-components/resources/style-guide.json +0 -27
- package/templates/skills/knowledge/react-components/scripts/fetch-stitch.sh +0 -30
- package/templates/skills/knowledge/react-components/scripts/validate.js +0 -68
- package/templates/skills/knowledge/self-update/SKILL.md +0 -60
- package/templates/skills/knowledge/self-update/scripts/update_kit.py +0 -103
- package/templates/skills/knowledge/stitch-loop/README.md +0 -54
- package/templates/skills/knowledge/stitch-loop/SKILL.md +0 -235
- package/templates/skills/knowledge/stitch-loop/examples/SITE.md +0 -73
- package/templates/skills/knowledge/stitch-loop/examples/next-prompt.md +0 -25
- package/templates/skills/knowledge/stitch-loop/resources/baton-schema.md +0 -61
- package/templates/skills/knowledge/stitch-loop/resources/site-template.md +0 -104
|
@@ -0,0 +1,582 @@
|
|
|
1
|
+
---
|
|
2
|
+
name: plugin-discovery
|
|
3
|
+
description: Platform-adaptive plugin and extension auto-discovery. Detects the runtime environment (Claude Code, Gemini, Opencode, Kiro) and recommends or installs relevant plugins, extensions, MCP servers, and marketplace integrations. Use when setting up a project, onboarding, or when the user asks about available tools/plugins.
|
|
4
|
+
version: 1.1.0
|
|
5
|
+
---
|
|
6
|
+
|
|
7
|
+
# Plugin & Extension Auto-Discovery
|
|
8
|
+
|
|
9
|
+
> Detect the runtime platform and surface the best available extensions
|
|
10
|
+
|
|
11
|
+
## Quick Start — One-Shot Setup
|
|
12
|
+
|
|
13
|
+
Run the setup wizard to auto-detect your platform and configure everything:
|
|
14
|
+
|
|
15
|
+
```bash
|
|
16
|
+
# Interactive (asks one confirmation question)
|
|
17
|
+
python3 skills/plugin-discovery/scripts/platform_setup.py --project-dir .
|
|
18
|
+
|
|
19
|
+
# Auto-apply everything
|
|
20
|
+
python3 skills/plugin-discovery/scripts/platform_setup.py --project-dir . --auto
|
|
21
|
+
|
|
22
|
+
# Preview without changes
|
|
23
|
+
python3 skills/plugin-discovery/scripts/platform_setup.py --project-dir . --dry-run
|
|
24
|
+
|
|
25
|
+
# JSON output (for agent consumption)
|
|
26
|
+
python3 skills/plugin-discovery/scripts/platform_setup.py --project-dir . --json
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
> **Trigger**: Also available via `/setup` workflow command.
|
|
30
|
+
|
|
31
|
+
## Overview
|
|
32
|
+
|
|
33
|
+
This skill provides platform-aware auto-discovery of plugins, extensions, MCP servers, and marketplace integrations. It detects which AI coding environment is active and recommends the most relevant tools for the current project.
|
|
34
|
+
|
|
35
|
+
## Supported Platforms
|
|
36
|
+
|
|
37
|
+
| Platform | Extension System | Discovery Mechanism |
|
|
38
|
+
| ------------------------ | ---------------------------------- | ---------------------------------------- |
|
|
39
|
+
| **Claude Code** | Plugins + Skills + Subagents + MCP | `/plugin`, `/agents`, `marketplace.json` |
|
|
40
|
+
| **Gemini / Antigravity** | Skills + MCP | `skills/`, `GEMINI.md`, MCP config |
|
|
41
|
+
| **Opencode** | Skills + MCP | `skills/`, `OPENCODE.md`, MCP config |
|
|
42
|
+
| **Kiro** | Powers + Hooks + Agents | `powers/`, hooks system |
|
|
43
|
+
| **VS Code / Cursor** | Extensions + MCP | Extension marketplace, MCP config |
|
|
44
|
+
|
|
45
|
+
---
|
|
46
|
+
|
|
47
|
+
## Platform Detection
|
|
48
|
+
|
|
49
|
+
### How to Detect
|
|
50
|
+
|
|
51
|
+
| Signal | Platform |
|
|
52
|
+
| ---------------------------------------------------- | -------------------- |
|
|
53
|
+
| `Task` tool available, `/agents`, `/plugin` commands | **Claude Code** |
|
|
54
|
+
| `GEMINI.md` loaded, Google model family | **Gemini** |
|
|
55
|
+
| `OPENCODE.md` loaded | **Opencode** |
|
|
56
|
+
| Kiro-specific context, `powers/` directory | **Kiro** |
|
|
57
|
+
| VS Code extension host, Cursor markers | **VS Code / Cursor** |
|
|
58
|
+
|
|
59
|
+
### Detection Flow
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
1. Check for Claude Code signals (Task tool, /plugin command)
|
|
63
|
+
→ If found: Claude Code mode
|
|
64
|
+
|
|
65
|
+
2. Check for loaded memory files
|
|
66
|
+
→ GEMINI.md: Gemini mode
|
|
67
|
+
→ OPENCODE.md: Opencode mode
|
|
68
|
+
|
|
69
|
+
3. Check for Kiro signals
|
|
70
|
+
→ powers/ directory, kiro-specific context: Kiro mode
|
|
71
|
+
|
|
72
|
+
4. Fallback: Generic mode (skills-only)
|
|
73
|
+
```
|
|
74
|
+
|
|
75
|
+
---
|
|
76
|
+
|
|
77
|
+
## Claude Code: Plugin Discovery
|
|
78
|
+
|
|
79
|
+
### Official Marketplace
|
|
80
|
+
|
|
81
|
+
Claude Code provides an official marketplace with pre-built plugins. To set up:
|
|
82
|
+
|
|
83
|
+
```bash
|
|
84
|
+
# Add the official Anthropic marketplace
|
|
85
|
+
/plugin marketplace add anthropics/claude-code
|
|
86
|
+
```
|
|
87
|
+
|
|
88
|
+
### Recommended Plugins by Project Type
|
|
89
|
+
|
|
90
|
+
#### All Projects
|
|
91
|
+
|
|
92
|
+
| Plugin | What It Does | Install |
|
|
93
|
+
| ------------------- | --------------------------------- | ---------------------------------------------------------- |
|
|
94
|
+
| `commit-commands` | Git commit workflows, PR creation | `/plugin install commit-commands@anthropics-claude-code` |
|
|
95
|
+
| `pr-review-toolkit` | Specialized PR review agents | `/plugin install pr-review-toolkit@anthropics-claude-code` |
|
|
96
|
+
|
|
97
|
+
#### JavaScript / TypeScript Projects
|
|
98
|
+
|
|
99
|
+
| Plugin | What It Does | Install |
|
|
100
|
+
| ---------------- | ------------------------------------ | ------------------------------------------------------- |
|
|
101
|
+
| `typescript-lsp` | Type errors, diagnostics, navigation | `/plugin install typescript-lsp@anthropics-claude-code` |
|
|
102
|
+
|
|
103
|
+
#### Python Projects
|
|
104
|
+
|
|
105
|
+
| Plugin | What It Does | Install |
|
|
106
|
+
| ------------- | --------------------------------- | ---------------------------------------------------- |
|
|
107
|
+
| `pyright-lsp` | Python type checking, diagnostics | `/plugin install pyright-lsp@anthropics-claude-code` |
|
|
108
|
+
|
|
109
|
+
#### Rust Projects
|
|
110
|
+
|
|
111
|
+
| Plugin | What It Does | Install |
|
|
112
|
+
| ------------------- | ---------------------------- | ---------------------------------------------------------- |
|
|
113
|
+
| `rust-analyzer-lsp` | Rust diagnostics, navigation | `/plugin install rust-analyzer-lsp@anthropics-claude-code` |
|
|
114
|
+
|
|
115
|
+
#### Go Projects
|
|
116
|
+
|
|
117
|
+
| Plugin | What It Does | Install |
|
|
118
|
+
| ----------- | -------------------------- | -------------------------------------------------- |
|
|
119
|
+
| `gopls-lsp` | Go diagnostics, navigation | `/plugin install gopls-lsp@anthropics-claude-code` |
|
|
120
|
+
|
|
121
|
+
#### With External Services
|
|
122
|
+
|
|
123
|
+
| Plugin | What It Does | Install |
|
|
124
|
+
| ----------- | ------------------------- | -------------------------------------------------- |
|
|
125
|
+
| `github` | GitHub issues, PRs, repos | `/plugin install github@anthropics-claude-code` |
|
|
126
|
+
| `gitlab` | GitLab integration | `/plugin install gitlab@anthropics-claude-code` |
|
|
127
|
+
| `atlassian` | Jira/Confluence | `/plugin install atlassian@anthropics-claude-code` |
|
|
128
|
+
| `slack` | Slack messaging | `/plugin install slack@anthropics-claude-code` |
|
|
129
|
+
| `sentry` | Error monitoring | `/plugin install sentry@anthropics-claude-code` |
|
|
130
|
+
| `vercel` | Deployment | `/plugin install vercel@anthropics-claude-code` |
|
|
131
|
+
| `firebase` | Firebase services | `/plugin install firebase@anthropics-claude-code` |
|
|
132
|
+
| `figma` | Design integration | `/plugin install figma@anthropics-claude-code` |
|
|
133
|
+
|
|
134
|
+
### Custom Marketplaces
|
|
135
|
+
|
|
136
|
+
Teams can create their own plugin marketplaces:
|
|
137
|
+
|
|
138
|
+
```bash
|
|
139
|
+
# Add from GitHub
|
|
140
|
+
/plugin marketplace add your-org/your-marketplace
|
|
141
|
+
|
|
142
|
+
# Add from other Git hosts
|
|
143
|
+
/plugin marketplace add https://gitlab.com/your-org/plugins.git
|
|
144
|
+
|
|
145
|
+
# Add from local path
|
|
146
|
+
/plugin marketplace add /path/to/marketplace
|
|
147
|
+
```
|
|
148
|
+
|
|
149
|
+
### Managing Plugins
|
|
150
|
+
|
|
151
|
+
```bash
|
|
152
|
+
# List installed plugins
|
|
153
|
+
/plugin
|
|
154
|
+
|
|
155
|
+
# Disable a plugin
|
|
156
|
+
/plugin disable plugin-name@marketplace-name
|
|
157
|
+
|
|
158
|
+
# Enable a plugin
|
|
159
|
+
/plugin enable plugin-name@marketplace-name
|
|
160
|
+
|
|
161
|
+
# Uninstall a plugin
|
|
162
|
+
/plugin uninstall plugin-name@marketplace-name
|
|
163
|
+
|
|
164
|
+
# Update all marketplaces
|
|
165
|
+
/plugin marketplace update
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
### Plugin Scopes
|
|
169
|
+
|
|
170
|
+
| Scope | Who Sees It | Where Stored |
|
|
171
|
+
| ------------------ | ------------------------ | ----------------------- |
|
|
172
|
+
| **User** (default) | Only you, all projects | `~/.claude/` |
|
|
173
|
+
| **Project** | All collaborators | `.claude/settings.json` |
|
|
174
|
+
| **Local** | Only you, this repo only | Local config |
|
|
175
|
+
|
|
176
|
+
```bash
|
|
177
|
+
# Install for all collaborators
|
|
178
|
+
/plugin install commit-commands@anthropics-claude-code --scope project
|
|
179
|
+
```
|
|
180
|
+
|
|
181
|
+
---
|
|
182
|
+
|
|
183
|
+
## Claude Code: Subagent & Skill Discovery
|
|
184
|
+
|
|
185
|
+
### Discovering Available Subagents
|
|
186
|
+
|
|
187
|
+
```bash
|
|
188
|
+
# Open the subagent management UI
|
|
189
|
+
/agents
|
|
190
|
+
```
|
|
191
|
+
|
|
192
|
+
This shows:
|
|
193
|
+
|
|
194
|
+
- Built-in subagents (Explore, Plan, General-purpose)
|
|
195
|
+
- User-level agents (`~/.claude/agents/`)
|
|
196
|
+
- Project-level agents (`.claude/agents/`)
|
|
197
|
+
- Plugin-provided agents
|
|
198
|
+
|
|
199
|
+
### Discovering Available Skills
|
|
200
|
+
|
|
201
|
+
Skills are auto-discovered from:
|
|
202
|
+
|
|
203
|
+
- `~/.claude/skills/` — User-level skills
|
|
204
|
+
- `.claude/skills/` — Project-level skills
|
|
205
|
+
- Plugin skills — From installed plugins
|
|
206
|
+
- Nested directories — `packages/*/. claude/skills/`
|
|
207
|
+
|
|
208
|
+
### Claude Code Feature Checklist
|
|
209
|
+
|
|
210
|
+
When setting up a Claude Code project, recommend enabling:
|
|
211
|
+
|
|
212
|
+
```markdown
|
|
213
|
+
## Claude Code Setup Checklist
|
|
214
|
+
|
|
215
|
+
- [ ] **Marketplace**: `/plugin marketplace add anthropics/claude-code`
|
|
216
|
+
- [ ] **LSP Plugin**: Install language-specific LSP for auto-diagnostics
|
|
217
|
+
- [ ] **Agent Teams**: `{ "env": { "CLAUDE_CODE_EXPERIMENTAL_AGENT_TEAMS": "1" } }`
|
|
218
|
+
- [ ] **MCP Servers**: Configure relevant MCP servers in `.claude/settings.json`
|
|
219
|
+
- [ ] **Project Skills**: Set up `.claude/skills/` for project-specific workflows
|
|
220
|
+
- [ ] **Hooks**: Configure quality gates (lint, test, security on file save)
|
|
221
|
+
```
|
|
222
|
+
|
|
223
|
+
---
|
|
224
|
+
|
|
225
|
+
## Gemini / Antigravity: Extension Discovery
|
|
226
|
+
|
|
227
|
+
### Available Extensions
|
|
228
|
+
|
|
229
|
+
On Gemini, extensions come from:
|
|
230
|
+
|
|
231
|
+
1. **Antigravity Skills** (`skills/`) — Project skills with `SKILL.md`
|
|
232
|
+
2. **MCP Servers** — Configured in project settings
|
|
233
|
+
3. **Execution Scripts** (`execution/`) — Python scripts for deterministic tasks
|
|
234
|
+
|
|
235
|
+
### Discovery Command
|
|
236
|
+
|
|
237
|
+
The user can discover available skills by:
|
|
238
|
+
|
|
239
|
+
```bash
|
|
240
|
+
# List all skills
|
|
241
|
+
python3 skill-creator/scripts/update_catalog.py --skills-dir skills/
|
|
242
|
+
|
|
243
|
+
# View the catalog
|
|
244
|
+
cat skills/SKILLS_CATALOG.md
|
|
245
|
+
```
|
|
246
|
+
|
|
247
|
+
### MCP Server Discovery
|
|
248
|
+
|
|
249
|
+
Check configured MCP servers:
|
|
250
|
+
|
|
251
|
+
```bash
|
|
252
|
+
# Gemini: check Claude desktop config
|
|
253
|
+
cat ~/.config/claude/claude_desktop_config.json 2>/dev/null
|
|
254
|
+
|
|
255
|
+
# Or project-level MCP config
|
|
256
|
+
cat mcp_config.json 2>/dev/null
|
|
257
|
+
```
|
|
258
|
+
|
|
259
|
+
---
|
|
260
|
+
|
|
261
|
+
## Opencode: Extension Discovery
|
|
262
|
+
|
|
263
|
+
### Available Extensions
|
|
264
|
+
|
|
265
|
+
On Opencode, extensions come from:
|
|
266
|
+
|
|
267
|
+
1. **Antigravity Skills** (`skills/`) — Same as Gemini
|
|
268
|
+
2. **MCP Servers** — Configured in opencode settings
|
|
269
|
+
3. **Providers** — Model providers configured in opencode
|
|
270
|
+
|
|
271
|
+
### Discovery
|
|
272
|
+
|
|
273
|
+
```bash
|
|
274
|
+
# opencode config
|
|
275
|
+
cat ~/.config/opencode/config.json 2>/dev/null
|
|
276
|
+
```
|
|
277
|
+
|
|
278
|
+
---
|
|
279
|
+
|
|
280
|
+
## Kiro: Powers Discovery
|
|
281
|
+
|
|
282
|
+
> Kiro uses **Powers** — unified bundles of MCP tools + steering knowledge + hooks that load dynamically based on context keywords. Available in Kiro IDE 0.7+.
|
|
283
|
+
|
|
284
|
+
### What Kiro Powers Are
|
|
285
|
+
|
|
286
|
+
Powers are Kiro's extension system. Unlike traditional MCP setups that load all tools upfront (causing context rot), Powers activate **on-demand** when the conversation mentions relevant keywords. A Power bundles:
|
|
287
|
+
|
|
288
|
+
1. **`POWER.md`** — Entry point with frontmatter (activation keywords) + onboarding steps + steering instructions
|
|
289
|
+
2. **`mcp.json`** — MCP server configuration for tool integrations (optional)
|
|
290
|
+
3. **`steering/`** — Workflow-specific guidance files loaded on-demand (optional)
|
|
291
|
+
|
|
292
|
+
### How to Detect Kiro
|
|
293
|
+
|
|
294
|
+
| Signal | Confidence |
|
|
295
|
+
| ------------------------------------ | ---------- |
|
|
296
|
+
| `.kiro/` directory in workspace | ✅ High |
|
|
297
|
+
| `POWER.md` files in project | ✅ High |
|
|
298
|
+
| Kiro-specific hooks (`.kiro/hooks/`) | ✅ High |
|
|
299
|
+
| Kiro agent context markers | ✅ High |
|
|
300
|
+
|
|
301
|
+
### Power Structure
|
|
302
|
+
|
|
303
|
+
```
|
|
304
|
+
power-name/
|
|
305
|
+
├── POWER.md # Metadata, onboarding, steering mappings (required)
|
|
306
|
+
├── mcp.json # MCP server configuration (optional)
|
|
307
|
+
└── steering/ # Workflow-specific guidance (optional)
|
|
308
|
+
├── workflow-a.md
|
|
309
|
+
├── workflow-b.md
|
|
310
|
+
└── patterns.md
|
|
311
|
+
```
|
|
312
|
+
|
|
313
|
+
### POWER.md Anatomy
|
|
314
|
+
|
|
315
|
+
The `POWER.md` has two parts: **frontmatter** (when to activate) and **body** (instructions).
|
|
316
|
+
|
|
317
|
+
#### Frontmatter: Keywords-Based Activation
|
|
318
|
+
|
|
319
|
+
```yaml
|
|
320
|
+
---
|
|
321
|
+
name: "supabase"
|
|
322
|
+
displayName: "Supabase with local CLI"
|
|
323
|
+
description: "Build fullstack applications with Supabase's Postgres database, auth, storage, and real-time subscriptions"
|
|
324
|
+
keywords:
|
|
325
|
+
[
|
|
326
|
+
"database",
|
|
327
|
+
"postgres",
|
|
328
|
+
"auth",
|
|
329
|
+
"storage",
|
|
330
|
+
"realtime",
|
|
331
|
+
"backend",
|
|
332
|
+
"supabase",
|
|
333
|
+
"rls",
|
|
334
|
+
]
|
|
335
|
+
---
|
|
336
|
+
```
|
|
337
|
+
|
|
338
|
+
When someone says "Let's set up the database," Kiro detects "database" in the keywords and activates the Supabase power — loading its MCP tools and `POWER.md` steering into context. Other powers deactivate to save context.
|
|
339
|
+
|
|
340
|
+
#### Onboarding Section (runs once)
|
|
341
|
+
|
|
342
|
+
```markdown
|
|
343
|
+
# Onboarding
|
|
344
|
+
|
|
345
|
+
## Step 1: Validate tools work
|
|
346
|
+
|
|
347
|
+
- **Docker Desktop**: Verify with `docker --version`
|
|
348
|
+
- **Supabase CLI**: Verify with `supabase --version`
|
|
349
|
+
|
|
350
|
+
## Step 2: Add hooks
|
|
351
|
+
|
|
352
|
+
Add a hook to `.kiro/hooks/review-advisors.kiro.hook`
|
|
353
|
+
```
|
|
354
|
+
|
|
355
|
+
#### Steering Section (maps workflows to files)
|
|
356
|
+
|
|
357
|
+
**Simple approach** — all guidance in `POWER.md`:
|
|
358
|
+
|
|
359
|
+
```markdown
|
|
360
|
+
# Best Practices
|
|
361
|
+
|
|
362
|
+
## Database Schema Design
|
|
363
|
+
|
|
364
|
+
- Use UUIDs for primary keys
|
|
365
|
+
- Always add timestamps
|
|
366
|
+
- Enable RLS on all tables with user data
|
|
367
|
+
```
|
|
368
|
+
|
|
369
|
+
**Advanced approach** — separate steering files:
|
|
370
|
+
|
|
371
|
+
```markdown
|
|
372
|
+
# When to Load Steering Files
|
|
373
|
+
|
|
374
|
+
- Setting up a database → `database-setup-workflow.md`
|
|
375
|
+
- Creating RLS policies → `supabase-database-rls-policies.md`
|
|
376
|
+
- Creating PostgreSQL functions → `supabase-database-functions.md`
|
|
377
|
+
- Working with Edge Functions → `supabase-edge-functions.md`
|
|
378
|
+
```
|
|
379
|
+
|
|
380
|
+
### MCP Server Configuration (mcp.json)
|
|
381
|
+
|
|
382
|
+
```json
|
|
383
|
+
{
|
|
384
|
+
"mcpServers": {
|
|
385
|
+
"supabase-local": {
|
|
386
|
+
"command": "npx",
|
|
387
|
+
"args": ["-y", "@supabase/mcp-server-supabase"],
|
|
388
|
+
"env": {
|
|
389
|
+
"SUPABASE_URL": "${SUPABASE_URL}",
|
|
390
|
+
"SUPABASE_ANON_KEY": "${SUPABASE_ANON_KEY}"
|
|
391
|
+
}
|
|
392
|
+
}
|
|
393
|
+
}
|
|
394
|
+
}
|
|
395
|
+
```
|
|
396
|
+
|
|
397
|
+
Kiro auto-namespaces server names to avoid conflicts (e.g., `supabase-local` → `power-supabase-supabase-local`).
|
|
398
|
+
|
|
399
|
+
### Kiro Hooks System
|
|
400
|
+
|
|
401
|
+
Powers can install hooks into `.kiro/hooks/`. Hooks are JSON files that define automated behaviors:
|
|
402
|
+
|
|
403
|
+
```json
|
|
404
|
+
{
|
|
405
|
+
"enabled": true,
|
|
406
|
+
"name": "Review Database Performance & Security",
|
|
407
|
+
"description": "Verify database follows performance/security best practices",
|
|
408
|
+
"version": "1",
|
|
409
|
+
"when": { "type": "userTriggered" },
|
|
410
|
+
"then": {
|
|
411
|
+
"type": "askAgent",
|
|
412
|
+
"prompt": "Execute `get_advisors` via MCP to check for performance and security concerns"
|
|
413
|
+
}
|
|
414
|
+
}
|
|
415
|
+
```
|
|
416
|
+
|
|
417
|
+
### Kiro Autonomous Agent
|
|
418
|
+
|
|
419
|
+
Kiro also has an **autonomous agent** that works at the team level:
|
|
420
|
+
|
|
421
|
+
- **Runs in isolated sandbox environments** — opens PRs for review
|
|
422
|
+
- **Maintains context** across tasks, repos, and pull requests
|
|
423
|
+
- **Learns from code reviews** — adapts to team patterns over time
|
|
424
|
+
- **Works across repos** — coordinates multi-repo changes into related PRs
|
|
425
|
+
- **Protects focus time** — handles routine fixes, follow-ups, status updates
|
|
426
|
+
|
|
427
|
+
> The autonomous agent is complementary to Powers. Powers provide the expertise, the autonomous agent provides the execution.
|
|
428
|
+
|
|
429
|
+
### Available Kiro Powers (Curated Partners)
|
|
430
|
+
|
|
431
|
+
| Power | Category | What It Does |
|
|
432
|
+
| ------------- | -------------- | --------------------------------- |
|
|
433
|
+
| **Figma** | Design | Design to code |
|
|
434
|
+
| **Supabase** | Backend | Database, auth, storage, realtime |
|
|
435
|
+
| **Stripe** | Payments | Payment integration |
|
|
436
|
+
| **Neon** | Database | Serverless Postgres |
|
|
437
|
+
| **Netlify** | Deployment | Web app deployment |
|
|
438
|
+
| **Postman** | API Testing | API testing and docs |
|
|
439
|
+
| **Strands** | Agent Dev | Build agents |
|
|
440
|
+
| **Datadog** | Observability | Monitoring & observability |
|
|
441
|
+
| **Dynatrace** | Observability | APM & monitoring |
|
|
442
|
+
| **AWS CDK** | Infrastructure | AWS IaC with CDK/CloudFormation |
|
|
443
|
+
| **Terraform** | Infrastructure | Multi-cloud IaC |
|
|
444
|
+
| **Aurora** | Database | AWS Aurora PostgreSQL/DSQL |
|
|
445
|
+
|
|
446
|
+
### Installing Powers
|
|
447
|
+
|
|
448
|
+
```
|
|
449
|
+
# From the Kiro IDE Powers panel:
|
|
450
|
+
1. Open Powers panel → Browse curated powers
|
|
451
|
+
2. Click "Install" on any power
|
|
452
|
+
|
|
453
|
+
# From GitHub:
|
|
454
|
+
1. Powers panel → "Add power from GitHub"
|
|
455
|
+
2. Enter repository URL
|
|
456
|
+
|
|
457
|
+
# From local directory:
|
|
458
|
+
1. Powers panel → "Add power from Local Path"
|
|
459
|
+
2. Select your power directory
|
|
460
|
+
```
|
|
461
|
+
|
|
462
|
+
### Kiro Setup Checklist
|
|
463
|
+
|
|
464
|
+
```markdown
|
|
465
|
+
## Kiro Setup Checklist
|
|
466
|
+
|
|
467
|
+
- [ ] **Install essential Powers**: Figma, Supabase/Neon, deployment tool
|
|
468
|
+
- [ ] **Configure hooks**: Quality gates in `.kiro/hooks/`
|
|
469
|
+
- [ ] **Set up autonomous agent**: For team-level async task execution
|
|
470
|
+
- [ ] **Create project-specific powers**: Package team patterns as Powers
|
|
471
|
+
- [ ] **Share powers**: Push to GitHub for team-wide access
|
|
472
|
+
```
|
|
473
|
+
|
|
474
|
+
---
|
|
475
|
+
|
|
476
|
+
## Antigravity ↔ Kiro Powers: Mapping Guide
|
|
477
|
+
|
|
478
|
+
Our Antigravity skills can be adapted to Kiro Powers with minimal changes:
|
|
479
|
+
|
|
480
|
+
| Antigravity | Kiro Powers | Mapping Notes |
|
|
481
|
+
| -------------------- | --------------------------------------- | ----------------------------------------------------------- |
|
|
482
|
+
| `SKILL.md` | `POWER.md` | Rename + adjust frontmatter (add `keywords`, `displayName`) |
|
|
483
|
+
| `skills/skill-name/` | `power-name/` | Same directory structure |
|
|
484
|
+
| `references/` | `steering/` | Rename directory |
|
|
485
|
+
| `scripts/` | Keep as `scripts/` or integrate via MCP | Scripts stay or wrap in MCP |
|
|
486
|
+
| `SKILLS_CATALOG.md` | Kiro Powers panel | Kiro handles discovery natively |
|
|
487
|
+
| `.agent/agents/` | Kiro agents | Different agent system |
|
|
488
|
+
| `execution/` | Wrap as MCP tools | Kiro prefers MCP for tool access |
|
|
489
|
+
| `GEMINI.md` rules | `.kiro/settings` + hooks | Different configuration approach |
|
|
490
|
+
|
|
491
|
+
### Converting a Skill to a Power
|
|
492
|
+
|
|
493
|
+
```bash
|
|
494
|
+
# Example: Convert webcrawler skill to Kiro Power
|
|
495
|
+
mkdir power-webcrawler
|
|
496
|
+
cp skills/webcrawler/SKILL.md power-webcrawler/POWER.md
|
|
497
|
+
# Edit POWER.md frontmatter:
|
|
498
|
+
# Add: keywords: ["scrape", "crawl", "website", "docs", "harvest"]
|
|
499
|
+
# Add: displayName: "Web Crawler"
|
|
500
|
+
# Move references/ → steering/
|
|
501
|
+
cp -r skills/webcrawler/references/ power-webcrawler/steering/ 2>/dev/null
|
|
502
|
+
# If skill uses MCP, create mcp.json
|
|
503
|
+
```
|
|
504
|
+
|
|
505
|
+
---
|
|
506
|
+
|
|
507
|
+
## Auto-Discovery Workflow
|
|
508
|
+
|
|
509
|
+
When this skill is activated (manually or via `/plugin-discovery`):
|
|
510
|
+
|
|
511
|
+
### Step 1: Detect Platform
|
|
512
|
+
|
|
513
|
+
```
|
|
514
|
+
Detecting runtime environment...
|
|
515
|
+
→ Platform: [Claude Code / Gemini / Opencode / Kiro / Other]
|
|
516
|
+
→ Features: [list available features]
|
|
517
|
+
```
|
|
518
|
+
|
|
519
|
+
### Step 2: Scan Project
|
|
520
|
+
|
|
521
|
+
```
|
|
522
|
+
Scanning project for technology stack...
|
|
523
|
+
→ Languages: [TypeScript, Python, etc.]
|
|
524
|
+
→ Frameworks: [Next.js, Express, etc.]
|
|
525
|
+
→ Services: [GitHub, Jira, etc.]
|
|
526
|
+
```
|
|
527
|
+
|
|
528
|
+
### Step 3: Recommend Extensions
|
|
529
|
+
|
|
530
|
+
Based on platform + project stack, recommend the most relevant extensions:
|
|
531
|
+
|
|
532
|
+
```markdown
|
|
533
|
+
## 📦 Recommended Extensions for Your Setup
|
|
534
|
+
|
|
535
|
+
### Must-Have
|
|
536
|
+
|
|
537
|
+
- [Extension 1]: [Why it helps for your project]
|
|
538
|
+
- [Extension 2]: [Why it helps for your project]
|
|
539
|
+
|
|
540
|
+
### Nice-to-Have
|
|
541
|
+
|
|
542
|
+
- [Extension 3]: [Benefit]
|
|
543
|
+
- [Extension 4]: [Benefit]
|
|
544
|
+
|
|
545
|
+
### Install Commands
|
|
546
|
+
|
|
547
|
+
[Platform-specific install commands]
|
|
548
|
+
```
|
|
549
|
+
|
|
550
|
+
### Step 4: Offer to Install
|
|
551
|
+
|
|
552
|
+
```
|
|
553
|
+
Would you like me to install the recommended extensions? (y/n)
|
|
554
|
+
```
|
|
555
|
+
|
|
556
|
+
---
|
|
557
|
+
|
|
558
|
+
## Cross-Platform Compatibility Map
|
|
559
|
+
|
|
560
|
+
| Feature | Claude Code | Gemini | Opencode | Kiro |
|
|
561
|
+
| ----------------------- | -------------------- | -------------- | -------------- | --------------------------- |
|
|
562
|
+
| **Plugins/Marketplace** | ✅ `/plugin` | ❌ | ❌ | ✅ Powers panel |
|
|
563
|
+
| **Skills/Powers** | ✅ `.claude/skills/` | ✅ `skills/` | ✅ `skills/` | ✅ `POWER.md` |
|
|
564
|
+
| **Subagents** | ✅ `.claude/agents/` | ⚠️ Personas | ⚠️ Personas | ✅ Agents |
|
|
565
|
+
| **Agent Teams** | ✅ Experimental | ❌ | ❌ | ✅ Autonomous Agent (async) |
|
|
566
|
+
| **MCP Servers** | ✅ Native | ✅ Via config | ✅ Via config | ✅ Dynamic via Powers |
|
|
567
|
+
| **Dynamic MCP Loading** | ❌ All upfront | ❌ All upfront | ❌ All upfront | ✅ On-demand per Power |
|
|
568
|
+
| **LSP Integration** | ✅ Plugins | ❌ | ❌ | ✅ Native |
|
|
569
|
+
| **Hooks** | ✅ Native | ❌ | ❌ | ✅ `.kiro/hooks/` |
|
|
570
|
+
| **Persistent Memory** | ✅ Agent memory | ⚠️ KI system | ⚠️ Limited | ✅ Cross-task learning |
|
|
571
|
+
| **Cross-Repo Tasks** | ❌ | ❌ | ❌ | ✅ Autonomous Agent |
|
|
572
|
+
|
|
573
|
+
---
|
|
574
|
+
|
|
575
|
+
## Best Practices
|
|
576
|
+
|
|
577
|
+
1. **Detect first, recommend second** — Always detect platform before suggesting extensions
|
|
578
|
+
2. **Project-aware recommendations** — Recommend based on the actual tech stack, not generic lists
|
|
579
|
+
3. **Don't over-install** — Recommend only what's relevant to the current project
|
|
580
|
+
4. **Respect scopes** — Use project scope for team tools, user scope for personal preferences
|
|
581
|
+
5. **Proactive but not pushy** — Suggest once per session, don't repeat
|
|
582
|
+
6. **Cross-platform awareness** — When a skill exists as both Antigravity SKILL.md and Kiro POWER.md, use the native format for the detected platform
|