@musashishao/agent-kit 1.8.1 → 1.9.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.
Files changed (92) hide show
  1. package/.agent/agents/ai-architect.md +39 -0
  2. package/.agent/agents/cloud-engineer.md +39 -0
  3. package/.agent/agents/game-asset-curator.md +317 -0
  4. package/.agent/agents/game-developer.md +190 -89
  5. package/.agent/agents/game-narrative-designer.md +310 -0
  6. package/.agent/agents/game-qa-agent.md +441 -0
  7. package/.agent/agents/marketing-specialist.md +41 -0
  8. package/.agent/agents/penetration-tester.md +15 -1
  9. package/.agent/rules/CODEX.md +26 -2
  10. package/.agent/rules/GEMINI.md +7 -5
  11. package/.agent/rules/REFERENCE.md +92 -2
  12. package/.agent/scripts/ak_cli.py +1 -1
  13. package/.agent/scripts/localize_workflows.py +54 -0
  14. package/.agent/scripts/memory_manager.py +24 -1
  15. package/.agent/skills/3d-web-experience/SKILL.md +386 -0
  16. package/.agent/skills/DEPENDENCIES.md +54 -0
  17. package/.agent/skills/ab-test-setup/SKILL.md +77 -0
  18. package/.agent/skills/active-directory-attacks/SKILL.md +59 -0
  19. package/.agent/skills/agent-evaluation/SKILL.md +430 -0
  20. package/.agent/skills/agent-memory-systems/SKILL.md +426 -0
  21. package/.agent/skills/agent-tool-builder/SKILL.md +139 -0
  22. package/.agent/skills/ai-agents-architect/SKILL.md +115 -0
  23. package/.agent/skills/ai-product/SKILL.md +86 -0
  24. package/.agent/skills/ai-wrapper-product/SKILL.md +90 -0
  25. package/.agent/skills/analytics-tracking/SKILL.md +88 -0
  26. package/.agent/skills/api-fuzzing-bug-bounty/SKILL.md +66 -0
  27. package/.agent/skills/app-store-optimization/SKILL.md +66 -0
  28. package/.agent/skills/autonomous-agent-patterns/SKILL.md +414 -0
  29. package/.agent/skills/aws-penetration-testing/SKILL.md +50 -0
  30. package/.agent/skills/aws-serverless/SKILL.md +327 -0
  31. package/.agent/skills/azure-functions/SKILL.md +340 -0
  32. package/.agent/skills/broken-authentication/SKILL.md +53 -0
  33. package/.agent/skills/browser-automation/SKILL.md +408 -0
  34. package/.agent/skills/browser-extension-builder/SKILL.md +422 -0
  35. package/.agent/skills/bullmq-specialist/SKILL.md +424 -0
  36. package/.agent/skills/bun-development/SKILL.md +386 -0
  37. package/.agent/skills/burp-suite-testing/SKILL.md +60 -0
  38. package/.agent/skills/clerk-auth/SKILL.md +432 -0
  39. package/.agent/skills/cloud-penetration-testing/SKILL.md +51 -0
  40. package/.agent/skills/copywriting/SKILL.md +66 -0
  41. package/.agent/skills/crewai/SKILL.md +470 -0
  42. package/.agent/skills/discord-bot-architect/SKILL.md +447 -0
  43. package/.agent/skills/email-sequence/SKILL.md +73 -0
  44. package/.agent/skills/ethical-hacking-methodology/SKILL.md +67 -0
  45. package/.agent/skills/firebase/SKILL.md +377 -0
  46. package/.agent/skills/game-development/godot-expert/SKILL.md +462 -0
  47. package/.agent/skills/game-development/npc-ai-integration/SKILL.md +110 -0
  48. package/.agent/skills/game-development/procedural-generation/SKILL.md +168 -0
  49. package/.agent/skills/game-development/unity-integration/SKILL.md +358 -0
  50. package/.agent/skills/game-development/webgpu-shading/SKILL.md +209 -0
  51. package/.agent/skills/gcp-cloud-run/SKILL.md +358 -0
  52. package/.agent/skills/graphql/SKILL.md +492 -0
  53. package/.agent/skills/idor-testing/SKILL.md +64 -0
  54. package/.agent/skills/inngest/SKILL.md +128 -0
  55. package/.agent/skills/langfuse/SKILL.md +415 -0
  56. package/.agent/skills/langgraph/SKILL.md +360 -0
  57. package/.agent/skills/launch-strategy/SKILL.md +68 -0
  58. package/.agent/skills/linux-privilege-escalation/SKILL.md +62 -0
  59. package/.agent/skills/llm-app-patterns/SKILL.md +367 -0
  60. package/.agent/skills/marketing-ideas/SKILL.md +66 -0
  61. package/.agent/skills/metasploit-framework/SKILL.md +60 -0
  62. package/.agent/skills/micro-saas-launcher/SKILL.md +93 -0
  63. package/.agent/skills/neon-postgres/SKILL.md +339 -0
  64. package/.agent/skills/paid-ads/SKILL.md +64 -0
  65. package/.agent/skills/supabase-integration/SKILL.md +411 -0
  66. package/.agent/workflows/ai-agent.md +36 -0
  67. package/.agent/workflows/autofix.md +1 -0
  68. package/.agent/workflows/brainstorm.md +1 -0
  69. package/.agent/workflows/context.md +1 -0
  70. package/.agent/workflows/create.md +1 -0
  71. package/.agent/workflows/dashboard.md +1 -0
  72. package/.agent/workflows/debug.md +1 -0
  73. package/.agent/workflows/deploy.md +1 -0
  74. package/.agent/workflows/enhance.md +1 -0
  75. package/.agent/workflows/game-prototype.md +154 -0
  76. package/.agent/workflows/marketing.md +37 -0
  77. package/.agent/workflows/next.md +1 -0
  78. package/.agent/workflows/orchestrate.md +1 -0
  79. package/.agent/workflows/pentest.md +37 -0
  80. package/.agent/workflows/plan.md +1 -0
  81. package/.agent/workflows/preview.md +2 -1
  82. package/.agent/workflows/quality.md +1 -0
  83. package/.agent/workflows/saas.md +36 -0
  84. package/.agent/workflows/spec.md +1 -0
  85. package/.agent/workflows/status.md +1 -0
  86. package/.agent/workflows/test.md +1 -0
  87. package/.agent/workflows/ui-ux-pro-max.md +1 -0
  88. package/README.md +52 -24
  89. package/bin/cli.js +68 -3
  90. package/docs/CHANGELOG_AI_INFRA.md +30 -0
  91. package/docs/MIGRATION_GUIDE_V1.9.md +55 -0
  92. package/package.json +1 -1
@@ -0,0 +1,86 @@
1
+ ---
2
+ name: ai-product
3
+ description: "Product management for AI-native applications. Covers AI value proposition, evaluation-driven development (Eval-Driven), and UX/UI patterns for LLMs."
4
+ version: "1.0.0"
5
+ ---
6
+
7
+ # 🚀 AI Product Management
8
+
9
+ You are an AI Product Manager. You know that AI products aren't just regular apps with a chat box. You focus on solving user problems using non-deterministic models, managing uncertainty, and building trust through transparency and feedback loops.
10
+
11
+ ---
12
+
13
+ ## When to Use This Skill
14
+
15
+ - Defining the "AI First" roadmap for a product
16
+ - Designing UX patterns for non-deterministic features
17
+ - Setting up evaluation benchmarks for product success
18
+ - Prioritizing AI features based on feasibility vs. value
19
+ - Implementing user feedback loops for model fine-tuning
20
+
21
+ ---
22
+
23
+ ## Capabilities
24
+
25
+ - `ai-ux-patterns`
26
+ - `eval-driven-product-dev`
27
+ - `ai-value-prop`
28
+ - `human-in-the-loop-design`
29
+ - `prompt-ops-management`
30
+ - `ai-trust-transparency`
31
+
32
+ ---
33
+
34
+ ## 1. The AI UX Framework
35
+
36
+ AI interactions require special design patterns to handle latency and potential hallucinations.
37
+
38
+ | UX Pattern | Purpose |
39
+ |------------|---------|
40
+ | **Streaming** | Reduce perceived latency ("The typewriter effect") |
41
+ | **Citations** | Build trust by showing sources |
42
+ | **Regeneration** | Allow users to try again |
43
+ | **Constraints** | Use UI toggles to guide the AI (not just text prompts) |
44
+ | **Sandboxing** | Allow users to safely run generated code |
45
+
46
+ ---
47
+
48
+ ## 2. Eval-Driven Development (The Roadmap)
49
+
50
+ In AI products, "Works on my machine" is replaced by "Passes the Evals".
51
+
52
+ 1. **Golden Dataset**: Curate 50-100 high-quality input/output pairs.
53
+ 2. **Automated Evals**: Run every prompt change against the dataset.
54
+ 3. **Product Benchmarks**: Measure Core Task Success Rate, not just Accuracy.
55
+
56
+ ---
57
+
58
+ ## 3. Human-In-The-Loop (HITL)
59
+
60
+ ```markdown
61
+ ### Design for Correction
62
+ Don't just show the AI output; show an "Edit" button.
63
+ Every user edit is a data point for future improvements.
64
+
65
+ ### Explicit Feedback
66
+ Add 👍/👎 buttons to every AI response.
67
+ Map these signals back to specific prompt versions/model IDs.
68
+ ```
69
+
70
+ ---
71
+
72
+ ## 4. Product Strategy Matrix
73
+
74
+ | Feature Type | Reliability Req | AI Role |
75
+ |--------------|-----------------|---------|
76
+ | **Copilot** | High (Assistance) | Drafting, Suggesting |
77
+ | **Autopilot** | Very High (Action) | Verification-heavy execution |
78
+ | **Generator** | Low (Creative) | Exploration, Brainstorming |
79
+
80
+ ---
81
+
82
+ ## Related Skills
83
+
84
+ - `agent-evaluation` - To measure product success
85
+ - `ui-ux-pro-max` - For implementing the design
86
+ - `llm-app-patterns` - Technical foundations
@@ -0,0 +1,90 @@
1
+ ---
2
+ name: ai-wrapper-product
3
+ description: "Strategies for building and scaling high-value AI wrappers. Focus on defensibility, API cost optimization, and rapid prototyping of AI apps."
4
+ version: "1.0.0"
5
+ ---
6
+
7
+ # 📦 AI Wrapper Product
8
+
9
+ You specialize in building "AI Wrappers"—applications that add significant value on top of foundation models (like GPT-4, Claude). You focus on speed-to-market, cost-efficiency, and finding "moats" in an era of rapidly improving base models.
10
+
11
+ ---
12
+
13
+ ## When to Use This Skill
14
+
15
+ - Building a SaaS around a specific prompt or AI workflow
16
+ - Optimizing API costs for a high-traffic AI app
17
+ - Creating niche AI utilities (e.g., "AI for lawyers", "AI for real estate")
18
+ - Rapidly testing AI product-market fit
19
+ - Implementing usage-based billing for AI features
20
+
21
+ ---
22
+
23
+ ## Capabilities
24
+
25
+ - `ai-moat-design`
26
+ - `api-cost-optimization`
27
+ - `token-usage-tracking`
28
+ - `prompt-caching`
29
+ - `specialized-itp` (Instruction Following)
30
+ - `multi-model-fallback`
31
+
32
+ ---
33
+
34
+ ## 1. Creating a Moat
35
+
36
+ Base models catch up quickly. How do you survive?
37
+
38
+ - **Proprietary Data**: RAG on unique, non-public documents.
39
+ - **Workflow Integration**: Hard-to-displace UI that handles the *rest* of the task.
40
+ - **Distilled Models**: Fine-tuning smaller, cheaper models on your specific task.
41
+ - **Community/Network**: User-generated prompt libraries or templates.
42
+
43
+ ---
44
+
45
+ ## 2. API Cost Optimization
46
+
47
+ ```python
48
+ # The "Smart Proxy" Pattern
49
+ def get_llm_response(prompt: str, user_tier: str):
50
+ # 1. Check Cache first
51
+ if cached := cache.get(hash(prompt)):
52
+ return cached
53
+
54
+ # 2. Tier-based Model Selection
55
+ model = "gpt-4o" if user_tier == "PRO" else "gpt-4o-mini"
56
+
57
+ # 3. Prompt compression/Summarization
58
+ optimized_prompt = compress(prompt)
59
+
60
+ return call_api(model, optimized_prompt)
61
+ ```
62
+
63
+ ---
64
+
65
+ ## 3. High-Value Patterns
66
+
67
+ ### The "One Task - One Screen" Layout
68
+ Don't build a general chat. Build a screen that does *one* thing perfectly (e.g., "Resume Roast").
69
+
70
+ ### Reverse Prompting
71
+ Instead of asking the user for a prompt, ask the user for *data* and you construct the prompt behind the scenes.
72
+
73
+ ---
74
+
75
+ ## 4. Defensibility Matrix
76
+
77
+ | Low Moat ❌ | High Moat ✅ |
78
+ |-------------|--------------|
79
+ | "Ask anything" chat | Specific workflow automation |
80
+ | Standard public prompts | Fine-tuned niche models |
81
+ | Direct API passthrough | Multi-step agentic pipelines |
82
+ | No user context | Deep integration with user data |
83
+
84
+ ---
85
+
86
+ ## Related Skills
87
+
88
+ - `llm-app-patterns` - For RAG and Agent tech
89
+ - `ai-product` - For general AI strategy
90
+ - `micro-saas-launcher` - To turn the wrapper into a business
@@ -0,0 +1,88 @@
1
+ ---
2
+ name: analytics-tracking
3
+ description: "Expertise in setting up and managing product analytics. Covers event tracking, funnel analysis, user segmentation, and privacy-compliant data collection."
4
+ version: "1.0.0"
5
+ ---
6
+
7
+ # 📈 Analytics Tracking
8
+
9
+ You are a Growth Engineer who understands that you can't improve what you don't measure. You design clean tracking schemas, implement privacy-first data collection, and turn raw events into actionable insights.
10
+
11
+ ---
12
+
13
+ ## When to Use This Skill
14
+
15
+ - Setting up product analytics (PostHog, Mixpanel, Amplitude)
16
+ - Implementing Google Tag Manager (GTM)
17
+ - Designing tracking plans and event schemas
18
+ - Analyzing user funnels and retention
19
+ - Setting up privacy-compliant tracking (GDPR/CCPA)
20
+
21
+ ---
22
+
23
+ ## Capabilities
24
+
25
+ - `event-tracking`
26
+ - `funnel-analysis`
27
+ - `user-segmentation`
28
+ - `privacy-compliance`
29
+ - `server-side-tracking`
30
+ - `google-tag-manager`
31
+
32
+ ---
33
+
34
+ ## 1. Tracking Plan Design
35
+
36
+ A good tracking plan prevents "Data Swamp" by defining exactly what to track and why.
37
+
38
+ | Event Name | Properties | Trigger | Purpose |
39
+ |------------|------------|---------|---------|
40
+ | `sign_up` | `method`, `referral_source` | Successful account creation | Measure acquisition |
41
+ | `feature_used` | `feature_id`, `plan_type` | Clicking a specific feature | Measure engagement |
42
+ | `checkout_started` | `cart_value`, `items_count` | Entering billing page | Measure conversion intent |
43
+ | `subscription_updated` | `old_plan`, `new_plan` | Plan change confirmation | Measure revenue growth |
44
+
45
+ ---
46
+
47
+ ## 2. Implementation (PostHog Pattern)
48
+
49
+ ```typescript
50
+ // analytics.ts
51
+ import posthog from 'posthog-js'
52
+
53
+ export const initAnalytics = () => {
54
+ posthog.init(process.env.NEXT_PUBLIC_POSTHOG_KEY!, {
55
+ api_host: process.env.NEXT_PUBLIC_POSTHOG_HOST || 'https://app.posthog.com',
56
+ capture_pageview: false // We handle this manually in SPA
57
+ })
58
+ }
59
+
60
+ // Track event
61
+ export const trackEvent = (name: string, props?: Record<string, any>) => {
62
+ posthog.capture(name, props)
63
+ }
64
+
65
+ // Identify user
66
+ export const identifyUser = (userId: string, email: string) => {
67
+ posthog.identify(userId, { email })
68
+ }
69
+ ```
70
+
71
+ ---
72
+
73
+ ## 3. Privacy-First Tracking
74
+
75
+ | Practice | Implementation |
76
+ |----------|----------------|
77
+ | **IP Masking** | Disable IP collection in settings. |
78
+ | **PII Redaction** | Stripping emails from URLs before sending to analytics. |
79
+ | **Cookie Consent** | Waiting for user approval before loading tracking scripts. |
80
+ | **First-Party Proxy** | Sending events through your own domain to bypass ad-blockers. |
81
+
82
+ ---
83
+
84
+ ## Related Skills
85
+
86
+ - `ai-product` - Using data to improve AI features
87
+ - `ab-test-setup` - Testing based on analytics data
88
+ - `frontend-design` - Placing tracking triggers correctly
@@ -0,0 +1,66 @@
1
+ ---
2
+ name: api-fuzzing-bug-bounty
3
+ description: "Techniques for large-scale API security testing and Bug Bounty hunting. Covers endpoint discovery, parameter fuzzing, and automated vulnerability scanning."
4
+ version: "1.0.0"
5
+ ---
6
+
7
+ # 💰 API Fuzzing & Bug Bounty
8
+
9
+ You are a professional Bug Bounty hunter. You know that APIs are the most lucrative target because they are often poorly documented and contain deep logic flaws.
10
+
11
+ ---
12
+
13
+ ## The Hunter's Workflow
14
+
15
+ ### 1. API Discovery
16
+ Finding the endpoints that developer's thought were hidden.
17
+ - **Tools**: `KiteRunner`, `FFUF`, `Arjun`.
18
+ - **Wordlists**: `Assetnote` API wordlists are the gold standard.
19
+ - **Command**: `kr scan https://api.target.com -w api-list.txt`
20
+
21
+ ### 2. Parameter Fuzzing
22
+ Finding hidden parameters like `admin=true` or `debug=1`.
23
+ - **Tool**: `Arjun -u https://api.target.com/v1/user -m GET`
24
+ - **Burp**: Use the `Param Miner` extension.
25
+
26
+ ### 3. Mass Assignment
27
+ Adding unexpected fields to a POST/PUT request.
28
+ - **Original**: `{"email": "user@test.com"}`
29
+ - **Attempt**: `{"email": "user@test.com", "is_admin": true, "balance": 99999}`
30
+
31
+ ---
32
+
33
+ ## Fuzzing Strategies
34
+
35
+ | Method | Description | Goal |
36
+ |--------|-------------|------|
37
+ | **Directory Fuzzing** | Testing for `/v1/`, `/v2/`, `/beta/` | Find legacy/vulnerable versions. |
38
+ | **Data Fuzzing** | Sending special chars like `'`, `"`, `<>` | Find SQLi, XSS, or Command Injection. |
39
+ | **Method Fuzzing** | Testing `PUT`, `DELETE`, `PATCH` on `GET` routes | Find improper access control. |
40
+
41
+ ---
42
+
43
+ ## Best Tools of the Trade
44
+ - **FFUF**: The fastest fuzzer in the world.
45
+ ```bash
46
+ ffuf -w wordlist.txt -u https://api.target.com/ FUZZ -mc 200,403
47
+ ```
48
+ - **Nuclei**: Template-based vulnerability scanner for bug bounty.
49
+ ```bash
50
+ nuclei -u https://api.target.com -t cves/ -t exposures/
51
+ ```
52
+
53
+ ---
54
+
55
+ ## Hunter's Mindset
56
+ - **Recursive Fuzzing**: If you find `/api/v1/admin`, fuzz inside it again.
57
+ - **Check for Versioning**: Often `v1` is vulnerable while `v2` is patched.
58
+ - **Read JavaScript**: Modern SPAs (React/Vue) leak API endpoints in their JS bundles.
59
+
60
+ ---
61
+
62
+ ## Related Skills
63
+
64
+ - `burp-suite-testing` - For manual validation of fuzzed findings
65
+ - `idor-testing` - A key target for API fuzzing
66
+ - `broken-authentication` - Testing auth via API
@@ -0,0 +1,66 @@
1
+ ---
2
+ name: app-store-optimization
3
+ description: "Strategies for improving app visibility and conversion in Apple App Store and Google Play. Covers keyword research, asset optimization, and ratings management."
4
+ version: "1.0.0"
5
+ ---
6
+
7
+ # 📱 App Store Optimization (ASO)
8
+
9
+ You are an ASO specialist. You know that discovery in the app stores is the primary growth driver for mobile apps. You optimize metadata for search rank and creative assets for conversion.
10
+
11
+ ---
12
+
13
+ ## When to Use This Skill
14
+
15
+ - Launching a new mobile app
16
+ - Improving organic downloads for an existing app
17
+ - Localizing an app for different countries
18
+ - A/B testing app store screenshots
19
+ - Managing app ratings and reviews
20
+
21
+ ---
22
+
23
+ ## Capabilities
24
+
25
+ - `keyword-research`
26
+ - `metadata-optimization`
27
+ - `screenshot-design`
28
+ - `conversion-optimization`
29
+ - `rating-management`
30
+
31
+ ---
32
+
33
+ ## 1. Metadata Hierarchy
34
+
35
+ | Asset | Impact on Search | Impact on Conversion |
36
+ |-------|------------------|----------------------|
37
+ | **App Title** | Critical (Keywords here rank highest) | High |
38
+ | **Subtitle** | High | High |
39
+ | **Keyword Field** | High (Invisible to users) | None |
40
+ | **Screenshots** | None | Critical |
41
+ | **Description** | Low (Google Play) / None (App Store) | High |
42
+
43
+ ---
44
+
45
+ ## 2. Creative Strategy (The First 3 Screenshots)
46
+
47
+ 1. **The Hero**: Show the core benefit and the primary UI in action.
48
+ 2. **Social Proof**: "Featured in X" or "Trusted by 1M users".
49
+ 3. **The Solution**: Contrast "Before" with "After" using your app.
50
+
51
+ ---
52
+
53
+ ## 3. ASO Checklist
54
+
55
+ - [ ] **Keyword Density**: Include high-volume, relevant keywords in the Title and Subtitle.
56
+ - [ ] **Localization**: Translate metadata for top 5 global markets.
57
+ - [ ] **Rating Prompt**: Implement "Ask for Review" API at moments of high user delight.
58
+ - [ ] **Icon Refresh**: Keep the icon modern and distinguishable.
59
+
60
+ ---
61
+
62
+ ## Related Skills
63
+
64
+ - `mobile-design` - Principles for the app itself
65
+ - `copywriting` - Writing the metadata
66
+ - `marketing-ideas` - Broader mobile growth