tribunal-kit 1.0.0 → 2.4.2
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/.agent/.shared/ui-ux-pro-max/README.md +3 -3
- package/.agent/ARCHITECTURE.md +205 -10
- package/.agent/GEMINI.md +37 -7
- package/.agent/agents/accessibility-reviewer.md +134 -0
- package/.agent/agents/ai-code-reviewer.md +129 -0
- package/.agent/agents/frontend-specialist.md +3 -0
- package/.agent/agents/game-developer.md +21 -21
- package/.agent/agents/logic-reviewer.md +12 -0
- package/.agent/agents/mobile-reviewer.md +79 -0
- package/.agent/agents/orchestrator.md +56 -26
- package/.agent/agents/performance-reviewer.md +36 -0
- package/.agent/agents/supervisor-agent.md +156 -0
- package/.agent/agents/swarm-worker-contracts.md +166 -0
- package/.agent/agents/swarm-worker-registry.md +92 -0
- package/.agent/rules/GEMINI.md +134 -5
- package/.agent/scripts/bundle_analyzer.py +259 -0
- package/.agent/scripts/dependency_analyzer.py +247 -0
- package/.agent/scripts/lint_runner.py +188 -0
- package/.agent/scripts/patch_skills_meta.py +177 -0
- package/.agent/scripts/patch_skills_output.py +285 -0
- package/.agent/scripts/schema_validator.py +279 -0
- package/.agent/scripts/security_scan.py +224 -0
- package/.agent/scripts/session_manager.py +144 -3
- package/.agent/scripts/skill_integrator.py +234 -0
- package/.agent/scripts/strengthen_skills.py +220 -0
- package/.agent/scripts/swarm_dispatcher.py +317 -0
- package/.agent/scripts/test_runner.py +192 -0
- package/.agent/scripts/test_swarm_dispatcher.py +163 -0
- package/.agent/skills/agent-organizer/SKILL.md +132 -0
- package/.agent/skills/agentic-patterns/SKILL.md +335 -0
- package/.agent/skills/api-patterns/SKILL.md +226 -50
- package/.agent/skills/app-builder/SKILL.md +215 -52
- package/.agent/skills/architecture/SKILL.md +176 -31
- package/.agent/skills/bash-linux/SKILL.md +150 -134
- package/.agent/skills/behavioral-modes/SKILL.md +152 -160
- package/.agent/skills/brainstorming/SKILL.md +148 -101
- package/.agent/skills/brainstorming/dynamic-questioning.md +10 -0
- package/.agent/skills/clean-code/SKILL.md +139 -134
- package/.agent/skills/code-review-checklist/SKILL.md +177 -80
- package/.agent/skills/config-validator/SKILL.md +165 -0
- package/.agent/skills/csharp-developer/SKILL.md +107 -0
- package/.agent/skills/database-design/SKILL.md +252 -29
- package/.agent/skills/deployment-procedures/SKILL.md +122 -175
- package/.agent/skills/devops-engineer/SKILL.md +134 -0
- package/.agent/skills/devops-incident-responder/SKILL.md +98 -0
- package/.agent/skills/documentation-templates/SKILL.md +175 -121
- package/.agent/skills/dotnet-core-expert/SKILL.md +103 -0
- package/.agent/skills/edge-computing/SKILL.md +213 -0
- package/.agent/skills/frontend-design/SKILL.md +76 -0
- package/.agent/skills/frontend-design/color-system.md +18 -0
- package/.agent/skills/frontend-design/typography-system.md +18 -0
- package/.agent/skills/game-development/SKILL.md +69 -0
- package/.agent/skills/geo-fundamentals/SKILL.md +158 -99
- package/.agent/skills/github-operations/SKILL.md +354 -0
- package/.agent/skills/i18n-localization/SKILL.md +158 -96
- package/.agent/skills/intelligent-routing/SKILL.md +89 -285
- package/.agent/skills/intelligent-routing/router-manifest.md +65 -0
- package/.agent/skills/lint-and-validate/SKILL.md +229 -27
- package/.agent/skills/llm-engineering/SKILL.md +258 -0
- package/.agent/skills/local-first/SKILL.md +203 -0
- package/.agent/skills/mcp-builder/SKILL.md +159 -111
- package/.agent/skills/mobile-design/SKILL.md +102 -282
- package/.agent/skills/nextjs-react-expert/SKILL.md +143 -227
- package/.agent/skills/nodejs-best-practices/SKILL.md +201 -254
- package/.agent/skills/observability/SKILL.md +285 -0
- package/.agent/skills/parallel-agents/SKILL.md +124 -118
- package/.agent/skills/performance-profiling/SKILL.md +143 -89
- package/.agent/skills/plan-writing/SKILL.md +133 -97
- package/.agent/skills/platform-engineer/SKILL.md +135 -0
- package/.agent/skills/powershell-windows/SKILL.md +167 -104
- package/.agent/skills/python-patterns/SKILL.md +149 -361
- package/.agent/skills/python-pro/SKILL.md +114 -0
- package/.agent/skills/react-specialist/SKILL.md +107 -0
- package/.agent/skills/readme-builder/SKILL.md +270 -0
- package/.agent/skills/realtime-patterns/SKILL.md +296 -0
- package/.agent/skills/red-team-tactics/SKILL.md +136 -134
- package/.agent/skills/rust-pro/SKILL.md +237 -173
- package/.agent/skills/seo-fundamentals/SKILL.md +134 -82
- package/.agent/skills/server-management/SKILL.md +155 -104
- package/.agent/skills/sql-pro/SKILL.md +104 -0
- package/.agent/skills/systematic-debugging/SKILL.md +156 -79
- package/.agent/skills/tailwind-patterns/SKILL.md +163 -205
- package/.agent/skills/tdd-workflow/SKILL.md +148 -88
- package/.agent/skills/test-result-analyzer/SKILL.md +299 -0
- package/.agent/skills/testing-patterns/SKILL.md +141 -114
- package/.agent/skills/trend-researcher/SKILL.md +228 -0
- package/.agent/skills/ui-ux-pro-max/SKILL.md +107 -0
- package/.agent/skills/ui-ux-researcher/SKILL.md +234 -0
- package/.agent/skills/vue-expert/SKILL.md +118 -0
- package/.agent/skills/vulnerability-scanner/SKILL.md +228 -188
- package/.agent/skills/web-design-guidelines/SKILL.md +148 -33
- package/.agent/skills/webapp-testing/SKILL.md +171 -122
- package/.agent/skills/whimsy-injector/SKILL.md +349 -0
- package/.agent/skills/workflow-optimizer/SKILL.md +219 -0
- package/.agent/workflows/api-tester.md +279 -0
- package/.agent/workflows/audit.md +168 -0
- package/.agent/workflows/brainstorm.md +65 -19
- package/.agent/workflows/changelog.md +144 -0
- package/.agent/workflows/create.md +67 -14
- package/.agent/workflows/debug.md +122 -30
- package/.agent/workflows/deploy.md +82 -31
- package/.agent/workflows/enhance.md +59 -27
- package/.agent/workflows/fix.md +143 -0
- package/.agent/workflows/generate.md +84 -20
- package/.agent/workflows/migrate.md +163 -0
- package/.agent/workflows/orchestrate.md +66 -17
- package/.agent/workflows/performance-benchmarker.md +305 -0
- package/.agent/workflows/plan.md +76 -33
- package/.agent/workflows/preview.md +73 -17
- package/.agent/workflows/refactor.md +153 -0
- package/.agent/workflows/review-ai.md +140 -0
- package/.agent/workflows/review.md +83 -16
- package/.agent/workflows/session.md +154 -0
- package/.agent/workflows/status.md +74 -18
- package/.agent/workflows/strengthen-skills.md +99 -0
- package/.agent/workflows/swarm.md +194 -0
- package/.agent/workflows/test.md +80 -31
- package/.agent/workflows/tribunal-backend.md +55 -13
- package/.agent/workflows/tribunal-database.md +62 -18
- package/.agent/workflows/tribunal-frontend.md +58 -12
- package/.agent/workflows/tribunal-full.md +70 -11
- package/.agent/workflows/tribunal-mobile.md +123 -0
- package/.agent/workflows/tribunal-performance.md +152 -0
- package/.agent/workflows/ui-ux-pro-max.md +100 -82
- package/README.md +117 -62
- package/bin/tribunal-kit.js +542 -288
- package/package.json +10 -6
package/README.md
CHANGED
|
@@ -1,72 +1,81 @@
|
|
|
1
|
-
|
|
1
|
+
<div align="center">
|
|
2
2
|
|
|
3
|
-
|
|
4
|
-
|
|
3
|
+
# 🏛️ Tribunal Anti-Hallucination Agent Kit
|
|
4
|
+
|
|
5
|
+
**The ultimate guardrail system for AI IDEs (Cursor, Windsurf, Antigravity)**
|
|
6
|
+
|
|
7
|
+
[](https://www.npmjs.com/package/tribunal-kit)
|
|
8
|
+
[](https://github.com/your-repo/tribunal-kit/blob/main/LICENSE)
|
|
9
|
+
[](http://makeapullrequest.com)
|
|
10
|
+
|
|
11
|
+
A plug-in `.agent/` folder that upgrades your AI with **32 specialist agents**, **25 slash commands**, **8 parallel Tribunal reviewers**, and a powerful **Swarm/Supervisor** multi-agent orchestration engine.
|
|
12
|
+
|
|
13
|
+
</div>
|
|
5
14
|
|
|
6
15
|
---
|
|
7
16
|
|
|
8
|
-
## Quick Install
|
|
17
|
+
## ⚡ Quick Install
|
|
18
|
+
|
|
19
|
+
Get started in seconds:
|
|
9
20
|
|
|
10
21
|
```bash
|
|
11
22
|
npx tribunal-kit init
|
|
12
23
|
```
|
|
13
24
|
|
|
14
|
-
Or install globally
|
|
25
|
+
Or install globally to use on any project:
|
|
15
26
|
|
|
16
27
|
```bash
|
|
17
28
|
npm install -g tribunal-kit
|
|
18
29
|
tribunal-kit init
|
|
19
30
|
```
|
|
20
31
|
|
|
21
|
-
This installs the `.agent/` folder containing all agents, workflows, skills, and scripts into your project.
|
|
32
|
+
> **Note:** This installs the `.agent/` folder containing all agents, workflows, skills, and scripts directly into your project.
|
|
22
33
|
|
|
23
34
|
---
|
|
24
35
|
|
|
25
|
-
|
|
26
|
-
>
|
|
27
|
-
> If you use AI-powered editors like Cursor or Windsurf, adding `.agent/` to your `.gitignore`
|
|
28
|
-
> may prevent the IDE from indexing the workflows. Slash commands like `/generate` or `/review`
|
|
29
|
-
> won't appear in the chat suggestion dropdown.
|
|
30
|
-
>
|
|
31
|
-
> **Recommended:** Keep `.agent/` out of `.gitignore`. If you want it local-only:
|
|
32
|
-
> ```
|
|
33
|
-
> # Add this to .git/info/exclude (not .gitignore)
|
|
34
|
-
> .agent/
|
|
35
|
-
> ```
|
|
36
|
-
|
|
37
|
-
---
|
|
36
|
+
## ⚠️ Important: `.gitignore` Notice
|
|
38
37
|
|
|
39
|
-
|
|
38
|
+
If you use AI-powered editors like **Cursor** or **Windsurf**, adding `.agent/` to your `.gitignore` may prevent the IDE from indexing the workflows. Slash commands like `/generate` or `/review` won't appear in your chat suggestion dropdown.
|
|
40
39
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
40
|
+
💡 **Recommended:** Keep `.agent/` out of `.gitignore`.
|
|
41
|
+
If you want it to remain local-only, add it to your repo's exclude file instead:
|
|
42
|
+
```bash
|
|
43
|
+
# Add this to .git/info/exclude (not .gitignore)
|
|
44
|
+
.agent/
|
|
45
|
+
```
|
|
47
46
|
|
|
48
47
|
---
|
|
49
48
|
|
|
50
|
-
##
|
|
49
|
+
## 📦 What's Included
|
|
51
50
|
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
51
|
+
| Component | Count | Description |
|
|
52
|
+
|---|:---:|---|
|
|
53
|
+
| 🤖 **Agents** | **32** | Specialist AI personas including Supervisor, Worker Registry, and Contract schemas |
|
|
54
|
+
| 🔄 **Workflows**| **25** | Slash command procedures including `/swarm` orchestration |
|
|
55
|
+
| 🧠 **Skills** | **44** | Domain-specific knowledge modules for targeted expertise |
|
|
56
|
+
| 🛠️ **Scripts** | **13** | Python utility scripts (checklist, verify, preview, session, swarm dispatcher, etc.) |
|
|
55
57
|
|
|
56
|
-
|
|
57
|
-
You: "Add JWT authentication"
|
|
58
|
-
AI: 🤖 Applying @security-auditor + @backend-specialist...
|
|
58
|
+
---
|
|
59
59
|
|
|
60
|
-
|
|
61
|
-
AI: 🤖 Applying @frontend-specialist...
|
|
60
|
+
## ⚙️ How It Works
|
|
62
61
|
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
```
|
|
62
|
+
### 🎯 Auto-Agent Routing
|
|
63
|
+
No need to mention agents explicitly. The system automatically detects and summons the right specialist for the job:
|
|
66
64
|
|
|
67
|
-
|
|
65
|
+
> **You:** "Add JWT authentication" <br>
|
|
66
|
+
> **AI:** `🤖 Applying @security-auditor + @backend-specialist...`
|
|
67
|
+
>
|
|
68
|
+
> **You:** "Fix the dark mode button" <br>
|
|
69
|
+
> **AI:** `🤖 Applying @frontend-specialist...`
|
|
70
|
+
>
|
|
71
|
+
> **You:** "Login returns 500 error" <br>
|
|
72
|
+
> **AI:** `🤖 Applying @debugger for systematic analysis...`
|
|
73
|
+
>
|
|
74
|
+
> **You:** "/swarm build a REST API, PostgreSQL schema, and documentation" <br>
|
|
75
|
+
> **AI:** `🤖 supervisor-agent → dispatching 3 Workers in parallel...`
|
|
68
76
|
|
|
69
|
-
|
|
77
|
+
### ⚖️ The Tribunal Pipeline
|
|
78
|
+
Every piece of generated code goes through rigorous, parallel reviewers before you even see it:
|
|
70
79
|
|
|
71
80
|
```
|
|
72
81
|
You type /generate →
|
|
@@ -77,31 +86,71 @@ You type /generate →
|
|
|
77
86
|
|
|
78
87
|
---
|
|
79
88
|
|
|
80
|
-
## Slash Commands
|
|
89
|
+
## ⌨️ Slash Commands
|
|
90
|
+
|
|
91
|
+
Supercharge your workflow with these built-in commands:
|
|
92
|
+
|
|
93
|
+
<details open>
|
|
94
|
+
<summary><b>🛠️ Core Execution</b></summary>
|
|
95
|
+
<br>
|
|
81
96
|
|
|
82
97
|
| Command | Description |
|
|
83
98
|
|---|---|
|
|
84
99
|
| `/generate` | Full Tribunal pipeline: generate → review → approve |
|
|
100
|
+
| `/create` | Build new features or apps from scratch |
|
|
101
|
+
| `/enhance` | Improve existing code safely without breaking it |
|
|
102
|
+
| `/deploy` | 3-gate production deployment process |
|
|
103
|
+
|
|
104
|
+
</details>
|
|
105
|
+
|
|
106
|
+
<details open>
|
|
107
|
+
<summary><b>⚖️ Review & Audit</b></summary>
|
|
108
|
+
<br>
|
|
109
|
+
|
|
110
|
+
| Command | Description |
|
|
111
|
+
|---|---|
|
|
85
112
|
| `/review` | Audit existing code — no generation |
|
|
86
|
-
| `/
|
|
113
|
+
| `/test` | Generate or audit tests |
|
|
114
|
+
| `/tribunal-full` | Run all 8 reviewers simultaneously |
|
|
87
115
|
| `/tribunal-backend` | Logic + Security + Dependency + Types |
|
|
88
116
|
| `/tribunal-frontend` | Logic + Security + Frontend + Types |
|
|
89
|
-
| `/tribunal-database
|
|
117
|
+
| `/tribunal-database`| Logic + Security + SQL |
|
|
118
|
+
| `/tribunal-mobile` | Logic + Security + Mobile (React Native, Flutter, Web) |
|
|
119
|
+
| `/tribunal-performance`| Logic + Performance (Optimization & bottlenecks) |
|
|
120
|
+
|
|
121
|
+
</details>
|
|
122
|
+
|
|
123
|
+
<details open>
|
|
124
|
+
<summary><b>🧠 Planning & Orchestration</b></summary>
|
|
125
|
+
<br>
|
|
126
|
+
|
|
127
|
+
| Command | Description |
|
|
128
|
+
|---|---|
|
|
90
129
|
| `/brainstorm` | Explore options before implementation |
|
|
91
|
-
| `/
|
|
130
|
+
| `/plan` | Create a structured architectural plan file only |
|
|
131
|
+
| `/orchestrate` | Multi-agent coordination for complex tasks |
|
|
132
|
+
| `/swarm` | Supervisor decomposes multi-domain goals → parallel Workers → unified output |
|
|
133
|
+
| `/ui-ux-pro-max` | Advanced UI/UX design workflow |
|
|
134
|
+
|
|
135
|
+
</details>
|
|
136
|
+
|
|
137
|
+
<details open>
|
|
138
|
+
<summary><b>🔧 Troubleshooting & Ops</b></summary>
|
|
139
|
+
<br>
|
|
140
|
+
|
|
141
|
+
| Command | Description |
|
|
142
|
+
|---|---|
|
|
92
143
|
| `/debug` | Systematic root-cause investigation |
|
|
93
|
-
| `/plan` | Create structured plan file only |
|
|
94
|
-
| `/enhance` | Improve existing code safely |
|
|
95
|
-
| `/orchestrate` | Multi-agent coordination |
|
|
96
|
-
| `/test` | Generate or audit tests |
|
|
97
|
-
| `/deploy` | 3-gate production deployment |
|
|
98
144
|
| `/preview` | Local dev server control |
|
|
99
145
|
| `/status` | Tribunal session dashboard |
|
|
100
|
-
|
|
146
|
+
|
|
147
|
+
</details>
|
|
101
148
|
|
|
102
149
|
---
|
|
103
150
|
|
|
104
|
-
## CLI Reference
|
|
151
|
+
## 💻 CLI Reference
|
|
152
|
+
|
|
153
|
+
Manage your installation directly from the terminal:
|
|
105
154
|
|
|
106
155
|
```bash
|
|
107
156
|
tribunal-kit init # Install into current directory
|
|
@@ -115,22 +164,28 @@ tribunal-kit status # Check installation status
|
|
|
115
164
|
|
|
116
165
|
---
|
|
117
166
|
|
|
118
|
-
## Utility Scripts (
|
|
167
|
+
## 🧰 Utility Scripts *(Post-install)*
|
|
119
168
|
|
|
120
169
|
```bash
|
|
121
|
-
python .agent/scripts/checklist.py .
|
|
122
|
-
python .agent/scripts/verify_all.py
|
|
123
|
-
python .agent/scripts/auto_preview.py start
|
|
124
|
-
python .agent/scripts/session_manager.py save "note" # Save session
|
|
170
|
+
python .agent/scripts/checklist.py . # 📋 Pre-commit audit
|
|
171
|
+
python .agent/scripts/verify_all.py # 🚀 Pre-deploy full suite
|
|
172
|
+
python .agent/scripts/auto_preview.py start # 🌍 Start dev server
|
|
173
|
+
python .agent/scripts/session_manager.py save "note" # 💾 Save session state
|
|
125
174
|
```
|
|
126
175
|
|
|
127
176
|
---
|
|
128
177
|
|
|
129
|
-
## Compatible IDEs
|
|
178
|
+
## 🤝 Compatible IDEs
|
|
130
179
|
|
|
131
|
-
| IDE | Support |
|
|
180
|
+
| IDE | Support Level |
|
|
132
181
|
|---|---|
|
|
133
|
-
| Cursor | ✅ Reads `.agent/` automatically |
|
|
134
|
-
| Windsurf | ✅ Reads `.agent/` automatically |
|
|
135
|
-
| Antigravity | ✅ Native `.agent/` support |
|
|
136
|
-
| GitHub Copilot
|
|
182
|
+
| **Cursor** | ✅ Reads `.agent/` automatically |
|
|
183
|
+
| **Windsurf** | ✅ Reads `.agent/` automatically |
|
|
184
|
+
| **Antigravity** | ✅ Native `.agent/` support |
|
|
185
|
+
| **GitHub Copilot** | ✅ Manual setup: Copy `GEMINI.md` to `.github/copilot-instructions.md` |
|
|
186
|
+
|
|
187
|
+
<br>
|
|
188
|
+
|
|
189
|
+
<div align="center">
|
|
190
|
+
<sub>Built with ❤️ for safer, hallucination-free AI coding.</sub>
|
|
191
|
+
</div>
|