superkit-mcp-server 1.0.2 → 1.0.3

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 (37) hide show
  1. package/README.md +4 -1
  2. package/agents/code-archaeologist.md +106 -0
  3. package/agents/devops-engineer.md +242 -0
  4. package/agents/orchestrator.md +420 -416
  5. package/agents/penetration-tester.md +188 -0
  6. package/agents/performance-optimizer.md +187 -0
  7. package/agents/qa-automation-engineer.md +103 -0
  8. package/agents/quant-developer.md +4 -0
  9. package/package.json +1 -1
  10. package/skills/meta/code-review/SKILL.md +7 -0
  11. package/skills/tech/alpha-vantage/SKILL.md +142 -0
  12. package/skills/tech/alpha-vantage/references/commodities.md +153 -0
  13. package/skills/tech/alpha-vantage/references/economic-indicators.md +158 -0
  14. package/skills/tech/alpha-vantage/references/forex-crypto.md +154 -0
  15. package/skills/tech/alpha-vantage/references/fundamentals.md +223 -0
  16. package/skills/tech/alpha-vantage/references/intelligence.md +138 -0
  17. package/skills/tech/alpha-vantage/references/options.md +93 -0
  18. package/skills/tech/alpha-vantage/references/technical-indicators.md +374 -0
  19. package/skills/tech/alpha-vantage/references/time-series.md +157 -0
  20. package/skills/tech/financial-modeling/SKILL.md +18 -0
  21. package/skills/tech/financial-modeling/skills/3-statements/SKILL.md +368 -0
  22. package/skills/tech/financial-modeling/skills/3-statements/references/formatting.md +118 -0
  23. package/skills/tech/financial-modeling/skills/3-statements/references/formulas.md +292 -0
  24. package/skills/tech/financial-modeling/skills/3-statements/references/sec-filings.md +125 -0
  25. package/skills/tech/financial-modeling/skills/dcf-model/SKILL.md +1211 -0
  26. package/skills/tech/financial-modeling/skills/dcf-model/TROUBLESHOOTING.md +40 -0
  27. package/skills/tech/financial-modeling/skills/dcf-model/requirements.txt +8 -0
  28. package/skills/tech/financial-modeling/skills/dcf-model/scripts/validate_dcf.py +292 -0
  29. package/skills/tech/financial-modeling/skills/lbo-model/SKILL.md +236 -0
  30. package/skills/tech/financial-modeling/skills/merger-model/SKILL.md +108 -0
  31. package/skills/tech/intelligent-routing/SKILL.md +5 -5
  32. package/workflows/kit-setup.md +8 -8
  33. package/workflows/map-codebase.md +78 -0
  34. package/workflows/plan-compound.md +6 -0
  35. package/workflows/plan_review.md +19 -3
  36. package/workflows/review-compound.md +36 -17
  37. package/workflows/specs.md +1 -1
@@ -233,10 +233,10 @@ User: "Add mobile support to the web app"
233
233
  - If task is unclear, still ask questions first
234
234
  - Then route to appropriate agent
235
235
 
236
- ### With GEMINI.md Rules
236
+ ### With main AGENT.md (GEMINI.md, CLAUDE.md) Rules
237
237
 
238
- - **Priority**: GEMINI.md rules > intelligent-routing
239
- - If GEMINI.md specifies explicit routing, follow it
238
+ - **Priority**: main AGENT.md (GEMINI.md, CLAUDE.md) rules > intelligent-routing
239
+ - If main AGENT.md (GEMINI.md, CLAUDE.md) specifies explicit routing, follow it
240
240
  - Intelligent routing is the DEFAULT when no explicit rule exists
241
241
 
242
242
  ## Testing the System
@@ -305,7 +305,7 @@ still mention agents explicitly with `@agent-name` if you prefer.
305
305
 
306
306
  ### Enable Debug Mode (for development)
307
307
 
308
- Add to GEMINI.md temporarily:
308
+ Add to main AGENT.md (GEMINI.md, CLAUDE.md) temporarily:
309
309
 
310
310
  ```markdown
311
311
  ## DEBUG: Intelligent Routing
@@ -332,4 +332,4 @@ Show selection reasoning:
332
332
 
333
333
  ---
334
334
 
335
- **Next Steps**: Integrate this skill into GEMINI.md TIER 0 rules.
335
+ **Next Steps**: Integrate this skill into main AGENT.md (GEMINI.md, CLAUDE.md) TIER 0 rules.
@@ -26,7 +26,7 @@ Collect information:
26
26
  - Goals
27
27
  - Key features
28
28
 
29
- **Output:** `.gemini-kit/product.md`
29
+ **Output:** `.docs/product.md`
30
30
 
31
31
  ### Step 2: Tech Stack
32
32
 
@@ -36,7 +36,7 @@ Collect information:
36
36
  - Database (PostgreSQL, MongoDB, etc.)
37
37
  - Other tools (Redis, S3, etc.)
38
38
 
39
- **Output:** `.gemini-kit/tech-stack.md`
39
+ **Output:** `.docs/tech-stack.md`
40
40
 
41
41
  ### Step 3: Guidelines
42
42
 
@@ -46,14 +46,14 @@ Collect information:
46
46
  - Testing requirements
47
47
  - Documentation standards
48
48
 
49
- **Output:** `.gemini-kit/guidelines.md`
49
+ **Output:** `.docs/guidelines.md`
50
50
 
51
51
  ---
52
52
 
53
53
  ## Generated Files
54
54
 
55
55
  ```
56
- .gemini-kit/
56
+ .docs/
57
57
  ├── product.md # Product context
58
58
  ├── tech-stack.md # Technical choices
59
59
  └── guidelines.md # Team conventions
@@ -65,7 +65,7 @@ Collect information:
65
65
 
66
66
  ### product.md
67
67
  ```markdown
68
- # Product: Gemini-Kit
68
+ # Product: Superkit
69
69
 
70
70
  ## Description
71
71
  Multi-agent AI development toolkit for Gemini CLI.
@@ -93,9 +93,9 @@ After setup complete:
93
93
  ✓ Setup complete!
94
94
 
95
95
  Files created:
96
- - .gemini-kit/product.md
97
- - .gemini-kit/tech-stack.md
98
- - .gemini-kit/guidelines.md
96
+ - .docs/product.md
97
+ - .docs/tech-stack.md
98
+ - .docs/guidelines.md
99
99
 
100
100
  Next steps:
101
101
  1. Review and edit the generated files
@@ -0,0 +1,78 @@
1
+ ---
2
+ description: (Brownfield) Map existing codebase architecture, tech stack, and conventions to ensure AI logic integrates smoothly.
3
+ ---
4
+
5
+ # /map-codebase - Codebase Mapping Workflow
6
+
7
+ Explore your existing application to document and structure its architecture, technology stack, testing conventions, and primary concerns. These foundational documents allow you and specialized agents to safely operate inside complex, pre-existing ("brownfield") codebases.
8
+
9
+ > **Why map the codebase?** Writing code in an existing project without understanding its structure leads to duplicated patterns, fragmented architecture, and broken tests.
10
+
11
+ ## When To Use
12
+
13
+ - **New Developer/Agent Onboarding:** First step when bringing an agent into a mature project.
14
+ - **Before Major Refactors:** Taking a snapshot of the current state before altering the foundations.
15
+ - **Project Documentation Sync:** After significant time has passed or dependencies have evolved.
16
+
17
+ ---
18
+
19
+ ## Workflow
20
+
21
+ ### Step 1: Run Sub-Task Planners in Parallel
22
+
23
+ You will invoke multiple agents sequentially or in parallel using the `orchestrator` to generate specific documents:
24
+
25
+ #### 1. Analyze Tech Stack and Integrations
26
+ Use `explorer-agent` to analyze package files (e.g., package.json, requirements.txt, Cargo.toml), config files, and core application endpoints.
27
+ - **Output:** `.planning/codebase/STACK.md` and `.planning/codebase/INTEGRATIONS.md`
28
+
29
+ #### 2. Analyze Architecture and Structure
30
+ Use `code-archaeologist` to analyze the directory structures, entry points, import patterns, and key abstractions across the project.
31
+ - **Output:** `.planning/codebase/ARCHITECTURE.md` and `.planning/codebase/STRUCTURE.md`
32
+
33
+ #### 3. Analyze Quality and Conventions
34
+ Use `qa-automation-engineer` or `test-engineer` to read `.eslintrc`, `.prettierrc`, `jest.config.js`, and analyze common design patterns across `src/`.
35
+ - **Output:** `.planning/codebase/CONVENTIONS.md` and `.planning/codebase/TESTING.md`
36
+
37
+ #### 4. Map Out Concerns
38
+ Use `penetration-tester` or `performance-optimizer` to map large files, scattered FIXME/TODO tags, fragile abstractions, and technical debt.
39
+ - **Output:** `.planning/codebase/CONCERNS.md`
40
+
41
+ ### Step 2: Ensure Path Formatting
42
+
43
+ > [!IMPORTANT]
44
+ > **File Paths are Mandatory:** All generated mapping documents (`STACK.md`, `ARCHITECTURE.md`, `CONVENTIONS.md`, etc.) MUST use absolute or exact relative markdown file paths (e.g., `src/services/user.ts`), formatted with backticks. Vague descriptions like "User Service" are not actionable.
45
+
46
+ ### Step 3: Integrate with Project Knowledge
47
+
48
+ Ensure the mapped output is linked in the master README, `GEMINI.md`, or the primary planner file so future workflows (`/plan-compound`, `/work`) automatically ingest the conventions.
49
+
50
+ ### Step 4: Validate
51
+
52
+ Ensure these files do NOT include:
53
+ - Passwords or tokens.
54
+ - Content from `.env` files.
55
+ - Proprietary or encrypted keys.
56
+
57
+ Check that all 4 dimensions (Tech, Arch, Quality, Concerns) exist in the `.planning/codebase/` output directory.
58
+
59
+ ---
60
+
61
+ ## Output Template References
62
+
63
+ When writing these documents, use the following structural guidelines:
64
+
65
+ - **STACK.md**: Languages, Runtime, Frameworks, Key Dependencies, Platform Requirements.
66
+ - **ARCHITECTURE.md**: Pattern Overview, Layers, Data Flow, Key Abstractions, Entry Points.
67
+ - **CONVENTIONS.md**: Naming Patterns, Code Style, Error Handling, Logging, Comment Guidelines.
68
+ - **CONCERNS.md**: Tech Debt, Known Bugs, Fragile Areas, Test Coverage Gaps.
69
+
70
+ ## Completion
71
+
72
+ ```bash
73
+ ✓ Codebase mapped into .planning/codebase/
74
+
75
+ Next steps:
76
+ 1. /plan-compound - Start planning features using these new conventions
77
+ 2. /review - Review the identified technical debt (CONCERNS.md)
78
+ ```
@@ -291,6 +291,12 @@ Create plan file: `plans/{feature-name}.md`
291
291
  - [ ] Criterion 1
292
292
  - [ ] Criterion 2
293
293
 
294
+ ## Acceptance Criteria & Testing (Nyquist Validation Layer)
295
+ > **Important:** Map each requirement to a specific automated test or manual verification command *before* execution.
296
+ - [ ] Criterion 1 -> `npm test -- -t "criterion 1"`
297
+ - [ ] Criterion 2 -> `pytest -k "criterion_2"`
298
+ - [ ] Test scaffolding required: [List tests that need to be created]
299
+
294
300
  ## Technical Considerations
295
301
 
296
302
  ### Dependencies
@@ -110,6 +110,11 @@ cat plans/{plan-name}.md
110
110
  - [ ] Data extremes and migration scenarios
111
111
  - [ ] User behavior edge cases
112
112
 
113
+ **Reproducibility and Transparency (Scientific Review):**
114
+ - [ ] **Data/State Availability:** Are initial states, dummy data, or prerequisites clearly defined?
115
+ - [ ] **Methodological Detail:** Could an independent agent perfectly execute this plan without asking you clarifying questions?
116
+ - [ ] **Reporting Standards:** Does the plan link to specific codebase conventions (e.g. `CONVENTIONS.md`)?
117
+
113
118
  **Stakeholder Impact (Who else is affected?):**
114
119
  - [ ] End users notified of behavior changes?
115
120
  - [ ] Breaking changes communicated to other devs?
@@ -125,18 +130,29 @@ cat plans/{plan-name}.md
125
130
 
126
131
  ### Step 4: Provide Feedback
127
132
 
133
+ Maintain a constructive, objective, and professional tone (Scientific Peer Review Standard):
134
+ - **Be constructive:** Frame criticism as opportunities for improvement.
135
+ - **Be specific:** Provide concrete examples and actionable suggestions.
136
+ - **Be balanced:** Acknowledge strengths as well as weaknesses.
137
+
128
138
  ```markdown
129
139
  ## Plan Review: {Plan Name}
130
140
 
141
+ ### Summary Statement
142
+ - {Brief synopsis of the plan and bottom-line assessment of soundness}
143
+
131
144
  ### Strengths
132
145
  - {What's good about the plan}
133
146
 
134
- ### Concerns
135
- - {Issues that need addressing}
147
+ ### Major Concerns (Critical)
148
+ - {Issues that fundamentally break the plan or block reproducibility}
136
149
 
137
- ### Suggestions
150
+ ### Minor Suggestions (Improvements)
138
151
  - {Improvements to consider}
139
152
 
153
+ ### Questions for Author
154
+ - {Clarifications needed before execution}
155
+
140
156
  ### Existing Solutions Referenced
141
157
  - {Any solutions from docs/solutions/ that apply}
142
158
 
@@ -127,12 +127,13 @@ grep -rn "forEach.*await\|map.*await" --include="*.ts" src/
127
127
 
128
128
  ---
129
129
 
130
- #### Pass 3: 🏛️ Architecture Review
130
+ #### Pass 3: 🏛️ Architecture & Visual Review
131
131
 
132
- Check structural integrity:
132
+ Check structural integrity and visual communication:
133
133
 
134
134
  - [ ] **Single Responsibility:** Each function does one thing?
135
135
  - [ ] **Dependencies:** Proper layering? No circular deps?
136
+ - [ ] **Schematics:** Are complex workflows visually documented (mermaid/diagrams)?
136
137
  - [ ] **Naming:** Clear, consistent naming?
137
138
  - [ ] **Patterns:** Following project conventions?
138
139
  - [ ] **Tests:** Adequate test coverage?
@@ -161,6 +162,17 @@ Check for unnecessary complexity:
161
162
 
162
163
  ---
163
164
 
165
+ #### Pass 6: 🔬 Algorithmic & State Rigor (Scientific Review)
166
+
167
+ Apply rigorous scientific evaluation to the core logic:
168
+
169
+ - [ ] **Circular Logic Check:** Are conclusions/states derived independently?
170
+ - [ ] **Control Variables:** Are side-effects properly controlled/isolated?
171
+ - [ ] **Statistical/Algorithmic Soundness:** Are the algorithms appropriate for the scale? Are edge-cases proven handled?
172
+ - [ ] **Reproducibility:** If this fails in production, is there enough logging to perfectly reproduce the state?
173
+
174
+ ---
175
+
164
176
  ### Step 4: Stakeholder Perspective Analysis
165
177
 
166
178
  Think through each stakeholder's view:
@@ -227,31 +239,38 @@ For each P1/P2 finding, create a todo.
227
239
  ### Step 8: Generate Review Summary
228
240
 
229
241
  ```markdown
230
- ## Review Summary: {PR Title}
242
+ ## Peer Review Report: {PR Title}
231
243
 
232
244
  **Reviewed:** {date}
233
245
  **Files Changed:** {count}
234
246
  **Lines:** +{added} / -{removed}
235
247
 
236
- ### Findings
237
-
238
- #### 🔴 P1 - Critical ({count})
239
- - {Finding 1}
240
- - {Finding 2}
248
+ ### Summary Statement
249
+ Provide a concise overall assessment containing:
250
+ - Brief synopsis of the changes
251
+ - Overall recommendation (APPROVE, REQUEST_CHANGES, NEEDS_DISCUSSION)
252
+ - Key strengths
253
+ - Key weaknesses
241
254
 
242
- #### 🟡 P2 - Important ({count})
243
- - {Finding 1}
255
+ ### Major Comments (Critical/P1)
256
+ Critical flaws that must be addressed (security, architectural errors, data loss):
257
+ - 1. {Finding 1} - *Suggested fix*
258
+ - 2. {Finding 2} - *Suggested fix*
244
259
 
245
- #### 🔵 P3 - Nice to Have ({count})
246
- - {Finding 1}
260
+ ### Minor Comments (P2/P3)
261
+ Important to Nice-to-Have improvements (performance, conventions, dead code):
262
+ - 1. {Finding 1} - *Suggested fix*
263
+ - 2. {Finding 2} - *Suggested fix*
247
264
 
248
- ### Recommendation
249
- {APPROVE / REQUEST_CHANGES / NEEDS_DISCUSSION}
265
+ ### Questions for Author
266
+ Requests for clarification, unstated assumptions, or missing reproduction steps:
267
+ - 1. Why was {approach} chosen over {alternative}?
268
+ - 2. How are we handling {edge case} in {file}?
250
269
 
251
270
  ### Next Steps
252
- - [ ] Address P1 findings
253
- - [ ] Consider P2 findings
254
- - [ ] Create follow-up issues for P3
271
+ - [ ] Address Major Comments
272
+ - [ ] Answer Questions
273
+ - [ ] Create follow-up issues for Minor Comments (if deferred)
255
274
  ```
256
275
 
257
276
  ### Step 9: Offer Next Actions
@@ -206,7 +206,7 @@ if [ -n "$active_spec" ]; then
206
206
  fi
207
207
  ```
208
208
 
209
- This is built into `/plan` Step 0.5 and GEMINI.md agent behavior.
209
+ This is built into `/plan` Step 0.5 and main AGENT.md (GEMINI.md, CLAUDE.md) agent behavior.
210
210
 
211
211
  ---
212
212