tribunal-kit 2.4.4 → 2.4.6
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/skills/ai-prompt-injection-defense/SKILL.md +71 -0
- package/.agent/skills/api-security-auditor/SKILL.md +75 -0
- package/.agent/skills/appflow-wireframe/SKILL.md +114 -0
- package/.agent/skills/authentication-best-practices/SKILL.md +72 -0
- package/.agent/skills/building-native-ui/SKILL.md +75 -0
- package/.agent/skills/extract-design-system/SKILL.md +74 -0
- package/.agent/skills/framer-motion-animations/SKILL.md +74 -0
- package/.agent/skills/frontend-design/SKILL.md +6 -1
- package/.agent/skills/mobile-design/SKILL.md +5 -0
- package/.agent/skills/nextjs-react-expert/SKILL.md +4 -3
- package/.agent/skills/playwright-best-practices/SKILL.md +81 -0
- package/.agent/skills/react-specialist/SKILL.md +4 -3
- package/.agent/skills/readme-builder/SKILL.md +42 -0
- package/.agent/skills/shadcn-ui-expert/SKILL.md +73 -0
- package/.agent/skills/skill-creator/SKILL.md +68 -0
- package/.agent/skills/supabase-postgres-best-practices/SKILL.md +78 -0
- package/.agent/skills/swiftui-expert/SKILL.md +75 -0
- package/.agent/skills/tailwind-patterns/SKILL.md +5 -0
- package/.agent/skills/ui-ux-pro-max/SKILL.md +1 -0
- package/.agent/skills/vue-expert/SKILL.md +4 -3
- package/.agent/skills/web-accessibility-auditor/SKILL.md +76 -0
- package/README.md +161 -191
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,191 +1,161 @@
|
|
|
1
|
-
<div align="center">
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
</
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
.
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
<
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
|
101
|
-
|
|
|
102
|
-
|
|
|
103
|
-
|
|
104
|
-
</
|
|
105
|
-
|
|
106
|
-
<
|
|
107
|
-
<
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
|
116
|
-
|
|
|
117
|
-
|
|
|
118
|
-
|
|
|
119
|
-
|
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
<
|
|
125
|
-
<
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
|
130
|
-
|
|
|
131
|
-
|
|
|
132
|
-
|
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
tribunal-kit status # Check installation status
|
|
163
|
-
```
|
|
164
|
-
|
|
165
|
-
---
|
|
166
|
-
|
|
167
|
-
## 🧰 Utility Scripts *(Post-install)*
|
|
168
|
-
|
|
169
|
-
```bash
|
|
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
|
|
174
|
-
```
|
|
175
|
-
|
|
176
|
-
---
|
|
177
|
-
|
|
178
|
-
## 🤝 Compatible IDEs
|
|
179
|
-
|
|
180
|
-
| IDE | Support Level |
|
|
181
|
-
|---|---|
|
|
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>
|
|
1
|
+
<div align="center">
|
|
2
|
+
<picture>
|
|
3
|
+
<img src="./docs/image.png" alt="Tribunal Kit Logo" width="300">
|
|
4
|
+
</picture>
|
|
5
|
+
|
|
6
|
+
<h1><b>TRIBUNAL—KIT</b></h1>
|
|
7
|
+
|
|
8
|
+
<p><code>< ZERO_HALLUCINATION_PROTOCOL /></code></p>
|
|
9
|
+
|
|
10
|
+
<p>
|
|
11
|
+
<b>The ultimate guardrail system for AI-assisted coding.</b><br>
|
|
12
|
+
Built for <i>Cursor</i>, <i>Windsurf</i>, and <i>Antigravity</i>.
|
|
13
|
+
</p>
|
|
14
|
+
|
|
15
|
+
[](https://www.npmjs.com/package/tribunal-kit)
|
|
16
|
+
[](LICENSE)
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
<br><br>
|
|
20
|
+
|
|
21
|
+
> 🚨 **AI GENERATES CODE. TRIBUNAL ENSURES IT WORKS.**
|
|
22
|
+
> A plug-in `.agent/` intelligence payload that upgrades your IDE with **32 specialist agents**, **25 slash commands**, **8 parallel Tribunal reviewers**, and a core **Swarm/Supervisor** engine.
|
|
23
|
+
|
|
24
|
+
---
|
|
25
|
+
|
|
26
|
+
<br>
|
|
27
|
+
|
|
28
|
+
## ▓▒░ INITIATION SEQUENCE
|
|
29
|
+
|
|
30
|
+
Drop Tribunal into any project. Global or local.
|
|
31
|
+
|
|
32
|
+
```bash
|
|
33
|
+
# Pull the intelligence payload into your project
|
|
34
|
+
npx tribunal-kit init
|
|
35
|
+
```
|
|
36
|
+
*(Installs the `.agent/` architecture directly. No bloat. Pure capability.)*
|
|
37
|
+
|
|
38
|
+
> ⚠️ **CRITICAL PATH WARNING:** Do **not** let your IDE ignore the agents. If using Cursor or Windsurf, keep `.agent/` **out** of `.gitignore` so the IDE can index the commands. Use `.git/info/exclude` instead.
|
|
39
|
+
|
|
40
|
+
<br>
|
|
41
|
+
|
|
42
|
+
## ▓▒░ THE PIPELINE // HOW IT WORKS
|
|
43
|
+
|
|
44
|
+
**Code generation is solved. Code correctness is the frontier.** We enforce a strict **Evidence-Based Closeout**.
|
|
45
|
+
|
|
46
|
+
```diff
|
|
47
|
+
- AI Generates -> Commits to Disk -> You Find Bugs Later
|
|
48
|
+
+ AI Generates -> Parallel Tribunal Review -> Human Gate -> Commits to Disk
|
|
49
|
+
```
|
|
50
|
+
|
|
51
|
+
### 🎯 Auto-Routing Intelligence
|
|
52
|
+
No manual tagging required. The system self-organizes.
|
|
53
|
+
|
|
54
|
+
<p>
|
|
55
|
+
<kbd>User</kbd> "Add JWT authentication" <br>
|
|
56
|
+
<kbd>System</kbd> <code>🤖 Applying @security-auditor + @backend-specialist...</code> <br><br>
|
|
57
|
+
|
|
58
|
+
<kbd>User</kbd> "Fix the dark mode button" <br>
|
|
59
|
+
<kbd>System</kbd> <code>🤖 Applying @ui-ux-pro-max + @frontend-specialist...</code> <br><br>
|
|
60
|
+
|
|
61
|
+
<kbd>User</kbd> "/swarm build a API" <br>
|
|
62
|
+
<kbd>System</kbd> <code>🤖 supervisor-agent → Dispatching 3 Workers...</code>
|
|
63
|
+
</p>
|
|
64
|
+
|
|
65
|
+
<br>
|
|
66
|
+
|
|
67
|
+
## ▓▒░ CAPABILITY MATRIX
|
|
68
|
+
|
|
69
|
+
| System Asset | Count | Operational Scope |
|
|
70
|
+
| :--- | :---: | :--- |
|
|
71
|
+
| 🤖 **Agents** | `32` | Specialist personas (Security, DB Architect, DevOps Responder) |
|
|
72
|
+
| 🧠 **Skills** | `44` | Domain modules (Edge Computing, Red Team Tactics, WebXR) |
|
|
73
|
+
| ⚡ **Workflows** | `25` | Slash command procedures including `/swarm` orchestration |
|
|
74
|
+
| 🛠️ **Scripts** | `13` | CI/CD, linting, payload dispatching, test suite runners |
|
|
75
|
+
|
|
76
|
+
<br>
|
|
77
|
+
|
|
78
|
+
## ▓▒░ COMMAND TERMINAL
|
|
79
|
+
|
|
80
|
+
Expand the accordions to view the operational commands at your disposal.
|
|
81
|
+
|
|
82
|
+
<details open>
|
|
83
|
+
<summary><b>🔥 CORE EXECUTION</b></summary>
|
|
84
|
+
<br>
|
|
85
|
+
|
|
86
|
+
| Command | Action |
|
|
87
|
+
| :--- | :--- |
|
|
88
|
+
| <code>/generate</code> | Trigger full Tribunal: Generate → Audit → Approve. |
|
|
89
|
+
| <code>/create</code> | Scaffold major features or apps, routed by App Builder. |
|
|
90
|
+
| <code>/enhance</code> | Safely extend existing structures without regression. |
|
|
91
|
+
| <code>/deploy</code> | Force the 3-gate production release sequence. |
|
|
92
|
+
|
|
93
|
+
</details>
|
|
94
|
+
|
|
95
|
+
<details>
|
|
96
|
+
<summary><b>⚖️ THE TRIBUNAL GAUNTLET (REVIEWERS)</b></summary>
|
|
97
|
+
<br>
|
|
98
|
+
Unleash parallel reviewers on existing code.
|
|
99
|
+
|
|
100
|
+
| Command | Action |
|
|
101
|
+
| :--- | :--- |
|
|
102
|
+
| <code>/review</code> | Audit code for silent degradation and logic holes. |
|
|
103
|
+
| <code>/tribunal-full</code> | Unleash **ALL 8** reviewers simultaneously. Maximum scrutiny. |
|
|
104
|
+
| <code>/tribunal-backend</code> | Summons <code>[ Logic + Security + Dependency + Types ]</code> |
|
|
105
|
+
| <code>/tribunal-frontend</code> | Summons <code>[ Logic + Security + Frontend + Types ]</code> |
|
|
106
|
+
| <code>/tribunal-database</code> | Summons <code>[ Logic + Security + SQL ]</code> |
|
|
107
|
+
| <code>/tribunal-mobile</code> | Summons <code>[ Logic + Security + Mobile ]</code> |
|
|
108
|
+
|
|
109
|
+
</details>
|
|
110
|
+
|
|
111
|
+
<details>
|
|
112
|
+
<summary><b>🧠 SWARM & ORCHESTRATION</b></summary>
|
|
113
|
+
<br>
|
|
114
|
+
|
|
115
|
+
| Command | Action |
|
|
116
|
+
| :--- | :--- |
|
|
117
|
+
| <code>/swarm</code> | Supervisor breaks goal → sends to isolated workers → synthesizes. |
|
|
118
|
+
| <code>/orchestrate</code> | Manual multi-agent sync for complex integrations. |
|
|
119
|
+
| <code>/plan</code> | Architectural mapping before a single line is written. |
|
|
120
|
+
| <code>/ui-ux-pro-max</code>| Triggers peak aesthetic frontend design. |
|
|
121
|
+
|
|
122
|
+
</details>
|
|
123
|
+
|
|
124
|
+
<details>
|
|
125
|
+
<summary><b>🔧 TROUBLESHOOTING & OPS</b></summary>
|
|
126
|
+
<br>
|
|
127
|
+
|
|
128
|
+
| Command | Action |
|
|
129
|
+
| :--- | :--- |
|
|
130
|
+
| <code>/debug</code> | Systematic root-cause investigation. |
|
|
131
|
+
| <code>/preview</code> | Local development server control. |
|
|
132
|
+
| <code>/status</code> | View Tribunal session status. |
|
|
133
|
+
|
|
134
|
+
</details>
|
|
135
|
+
|
|
136
|
+
<br>
|
|
137
|
+
|
|
138
|
+
## ▓▒░ POST-INSTALL TELEMETRY
|
|
139
|
+
|
|
140
|
+
After initialization, utility scripts unlock local ops:
|
|
141
|
+
|
|
142
|
+
```bash
|
|
143
|
+
# 01. Pre-commit audit
|
|
144
|
+
python .agent/scripts/checklist.py .
|
|
145
|
+
|
|
146
|
+
# 02. Pre-deploy full suite verification
|
|
147
|
+
python .agent/scripts/verify_all.py
|
|
148
|
+
|
|
149
|
+
# 03. Start local development environment
|
|
150
|
+
python .agent/scripts/auto_preview.py start
|
|
151
|
+
```
|
|
152
|
+
|
|
153
|
+
<br>
|
|
154
|
+
|
|
155
|
+
<div align="center">
|
|
156
|
+
<br>
|
|
157
|
+
<img src="https://img.shields.io/badge/Status-Active_&_Secured-00e5ff?style=for-the-badge" alt="Status" />
|
|
158
|
+
<br><br>
|
|
159
|
+
<i>"Never guess database column names. Error handling on every async function. Evidence-based closeouts. Welcome to the Tribunal."</i><br>
|
|
160
|
+
<sub><b>MIT Licensed</b> • Hand-forged for high-performance agentic engineering.</sub>
|
|
161
|
+
</div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "tribunal-kit",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.6",
|
|
4
4
|
"description": "Anti-Hallucination AI Agent Kit — 33 specialist agents, 25 slash commands, Swarm/Supervisor engine, and Tribunal review pipeline for Cursor, Windsurf, and Antigravity.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|