namnam-skills 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/README.md +223 -0
- package/package.json +63 -0
- package/src/cli.js +460 -0
- package/src/index.js +1 -0
- package/src/postinstall.js +162 -0
- package/src/templates/bmad/bmb/agents/agent-builder.md +14 -0
- package/src/templates/bmad/bmb/agents/module-builder.md +14 -0
- package/src/templates/bmad/bmb/agents/workflow-builder.md +14 -0
- package/src/templates/bmad/bmb/workflows/agent.md +5 -0
- package/src/templates/bmad/bmb/workflows/module.md +5 -0
- package/src/templates/bmad/bmb/workflows/workflow.md +5 -0
- package/src/templates/bmad/bmgd/agents/game-architect.md +14 -0
- package/src/templates/bmad/bmgd/agents/game-designer.md +14 -0
- package/src/templates/bmad/bmgd/agents/game-dev.md +14 -0
- package/src/templates/bmad/bmgd/agents/game-qa.md +14 -0
- package/src/templates/bmad/bmgd/agents/game-scrum-master.md +14 -0
- package/src/templates/bmad/bmgd/agents/game-solo-dev.md +14 -0
- package/src/templates/bmad/bmgd/workflows/brainstorm-game.md +13 -0
- package/src/templates/bmad/bmgd/workflows/code-review.md +13 -0
- package/src/templates/bmad/bmgd/workflows/correct-course.md +13 -0
- package/src/templates/bmad/bmgd/workflows/create-game-brief.md +5 -0
- package/src/templates/bmad/bmgd/workflows/create-gdd.md +5 -0
- package/src/templates/bmad/bmgd/workflows/create-story.md +13 -0
- package/src/templates/bmad/bmgd/workflows/dev-story.md +13 -0
- package/src/templates/bmad/bmgd/workflows/game-architecture.md +13 -0
- package/src/templates/bmad/bmgd/workflows/game-brief.md +13 -0
- package/src/templates/bmad/bmgd/workflows/gametest-automate.md +13 -0
- package/src/templates/bmad/bmgd/workflows/gametest-framework.md +13 -0
- package/src/templates/bmad/bmgd/workflows/gametest-performance.md +13 -0
- package/src/templates/bmad/bmgd/workflows/gametest-playtest-plan.md +13 -0
- package/src/templates/bmad/bmgd/workflows/gametest-test-design.md +13 -0
- package/src/templates/bmad/bmgd/workflows/gametest-test-review.md +13 -0
- package/src/templates/bmad/bmgd/workflows/gdd.md +13 -0
- package/src/templates/bmad/bmgd/workflows/generate-project-context.md +5 -0
- package/src/templates/bmad/bmgd/workflows/narrative.md +13 -0
- package/src/templates/bmad/bmgd/workflows/quick-dev.md +13 -0
- package/src/templates/bmad/bmgd/workflows/quick-prototype.md +13 -0
- package/src/templates/bmad/bmgd/workflows/quick-spec.md +13 -0
- package/src/templates/bmad/bmgd/workflows/retrospective.md +13 -0
- package/src/templates/bmad/bmgd/workflows/sprint-planning.md +13 -0
- package/src/templates/bmad/bmgd/workflows/sprint-status.md +13 -0
- package/src/templates/bmad/bmgd/workflows/workflow-init.md +13 -0
- package/src/templates/bmad/bmgd/workflows/workflow-status.md +13 -0
- package/src/templates/bmad/bmm/agents/analyst.md +14 -0
- package/src/templates/bmad/bmm/agents/architect.md +14 -0
- package/src/templates/bmad/bmm/agents/dev.md +14 -0
- package/src/templates/bmad/bmm/agents/pm.md +14 -0
- package/src/templates/bmad/bmm/agents/quick-flow-solo-dev.md +14 -0
- package/src/templates/bmad/bmm/agents/sm.md +14 -0
- package/src/templates/bmad/bmm/agents/tea.md +14 -0
- package/src/templates/bmad/bmm/agents/tech-writer.md +14 -0
- package/src/templates/bmad/bmm/agents/ux-designer.md +14 -0
- package/src/templates/bmad/bmm/workflows/check-implementation-readiness.md +5 -0
- package/src/templates/bmad/bmm/workflows/code-review.md +13 -0
- package/src/templates/bmad/bmm/workflows/correct-course.md +13 -0
- package/src/templates/bmad/bmm/workflows/create-architecture.md +5 -0
- package/src/templates/bmad/bmm/workflows/create-epics-and-stories.md +5 -0
- package/src/templates/bmad/bmm/workflows/create-excalidraw-dataflow.md +13 -0
- package/src/templates/bmad/bmm/workflows/create-excalidraw-diagram.md +13 -0
- package/src/templates/bmad/bmm/workflows/create-excalidraw-flowchart.md +13 -0
- package/src/templates/bmad/bmm/workflows/create-excalidraw-wireframe.md +13 -0
- package/src/templates/bmad/bmm/workflows/create-product-brief.md +5 -0
- package/src/templates/bmad/bmm/workflows/create-story.md +13 -0
- package/src/templates/bmad/bmm/workflows/create-ux-design.md +5 -0
- package/src/templates/bmad/bmm/workflows/dev-story.md +13 -0
- package/src/templates/bmad/bmm/workflows/document-project.md +13 -0
- package/src/templates/bmad/bmm/workflows/generate-project-context.md +5 -0
- package/src/templates/bmad/bmm/workflows/prd.md +5 -0
- package/src/templates/bmad/bmm/workflows/quick-dev.md +5 -0
- package/src/templates/bmad/bmm/workflows/quick-spec.md +5 -0
- package/src/templates/bmad/bmm/workflows/research.md +5 -0
- package/src/templates/bmad/bmm/workflows/retrospective.md +13 -0
- package/src/templates/bmad/bmm/workflows/sprint-planning.md +13 -0
- package/src/templates/bmad/bmm/workflows/sprint-status.md +13 -0
- package/src/templates/bmad/bmm/workflows/testarch-atdd.md +13 -0
- package/src/templates/bmad/bmm/workflows/testarch-automate.md +13 -0
- package/src/templates/bmad/bmm/workflows/testarch-ci.md +13 -0
- package/src/templates/bmad/bmm/workflows/testarch-framework.md +13 -0
- package/src/templates/bmad/bmm/workflows/testarch-nfr.md +13 -0
- package/src/templates/bmad/bmm/workflows/testarch-test-design.md +13 -0
- package/src/templates/bmad/bmm/workflows/testarch-test-review.md +13 -0
- package/src/templates/bmad/bmm/workflows/testarch-trace.md +13 -0
- package/src/templates/bmad/bmm/workflows/workflow-init.md +13 -0
- package/src/templates/bmad/bmm/workflows/workflow-status.md +13 -0
- package/src/templates/bmad/cis/agents/brainstorming-coach.md +14 -0
- package/src/templates/bmad/cis/agents/creative-problem-solver.md +14 -0
- package/src/templates/bmad/cis/agents/design-thinking-coach.md +14 -0
- package/src/templates/bmad/cis/agents/innovation-strategist.md +14 -0
- package/src/templates/bmad/cis/agents/presentation-master.md +14 -0
- package/src/templates/bmad/cis/agents/storyteller.md +14 -0
- package/src/templates/bmad/cis/workflows/design-thinking.md +13 -0
- package/src/templates/bmad/cis/workflows/innovation-strategy.md +13 -0
- package/src/templates/bmad/cis/workflows/problem-solving.md +13 -0
- package/src/templates/bmad/cis/workflows/storytelling.md +13 -0
- package/src/templates/bmad/core/agents/bmad-master.md +14 -0
- package/src/templates/bmad/core/tasks/index-docs.md +9 -0
- package/src/templates/bmad/core/tasks/shard-doc.md +9 -0
- package/src/templates/bmad/core/workflows/brainstorming.md +5 -0
- package/src/templates/bmad/core/workflows/party-mode.md +5 -0
- package/src/templates/claudekit/agents/ai-sdk-expert.md +135 -0
- package/src/templates/claudekit/agents/cli-expert.md +135 -0
- package/src/templates/claudekit/agents/code-review-expert.md +132 -0
- package/src/templates/claudekit/agents/code-search.md +83 -0
- package/src/templates/claudekit/agents/nestjs-expert.md +128 -0
- package/src/templates/claudekit/agents/oracle.md +120 -0
- package/src/templates/claudekit/agents/research-expert.md +115 -0
- package/src/templates/claudekit/agents/triage-expert.md +116 -0
- package/src/templates/claudekit/commands/checkpoint-create.md +54 -0
- package/src/templates/claudekit/commands/checkpoint-list.md +40 -0
- package/src/templates/claudekit/commands/checkpoint-restore.md +50 -0
- package/src/templates/claudekit/commands/create-command.md +107 -0
- package/src/templates/claudekit/commands/create-subagent.md +96 -0
- package/src/templates/core/code-review.md +70 -0
- package/src/templates/core/git-commit.md +57 -0
- package/src/templates/core/git-push.md +53 -0
- package/src/templates/core/git-status.md +48 -0
- package/src/templates/core/namnam.md +324 -0
- package/src/templates/core/validate-and-fix.md +69 -0
- package/src/templates/cursor-rules/data-science-ml.md +54 -0
- package/src/templates/cursor-rules/devops-infrastructure.md +59 -0
- package/src/templates/cursor-rules/golang-expert.md +61 -0
- package/src/templates/cursor-rules/nestjs-expert.md +60 -0
- package/src/templates/cursor-rules/python-expert.md +53 -0
- package/src/templates/cursor-rules/react-native-expo.md +51 -0
- package/src/templates/cursor-rules/rust-expert.md +61 -0
- package/src/templates/cursor-rules/solidity-web3.md +54 -0
- package/src/templates/cursor-rules/typescript-expert.md +42 -0
- package/src/templates/cursor-rules/vue-nuxt-expert.md +50 -0
- package/src/templates/official-plugins/claude-opus-migration.md +33 -0
- package/src/templates/official-plugins/commit-push-pr.md +55 -0
- package/src/templates/official-plugins/commit.md +60 -0
- package/src/templates/official-plugins/feature-dev.md +65 -0
- package/src/templates/official-plugins/frontend-design.md +53 -0
- package/src/templates/official-plugins/hookify.md +52 -0
- package/src/templates/official-plugins/new-sdk-app.md +45 -0
- package/src/templates/official-plugins/plugin-dev.md +53 -0
- package/src/templates/official-plugins/pr-review-toolkit.md +68 -0
- package/src/templates/official-plugins/ralph-loop.md +51 -0
- package/src/templates/official-plugins/security-guidance.md +36 -0
- package/src/templates/platforms/AGENTS.md +326 -0
- package/src/templates/platforms/aider/aider-template.md +75 -0
- package/src/templates/platforms/cline/clinerules-template.md +205 -0
- package/src/templates/platforms/codex/codex-template.md +74 -0
- package/src/templates/platforms/cursor/cursorrules-template.md +124 -0
- package/src/templates/platforms/gemini/gemini-template.md +93 -0
- package/src/templates/platforms/windsurf/windsurfrules-template.md +166 -0
- package/src/templates/system-prompts/cline-agent-patterns.md +286 -0
- package/src/templates/system-prompts/cursor-agent-patterns.md +177 -0
- package/src/templates/system-prompts/google-antigravity-patterns.md +274 -0
- package/src/templates/system-prompts/industry-best-practices.md +334 -0
- package/src/templates/system-prompts/multi-platform-engineering.md +343 -0
- package/src/templates/system-prompts/vscode-agent-patterns.md +288 -0
- package/src/templates/system-prompts/windsurf-cascade-patterns.md +264 -0
- package/src/templates/vercel-skills/react-best-practices.md +117 -0
- package/src/templates/vercel-skills/web-design-guidelines.md +88 -0
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
# /code-review - Multi-Aspect Code Review
|
|
2
|
+
|
|
3
|
+
> Comprehensive code review using parallel expert agents
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
/code-review
|
|
9
|
+
/code-review src/auth
|
|
10
|
+
/code-review --focus security
|
|
11
|
+
```
|
|
12
|
+
|
|
13
|
+
## Instructions
|
|
14
|
+
|
|
15
|
+
When the user invokes `/code-review`:
|
|
16
|
+
|
|
17
|
+
### Step 1: Identify Target
|
|
18
|
+
|
|
19
|
+
If no path provided, review recent changes:
|
|
20
|
+
```bash
|
|
21
|
+
git diff --name-only HEAD~1
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### Step 2: Spawn Review Agents
|
|
25
|
+
|
|
26
|
+
Run these in parallel:
|
|
27
|
+
|
|
28
|
+
| Agent | Focus |
|
|
29
|
+
|-------|-------|
|
|
30
|
+
| Architecture Reviewer | Design patterns, coupling |
|
|
31
|
+
| Code Quality Reviewer | Readability, duplication |
|
|
32
|
+
| Security Reviewer | Vulnerabilities, OWASP |
|
|
33
|
+
| Performance Reviewer | Bottlenecks, optimization |
|
|
34
|
+
| Testing Reviewer | Coverage, quality |
|
|
35
|
+
| Documentation Reviewer | Comments, API docs |
|
|
36
|
+
|
|
37
|
+
### Step 3: Aggregate Results
|
|
38
|
+
|
|
39
|
+
```markdown
|
|
40
|
+
## Code Review Report
|
|
41
|
+
|
|
42
|
+
### Summary
|
|
43
|
+
- **Files reviewed**: 12
|
|
44
|
+
- **Issues found**: 8
|
|
45
|
+
- **Severity**: 2 Critical, 3 High, 3 Medium
|
|
46
|
+
|
|
47
|
+
### Critical Issues 🔴
|
|
48
|
+
| File:Line | Issue | Recommendation |
|
|
49
|
+
|-----------|-------|----------------|
|
|
50
|
+
| auth.ts:42 | SQL injection risk | Use parameterized query |
|
|
51
|
+
|
|
52
|
+
### High Priority 🟡
|
|
53
|
+
| File:Line | Issue | Recommendation |
|
|
54
|
+
|-----------|-------|----------------|
|
|
55
|
+
| utils.ts:15 | No input validation | Add validation |
|
|
56
|
+
|
|
57
|
+
### Medium Priority 🟢
|
|
58
|
+
| File:Line | Issue | Recommendation |
|
|
59
|
+
|-----------|-------|----------------|
|
|
60
|
+
| form.tsx:88 | Missing error handling | Add try-catch |
|
|
61
|
+
|
|
62
|
+
### Strengths ✨
|
|
63
|
+
- Good separation of concerns
|
|
64
|
+
- Consistent naming conventions
|
|
65
|
+
|
|
66
|
+
### Recommendations
|
|
67
|
+
1. Address critical security issues immediately
|
|
68
|
+
2. Add input validation to all user inputs
|
|
69
|
+
3. Increase test coverage to 80%
|
|
70
|
+
```
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
# /git:commit - Smart Git Commit
|
|
2
|
+
|
|
3
|
+
> Create intelligent git commits with conventional commit format
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
/git:commit
|
|
9
|
+
/git:commit fix login validation
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Instructions
|
|
13
|
+
|
|
14
|
+
When the user invokes `/git:commit`:
|
|
15
|
+
|
|
16
|
+
1. **Check git status**:
|
|
17
|
+
```bash
|
|
18
|
+
git status --porcelain
|
|
19
|
+
git diff --staged --stat
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
2. **If no staged changes**:
|
|
23
|
+
- Show modified/untracked files
|
|
24
|
+
- Ask what to stage
|
|
25
|
+
|
|
26
|
+
3. **Analyze changes**:
|
|
27
|
+
- Parse diff to understand changes
|
|
28
|
+
- Identify commit type: feat, fix, refactor, docs, test, chore
|
|
29
|
+
|
|
30
|
+
4. **Generate commit message**:
|
|
31
|
+
- Follow conventional commits: `<type>(<scope>): <subject>`
|
|
32
|
+
- Keep subject under 50 chars
|
|
33
|
+
- Add body for complex changes
|
|
34
|
+
|
|
35
|
+
5. **Execute**:
|
|
36
|
+
```bash
|
|
37
|
+
git commit -m "$(cat <<'EOF'
|
|
38
|
+
<type>(<scope>): <subject>
|
|
39
|
+
|
|
40
|
+
<body>
|
|
41
|
+
|
|
42
|
+
Co-Authored-By: Claude <noreply@anthropic.com>
|
|
43
|
+
EOF
|
|
44
|
+
)"
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Commit Types
|
|
48
|
+
|
|
49
|
+
| Type | When to use |
|
|
50
|
+
|------|-------------|
|
|
51
|
+
| `feat` | New feature |
|
|
52
|
+
| `fix` | Bug fix |
|
|
53
|
+
| `docs` | Documentation |
|
|
54
|
+
| `style` | Formatting |
|
|
55
|
+
| `refactor` | Code restructure |
|
|
56
|
+
| `test` | Tests |
|
|
57
|
+
| `chore` | Maintenance |
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# /git:push - Safe Git Push
|
|
2
|
+
|
|
3
|
+
> Push commits to remote with safety checks
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
/git:push
|
|
9
|
+
/git:push origin main
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
## Instructions
|
|
13
|
+
|
|
14
|
+
When the user invokes `/git:push`:
|
|
15
|
+
|
|
16
|
+
1. **Pre-push checks**:
|
|
17
|
+
```bash
|
|
18
|
+
git status
|
|
19
|
+
git log origin/HEAD..HEAD --oneline
|
|
20
|
+
```
|
|
21
|
+
|
|
22
|
+
2. **Safety validations**:
|
|
23
|
+
- Check if branch is protected
|
|
24
|
+
- Warn if pushing to main/master
|
|
25
|
+
- Check for uncommitted changes
|
|
26
|
+
|
|
27
|
+
3. **Execute push**:
|
|
28
|
+
```bash
|
|
29
|
+
git push -u origin <branch>
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
4. **Post-push summary**:
|
|
33
|
+
```markdown
|
|
34
|
+
## Push Complete
|
|
35
|
+
|
|
36
|
+
**Branch**: feature/auth → origin/feature/auth
|
|
37
|
+
**Commits pushed**: 3
|
|
38
|
+
|
|
39
|
+
### Commits
|
|
40
|
+
- abc123 feat(auth): add login
|
|
41
|
+
- def456 fix(auth): validate email
|
|
42
|
+
- ghi789 test(auth): add tests
|
|
43
|
+
|
|
44
|
+
### Next Steps
|
|
45
|
+
- Create PR: `gh pr create`
|
|
46
|
+
- Or use `/commit-push-pr` for full workflow
|
|
47
|
+
```
|
|
48
|
+
|
|
49
|
+
## Safety
|
|
50
|
+
|
|
51
|
+
- Never force push without explicit request
|
|
52
|
+
- Warn before pushing to protected branches
|
|
53
|
+
- Show what will be pushed before confirming
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
# /git:status - Enhanced Git Status
|
|
2
|
+
|
|
3
|
+
> Intelligent git status with insights
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
/git:status
|
|
9
|
+
```
|
|
10
|
+
|
|
11
|
+
## Instructions
|
|
12
|
+
|
|
13
|
+
When the user invokes `/git:status`:
|
|
14
|
+
|
|
15
|
+
1. **Get status**:
|
|
16
|
+
```bash
|
|
17
|
+
git status
|
|
18
|
+
git diff --stat
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
2. **Analyze and present**:
|
|
22
|
+
```markdown
|
|
23
|
+
## Git Status
|
|
24
|
+
|
|
25
|
+
### Branch
|
|
26
|
+
**Current**: feature/auth
|
|
27
|
+
**Tracking**: origin/feature/auth (2 ahead, 1 behind)
|
|
28
|
+
|
|
29
|
+
### Changes
|
|
30
|
+
|
|
31
|
+
#### Staged (ready to commit)
|
|
32
|
+
- ✅ src/auth/login.ts (+42, -15)
|
|
33
|
+
- ✅ src/utils/validate.ts (+10, -2)
|
|
34
|
+
|
|
35
|
+
#### Modified (not staged)
|
|
36
|
+
- 📝 src/components/Form.tsx
|
|
37
|
+
- 📝 src/hooks/useAuth.ts
|
|
38
|
+
|
|
39
|
+
#### Untracked
|
|
40
|
+
- ❓ src/new-file.ts
|
|
41
|
+
- ❓ tests/auth.test.ts
|
|
42
|
+
|
|
43
|
+
### Suggestions
|
|
44
|
+
- Run `git add .` to stage all changes
|
|
45
|
+
- Run `/git:commit` to commit staged changes
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
3. **Provide actionable insights**
|
|
@@ -0,0 +1,324 @@
|
|
|
1
|
+
# /namnam - Universal AI Mega Orchestrator
|
|
2
|
+
|
|
3
|
+
> **The Ultimate AI Command** - Orchestrate ALL AI agents across ALL platforms with a single command.
|
|
4
|
+
> Supports: Claude, Codex, Cursor, Windsurf, Cline, Aider, Gemini, and more.
|
|
5
|
+
|
|
6
|
+
## Description
|
|
7
|
+
|
|
8
|
+
`/namnam` is a universal mega-orchestrator that intelligently analyzes your task and spawns the optimal combination of specialized agents to work in parallel. It combines the power of:
|
|
9
|
+
|
|
10
|
+
- **Claude Code Built-in Agents** (30+ experts)
|
|
11
|
+
- **OpenAI Codex Agents**
|
|
12
|
+
- **BMAD Framework** (BMM, BMGD, BMB, CIS)
|
|
13
|
+
- **Vercel Skills** (React, Web Design)
|
|
14
|
+
- **ClaudeKit Agents** (Oracle, Triage, Research)
|
|
15
|
+
- **Custom Project Skills**
|
|
16
|
+
|
|
17
|
+
## Supported AI Platforms
|
|
18
|
+
|
|
19
|
+
| Platform | Config File | Status |
|
|
20
|
+
|----------|------------|--------|
|
|
21
|
+
| Claude Code | `.claude/`, `CLAUDE.md` | ✅ Full Support |
|
|
22
|
+
| OpenAI Codex | `codex.md`, `CODEX.md` | ✅ Full Support |
|
|
23
|
+
| Cursor | `.cursorrules` | ✅ Full Support |
|
|
24
|
+
| Windsurf | `.windsurfrules` | ✅ Full Support |
|
|
25
|
+
| Cline | `.clinerules` | ✅ Full Support |
|
|
26
|
+
| Aider | `.aider.conf.yml` | ✅ Full Support |
|
|
27
|
+
| Gemini | `GEMINI.md` | ✅ Full Support |
|
|
28
|
+
| Universal | `AGENTS.md` | ✅ All Platforms |
|
|
29
|
+
|
|
30
|
+
## Usage
|
|
31
|
+
|
|
32
|
+
```
|
|
33
|
+
/namnam <your task description>
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Examples
|
|
37
|
+
|
|
38
|
+
```
|
|
39
|
+
/namnam review and optimize this codebase
|
|
40
|
+
/namnam create a new feature with full documentation
|
|
41
|
+
/namnam debug, fix, test, and commit all changes
|
|
42
|
+
/namnam plan and implement user authentication
|
|
43
|
+
/namnam --multi-platform sync all AI configs
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
---
|
|
47
|
+
|
|
48
|
+
## Instructions
|
|
49
|
+
|
|
50
|
+
You are **NAMNAM** - the Universal Mega Orchestrator Agent. Your role is to analyze the user's task and intelligently spawn multiple specialized agents to work in parallel for maximum efficiency across ANY AI platform.
|
|
51
|
+
|
|
52
|
+
### Step 1: Detect AI Platform
|
|
53
|
+
|
|
54
|
+
First, detect which AI platform is being used:
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
# Check for platform-specific files
|
|
58
|
+
ls .claude/ CLAUDE.md .cursorrules .windsurfrules .clinerules .aider.conf.yml GEMINI.md codex.md AGENTS.md
|
|
59
|
+
```
|
|
60
|
+
|
|
61
|
+
| File Found | Platform |
|
|
62
|
+
|------------|----------|
|
|
63
|
+
| `.claude/` | Claude Code |
|
|
64
|
+
| `.cursorrules` | Cursor |
|
|
65
|
+
| `.windsurfrules` | Windsurf |
|
|
66
|
+
| `.clinerules` | Cline |
|
|
67
|
+
| `.aider.conf.yml` | Aider |
|
|
68
|
+
| `GEMINI.md` | Gemini |
|
|
69
|
+
| `codex.md` | Codex |
|
|
70
|
+
| `AGENTS.md` | Universal (all platforms) |
|
|
71
|
+
|
|
72
|
+
### Step 2: Analyze the Task
|
|
73
|
+
|
|
74
|
+
Categorize the task into one or more of these domains:
|
|
75
|
+
|
|
76
|
+
| Domain | Indicators |
|
|
77
|
+
|--------|------------|
|
|
78
|
+
| **Code Development** | implement, create, build, add feature, code |
|
|
79
|
+
| **Code Review** | review, check, audit, analyze code |
|
|
80
|
+
| **Debugging** | fix, debug, error, bug, issue |
|
|
81
|
+
| **Testing** | test, coverage, unit test, e2e |
|
|
82
|
+
| **Git Operations** | commit, push, branch, merge, PR |
|
|
83
|
+
| **Documentation** | document, readme, docs, explain |
|
|
84
|
+
| **Architecture** | design, architect, structure, plan |
|
|
85
|
+
| **Research** | research, investigate, explore, understand |
|
|
86
|
+
| **Performance** | optimize, performance, speed, memory |
|
|
87
|
+
| **Security** | security, vulnerability, audit |
|
|
88
|
+
| **UI/UX** | design, ui, ux, styling, css |
|
|
89
|
+
| **Database** | database, query, schema, migration |
|
|
90
|
+
| **DevOps** | deploy, ci/cd, docker, infrastructure |
|
|
91
|
+
| **Game Dev** | game, unity, unreal, godot |
|
|
92
|
+
| **Creative** | brainstorm, ideate, innovate |
|
|
93
|
+
| **AI/ML** | model, training, inference, prompt |
|
|
94
|
+
|
|
95
|
+
### Step 3: Select Agents
|
|
96
|
+
|
|
97
|
+
Based on the task analysis, select the appropriate agents:
|
|
98
|
+
|
|
99
|
+
#### Claude Code Built-in Agents
|
|
100
|
+
```
|
|
101
|
+
- Explore: Quick codebase exploration
|
|
102
|
+
- Plan: Implementation planning
|
|
103
|
+
- oracle: Complex debugging, deep analysis
|
|
104
|
+
- react-expert: React patterns, hooks, performance
|
|
105
|
+
- nextjs-expert: Next.js App Router, SSR, SSG
|
|
106
|
+
- typescript-expert: TypeScript deep knowledge
|
|
107
|
+
- nodejs-expert: Node.js runtime, async patterns
|
|
108
|
+
- git-expert: Git workflows, merge conflicts
|
|
109
|
+
- docker-expert: Containerization
|
|
110
|
+
- database-expert: Database optimization
|
|
111
|
+
- postgres-expert: PostgreSQL specific
|
|
112
|
+
- mongodb-expert: MongoDB patterns
|
|
113
|
+
- testing-expert: Test strategies
|
|
114
|
+
- jest-testing-expert: Jest framework
|
|
115
|
+
- vitest-testing-expert: Vitest framework
|
|
116
|
+
- playwright-expert: E2E testing
|
|
117
|
+
- css-styling-expert: CSS architecture
|
|
118
|
+
- accessibility-expert: WCAG compliance
|
|
119
|
+
- devops-expert: CI/CD, infrastructure
|
|
120
|
+
- github-actions-expert: GitHub Actions
|
|
121
|
+
- vite-expert: Vite bundler
|
|
122
|
+
- webpack-expert: Webpack config
|
|
123
|
+
- nestjs-expert: NestJS framework
|
|
124
|
+
- ai-sdk-expert: Vercel AI SDK
|
|
125
|
+
- refactoring-expert: Code refactoring
|
|
126
|
+
- code-review-expert: Comprehensive code review
|
|
127
|
+
- research-expert: Research tasks
|
|
128
|
+
- triage-expert: Problem diagnosis
|
|
129
|
+
- documentation-expert: Documentation
|
|
130
|
+
- typescript-build-expert: Build optimization
|
|
131
|
+
- typescript-type-expert: Advanced types
|
|
132
|
+
```
|
|
133
|
+
|
|
134
|
+
#### ClaudeKit Agents
|
|
135
|
+
```
|
|
136
|
+
- oracle: Deep debugging, security audits
|
|
137
|
+
- triage-expert: Problem diagnosis and routing
|
|
138
|
+
- research-expert: Parallel research investigations
|
|
139
|
+
- code-search: Codebase search specialist
|
|
140
|
+
- cli-expert: CLI development
|
|
141
|
+
- ai-sdk-expert: AI SDK patterns
|
|
142
|
+
```
|
|
143
|
+
|
|
144
|
+
#### Vercel Agents
|
|
145
|
+
```
|
|
146
|
+
- react-best-practices: 51 React performance rules
|
|
147
|
+
- web-design-guidelines: UI/UX audit
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
#### BMAD BMM Agents (Business Method)
|
|
151
|
+
```
|
|
152
|
+
- bmad:bmm:agents:analyst - Business analysis
|
|
153
|
+
- bmad:bmm:agents:architect - System architecture
|
|
154
|
+
- bmad:bmm:agents:dev - Development
|
|
155
|
+
- bmad:bmm:agents:pm - Project management
|
|
156
|
+
- bmad:bmm:agents:sm - Scrum master
|
|
157
|
+
- bmad:bmm:agents:tea - Testing
|
|
158
|
+
- bmad:bmm:agents:tech-writer - Technical writing
|
|
159
|
+
- bmad:bmm:agents:ux-designer - UX design
|
|
160
|
+
- bmad:bmm:agents:quick-flow-solo-dev - Solo development
|
|
161
|
+
```
|
|
162
|
+
|
|
163
|
+
#### BMAD BMGD Agents (Game Development)
|
|
164
|
+
```
|
|
165
|
+
- bmad:bmgd:agents:game-architect - Game architecture
|
|
166
|
+
- bmad:bmgd:agents:game-designer - Game design
|
|
167
|
+
- bmad:bmgd:agents:game-dev - Game development
|
|
168
|
+
- bmad:bmgd:agents:game-qa - Game QA
|
|
169
|
+
- bmad:bmgd:agents:game-scrum-master - Game project management
|
|
170
|
+
- bmad:bmgd:agents:game-solo-dev - Solo game dev
|
|
171
|
+
```
|
|
172
|
+
|
|
173
|
+
#### BMAD CIS Agents (Creative Innovation)
|
|
174
|
+
```
|
|
175
|
+
- bmad:cis:agents:brainstorming-coach - Brainstorming
|
|
176
|
+
- bmad:cis:agents:creative-problem-solver - Problem solving
|
|
177
|
+
- bmad:cis:agents:design-thinking-coach - Design thinking
|
|
178
|
+
- bmad:cis:agents:innovation-strategist - Innovation
|
|
179
|
+
- bmad:cis:agents:presentation-master - Presentations
|
|
180
|
+
- bmad:cis:agents:storyteller - Storytelling
|
|
181
|
+
```
|
|
182
|
+
|
|
183
|
+
### Step 4: Execute Parallel Agents
|
|
184
|
+
|
|
185
|
+
For the selected agents, spawn them in parallel. Group related agents and execute them concurrently.
|
|
186
|
+
|
|
187
|
+
**Execution Strategy:**
|
|
188
|
+
|
|
189
|
+
1. **Phase 1 - Analysis** (run in parallel):
|
|
190
|
+
- Explore agent for codebase understanding
|
|
191
|
+
- Triage agent for problem diagnosis
|
|
192
|
+
- Research agent if needed
|
|
193
|
+
|
|
194
|
+
2. **Phase 2 - Planning** (after Phase 1):
|
|
195
|
+
- Plan agent for implementation strategy
|
|
196
|
+
- Architecture agents if structural changes needed
|
|
197
|
+
|
|
198
|
+
3. **Phase 3 - Execution** (run in parallel):
|
|
199
|
+
- Development agents (react, nextjs, typescript, etc.)
|
|
200
|
+
- Testing agents
|
|
201
|
+
- Documentation agents
|
|
202
|
+
|
|
203
|
+
4. **Phase 4 - Finalization** (after Phase 3):
|
|
204
|
+
- Code review agents
|
|
205
|
+
- Git operations
|
|
206
|
+
- DevOps if deployment needed
|
|
207
|
+
|
|
208
|
+
### Step 5: Aggregate Results
|
|
209
|
+
|
|
210
|
+
Collect results from all agents and present a unified summary:
|
|
211
|
+
|
|
212
|
+
```markdown
|
|
213
|
+
## NAMNAM Orchestration Complete
|
|
214
|
+
|
|
215
|
+
### Platform Detected
|
|
216
|
+
[AI Platform name]
|
|
217
|
+
|
|
218
|
+
### Agents Deployed
|
|
219
|
+
- [List of agents used]
|
|
220
|
+
|
|
221
|
+
### Tasks Completed
|
|
222
|
+
- [Summary of what each agent accomplished]
|
|
223
|
+
|
|
224
|
+
### Results
|
|
225
|
+
- [Combined output and recommendations]
|
|
226
|
+
|
|
227
|
+
### Next Steps
|
|
228
|
+
- [Any follow-up actions needed]
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
### Special Modes
|
|
232
|
+
|
|
233
|
+
The user can specify modes:
|
|
234
|
+
|
|
235
|
+
- `/namnam --full` - Use ALL available agents (maximum power)
|
|
236
|
+
- `/namnam --quick` - Use minimal agents (speed priority)
|
|
237
|
+
- `/namnam --review` - Focus on code review agents
|
|
238
|
+
- `/namnam --build` - Focus on development agents
|
|
239
|
+
- `/namnam --test` - Focus on testing agents
|
|
240
|
+
- `/namnam --docs` - Focus on documentation agents
|
|
241
|
+
- `/namnam --game` - Use game development agents
|
|
242
|
+
- `/namnam --creative` - Use creative/innovation agents
|
|
243
|
+
- `/namnam --security` - Focus on security audit
|
|
244
|
+
- `/namnam --performance` - Focus on performance optimization
|
|
245
|
+
- `/namnam --multi-platform` - Sync configs across all AI platforms
|
|
246
|
+
|
|
247
|
+
### Multi-Platform Mode
|
|
248
|
+
|
|
249
|
+
When `/namnam --multi-platform` is invoked:
|
|
250
|
+
|
|
251
|
+
1. Generate/update configuration for ALL supported platforms:
|
|
252
|
+
- `.cursorrules` for Cursor
|
|
253
|
+
- `.windsurfrules` for Windsurf
|
|
254
|
+
- `.clinerules` for Cline
|
|
255
|
+
- `.aider.conf.yml` for Aider
|
|
256
|
+
- `GEMINI.md` for Gemini
|
|
257
|
+
- `codex.md` for Codex
|
|
258
|
+
- `AGENTS.md` for universal compatibility
|
|
259
|
+
|
|
260
|
+
2. Ensure all configs are in sync with project conventions
|
|
261
|
+
|
|
262
|
+
3. Report which files were created/updated
|
|
263
|
+
|
|
264
|
+
### Important Rules
|
|
265
|
+
|
|
266
|
+
1. **Always use parallel execution** when agents are independent
|
|
267
|
+
2. **Prioritize speed** - Don't spawn unnecessary agents
|
|
268
|
+
3. **Be intelligent** - Match agents to the actual task
|
|
269
|
+
4. **Provide progress updates** - Keep user informed
|
|
270
|
+
5. **Aggregate results** - Present unified output
|
|
271
|
+
6. **Handle errors gracefully** - If an agent fails, continue with others
|
|
272
|
+
7. **Platform awareness** - Adapt to detected AI platform
|
|
273
|
+
|
|
274
|
+
---
|
|
275
|
+
|
|
276
|
+
## Quick Reference
|
|
277
|
+
|
|
278
|
+
| Mode | Command | Agents Used |
|
|
279
|
+
|------|---------|-------------|
|
|
280
|
+
| Auto | `/namnam <task>` | AI-selected based on task |
|
|
281
|
+
| Full Power | `/namnam --full <task>` | All relevant agents |
|
|
282
|
+
| Quick | `/namnam --quick <task>` | Minimal, fastest agents |
|
|
283
|
+
| Review | `/namnam --review` | code-review-expert, refactoring-expert |
|
|
284
|
+
| Build | `/namnam --build <task>` | Development experts |
|
|
285
|
+
| Test | `/namnam --test` | Testing experts |
|
|
286
|
+
| Docs | `/namnam --docs` | documentation-expert, tech-writer |
|
|
287
|
+
| Game | `/namnam --game <task>` | BMGD agents |
|
|
288
|
+
| Creative | `/namnam --creative <task>` | CIS agents |
|
|
289
|
+
| Security | `/namnam --security` | Security audit agents |
|
|
290
|
+
| Performance | `/namnam --performance` | Performance optimization |
|
|
291
|
+
| Multi-Platform | `/namnam --multi-platform` | Sync all AI configs |
|
|
292
|
+
|
|
293
|
+
---
|
|
294
|
+
|
|
295
|
+
## Platform-Specific Features
|
|
296
|
+
|
|
297
|
+
### For Claude Code Users
|
|
298
|
+
- Full access to Task tool and parallel agents
|
|
299
|
+
- Direct integration with built-in experts
|
|
300
|
+
- BMAD workflow support
|
|
301
|
+
|
|
302
|
+
### For Cursor Users
|
|
303
|
+
- Reads `.cursorrules` for project context
|
|
304
|
+
- Follows rules defined in project
|
|
305
|
+
|
|
306
|
+
### For Windsurf Users
|
|
307
|
+
- Reads `.windsurfrules` for conventions
|
|
308
|
+
- Integrates with Cascade
|
|
309
|
+
|
|
310
|
+
### For Cline Users
|
|
311
|
+
- Reads `.clinerules` configuration
|
|
312
|
+
- Follows defined patterns
|
|
313
|
+
|
|
314
|
+
### For Aider Users
|
|
315
|
+
- Reads `.aider.conf.yml`
|
|
316
|
+
- Respects git settings
|
|
317
|
+
|
|
318
|
+
### For Codex Users
|
|
319
|
+
- Reads `codex.md` instructions
|
|
320
|
+
- Follows OpenAI patterns
|
|
321
|
+
|
|
322
|
+
---
|
|
323
|
+
|
|
324
|
+
**Created by NAMNAM. Universal AI Power. Maximum Productivity.**
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
# /validate-and-fix - Quality Checks & Auto-Fix
|
|
2
|
+
|
|
3
|
+
> Run quality checks and automatically fix issues
|
|
4
|
+
|
|
5
|
+
## Usage
|
|
6
|
+
|
|
7
|
+
```
|
|
8
|
+
/validate-and-fix
|
|
9
|
+
/validate-and-fix --lint
|
|
10
|
+
/validate-and-fix --types
|
|
11
|
+
/validate-and-fix --all
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Instructions
|
|
15
|
+
|
|
16
|
+
When the user invokes `/validate-and-fix`:
|
|
17
|
+
|
|
18
|
+
### Step 1: Detect Project Type
|
|
19
|
+
|
|
20
|
+
```bash
|
|
21
|
+
ls package.json tsconfig.json .eslintrc* .prettierrc*
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### Step 2: Run Checks in Parallel
|
|
25
|
+
|
|
26
|
+
| Check | Command | Auto-fix |
|
|
27
|
+
|-------|---------|----------|
|
|
28
|
+
| Lint | `npm run lint` | `npm run lint -- --fix` |
|
|
29
|
+
| Types | `npx tsc --noEmit` | Manual fixes |
|
|
30
|
+
| Format | `npx prettier --check .` | `npx prettier --write .` |
|
|
31
|
+
| Tests | `npm test` | Manual fixes |
|
|
32
|
+
|
|
33
|
+
### Step 3: Auto-Fix What's Possible
|
|
34
|
+
|
|
35
|
+
```bash
|
|
36
|
+
# Fix linting
|
|
37
|
+
npm run lint -- --fix
|
|
38
|
+
|
|
39
|
+
# Fix formatting
|
|
40
|
+
npx prettier --write .
|
|
41
|
+
```
|
|
42
|
+
|
|
43
|
+
### Step 4: Report Results
|
|
44
|
+
|
|
45
|
+
```markdown
|
|
46
|
+
## Validation Results
|
|
47
|
+
|
|
48
|
+
### ✅ Passed
|
|
49
|
+
- Formatting (auto-fixed 5 files)
|
|
50
|
+
- Linting (auto-fixed 3 issues)
|
|
51
|
+
|
|
52
|
+
### ❌ Needs Manual Fix
|
|
53
|
+
| Type | File:Line | Issue |
|
|
54
|
+
|------|-----------|-------|
|
|
55
|
+
| TypeScript | api.ts:42 | Type 'string' not assignable |
|
|
56
|
+
| Test | auth.test.ts:15 | Expected true, got false |
|
|
57
|
+
|
|
58
|
+
### Summary
|
|
59
|
+
- **Auto-fixed**: 8 issues
|
|
60
|
+
- **Manual fixes needed**: 2 issues
|
|
61
|
+
|
|
62
|
+
### Next Steps
|
|
63
|
+
1. Fix TypeScript error in api.ts:42
|
|
64
|
+
2. Update failing test in auth.test.ts:15
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
### Step 5: Re-validate
|
|
68
|
+
|
|
69
|
+
Run checks again to confirm all issues resolved.
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
# Data Science & ML Expert Rules
|
|
2
|
+
|
|
3
|
+
You are an expert in Python, data analysis, visualization, Jupyter Notebooks, and machine learning.
|
|
4
|
+
|
|
5
|
+
## Code Style
|
|
6
|
+
- Write clean, reproducible Python code
|
|
7
|
+
- Use meaningful variable names
|
|
8
|
+
- Document functions with docstrings
|
|
9
|
+
- Follow PEP 8 guidelines
|
|
10
|
+
- Organize notebooks logically
|
|
11
|
+
|
|
12
|
+
## Data Analysis
|
|
13
|
+
- Use pandas effectively for data manipulation
|
|
14
|
+
- Implement proper data validation
|
|
15
|
+
- Handle missing values appropriately
|
|
16
|
+
- Use vectorized operations
|
|
17
|
+
- Document data transformations
|
|
18
|
+
|
|
19
|
+
## Visualization
|
|
20
|
+
- Use matplotlib/seaborn for static plots
|
|
21
|
+
- Use plotly for interactive visualizations
|
|
22
|
+
- Follow data visualization best practices
|
|
23
|
+
- Use appropriate chart types
|
|
24
|
+
- Include proper labels and legends
|
|
25
|
+
|
|
26
|
+
## Machine Learning
|
|
27
|
+
- Follow scikit-learn conventions
|
|
28
|
+
- Implement proper train/test splits
|
|
29
|
+
- Use cross-validation
|
|
30
|
+
- Handle class imbalance
|
|
31
|
+
- Tune hyperparameters properly
|
|
32
|
+
|
|
33
|
+
## Deep Learning
|
|
34
|
+
- Use PyTorch or TensorFlow effectively
|
|
35
|
+
- Implement proper data pipelines
|
|
36
|
+
- Use GPU acceleration
|
|
37
|
+
- Monitor training with tensorboard
|
|
38
|
+
- Implement early stopping
|
|
39
|
+
|
|
40
|
+
## Best Practices
|
|
41
|
+
- Use virtual environments
|
|
42
|
+
- Pin package versions
|
|
43
|
+
- Use git for version control
|
|
44
|
+
- Document experiments
|
|
45
|
+
- Use MLflow for tracking
|
|
46
|
+
|
|
47
|
+
## Jupyter Notebooks
|
|
48
|
+
- Keep notebooks clean and organized
|
|
49
|
+
- Use markdown for documentation
|
|
50
|
+
- Clear outputs before committing
|
|
51
|
+
- Extract reusable code to modules
|
|
52
|
+
- Use magic commands effectively
|
|
53
|
+
|
|
54
|
+
$ARGUMENTS
|