tribunal-kit 4.3.0 → 4.3.1
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/scripts/case_law_manager.js +684 -684
- package/.agent/scripts/graph_builder.js +199 -0
- package/.agent/scripts/graph_zoom.js +154 -0
- package/.agent/skills/agent-organizer/SKILL.md +9 -1
- package/.agent/skills/agentic-patterns/SKILL.md +9 -1
- package/.agent/skills/ai-prompt-injection-defense/SKILL.md +9 -1
- package/.agent/skills/api-patterns/SKILL.md +206 -198
- package/.agent/skills/api-security-auditor/SKILL.md +9 -1
- package/.agent/skills/app-builder/SKILL.md +9 -1
- package/.agent/skills/app-builder/templates/SKILL.md +77 -69
- package/.agent/skills/appflow-wireframe/SKILL.md +9 -1
- package/.agent/skills/architecture/SKILL.md +9 -1
- package/.agent/skills/authentication-best-practices/SKILL.md +9 -1
- package/.agent/skills/bash-linux/SKILL.md +9 -1
- package/.agent/skills/behavioral-modes/SKILL.md +9 -1
- package/.agent/skills/brainstorming/SKILL.md +9 -1
- package/.agent/skills/building-native-ui/SKILL.md +9 -1
- package/.agent/skills/clean-code/SKILL.md +9 -1
- package/.agent/skills/code-review-checklist/SKILL.md +9 -1
- package/.agent/skills/config-validator/SKILL.md +9 -1
- package/.agent/skills/csharp-developer/SKILL.md +9 -1
- package/.agent/skills/data-validation-schemas/SKILL.md +287 -279
- package/.agent/skills/database-design/SKILL.md +199 -191
- package/.agent/skills/deployment-procedures/SKILL.md +9 -1
- package/.agent/skills/devops-engineer/SKILL.md +9 -1
- package/.agent/skills/devops-incident-responder/SKILL.md +9 -1
- package/.agent/skills/documentation-templates/SKILL.md +9 -1
- package/.agent/skills/edge-computing/SKILL.md +9 -1
- package/.agent/skills/error-resilience/SKILL.md +387 -379
- package/.agent/skills/extract-design-system/SKILL.md +9 -1
- package/.agent/skills/framer-motion-expert/SKILL.md +203 -195
- package/.agent/skills/frontend-design/SKILL.md +160 -152
- package/.agent/skills/game-design-expert/SKILL.md +9 -1
- package/.agent/skills/game-engineering-expert/SKILL.md +9 -1
- package/.agent/skills/geo-fundamentals/SKILL.md +9 -1
- package/.agent/skills/github-operations/SKILL.md +9 -1
- package/.agent/skills/gsap-core/SKILL.md +54 -46
- package/.agent/skills/gsap-frameworks/SKILL.md +54 -46
- package/.agent/skills/gsap-performance/SKILL.md +54 -46
- package/.agent/skills/gsap-plugins/SKILL.md +54 -46
- package/.agent/skills/gsap-react/SKILL.md +54 -46
- package/.agent/skills/gsap-scrolltrigger/SKILL.md +54 -46
- package/.agent/skills/gsap-timeline/SKILL.md +54 -46
- package/.agent/skills/gsap-utils/SKILL.md +54 -46
- package/.agent/skills/i18n-localization/SKILL.md +9 -1
- package/.agent/skills/intelligent-routing/SKILL.md +38 -30
- package/.agent/skills/knowledge-graph/SKILL.md +36 -0
- package/.agent/skills/lint-and-validate/SKILL.md +9 -1
- package/.agent/skills/llm-engineering/SKILL.md +9 -1
- package/.agent/skills/local-first/SKILL.md +9 -1
- package/.agent/skills/mcp-builder/SKILL.md +9 -1
- package/.agent/skills/mobile-design/SKILL.md +222 -214
- package/.agent/skills/monorepo-management/SKILL.md +293 -285
- package/.agent/skills/motion-engineering/SKILL.md +193 -185
- package/.agent/skills/nextjs-react-expert/SKILL.md +193 -185
- package/.agent/skills/nodejs-best-practices/SKILL.md +9 -1
- package/.agent/skills/observability/SKILL.md +9 -1
- package/.agent/skills/parallel-agents/SKILL.md +9 -1
- package/.agent/skills/performance-profiling/SKILL.md +9 -1
- package/.agent/skills/plan-writing/SKILL.md +9 -1
- package/.agent/skills/platform-engineer/SKILL.md +9 -1
- package/.agent/skills/playwright-best-practices/SKILL.md +9 -1
- package/.agent/skills/powershell-windows/SKILL.md +9 -1
- package/.agent/skills/project-idioms/SKILL.md +9 -1
- package/.agent/skills/python-patterns/SKILL.md +9 -1
- package/.agent/skills/python-pro/SKILL.md +282 -274
- package/.agent/skills/react-specialist/SKILL.md +236 -228
- package/.agent/skills/readme-builder/SKILL.md +9 -1
- package/.agent/skills/realtime-patterns/SKILL.md +9 -1
- package/.agent/skills/red-team-tactics/SKILL.md +9 -1
- package/.agent/skills/rust-pro/SKILL.md +9 -1
- package/.agent/skills/seo-fundamentals/SKILL.md +9 -1
- package/.agent/skills/server-management/SKILL.md +9 -1
- package/.agent/skills/shadcn-ui-expert/SKILL.md +9 -1
- package/.agent/skills/skill-creator/SKILL.md +9 -1
- package/.agent/skills/sql-pro/SKILL.md +9 -1
- package/.agent/skills/supabase-postgres-best-practices/SKILL.md +9 -1
- package/.agent/skills/swiftui-expert/SKILL.md +9 -1
- package/.agent/skills/systematic-debugging/SKILL.md +9 -1
- package/.agent/skills/tailwind-patterns/SKILL.md +9 -1
- package/.agent/skills/tdd-workflow/SKILL.md +9 -1
- package/.agent/skills/test-result-analyzer/SKILL.md +9 -1
- package/.agent/skills/testing-patterns/SKILL.md +9 -1
- package/.agent/skills/trend-researcher/SKILL.md +9 -1
- package/.agent/skills/typescript-advanced/SKILL.md +294 -286
- package/.agent/skills/ui-ux-pro-max/SKILL.md +9 -1
- package/.agent/skills/ui-ux-researcher/SKILL.md +9 -1
- package/.agent/skills/vue-expert/SKILL.md +234 -226
- package/.agent/skills/vulnerability-scanner/SKILL.md +9 -1
- package/.agent/skills/web-accessibility-auditor/SKILL.md +9 -1
- package/.agent/skills/web-design-guidelines/SKILL.md +9 -1
- package/.agent/skills/webapp-testing/SKILL.md +9 -1
- package/.agent/skills/whimsy-injector/SKILL.md +9 -1
- package/.agent/skills/workflow-optimizer/SKILL.md +9 -1
- package/README.md +242 -242
- package/bin/tribunal-kit.js +30 -22
- package/package.json +81 -80
- package/scripts/validate-payload.js +73 -0
package/package.json
CHANGED
|
@@ -1,80 +1,81 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "tribunal-kit",
|
|
3
|
-
"version": "4.3.
|
|
4
|
-
"description": "Anti-Hallucination AI Agent Kit — 40 specialist agents, 31 slash commands, 16 parallel Tribunal reviewers, Performance Swarm engine, and Supreme Court case law pipeline.",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"ai",
|
|
7
|
-
"ai-agent",
|
|
8
|
-
"agent",
|
|
9
|
-
"agents",
|
|
10
|
-
"multi-agent",
|
|
11
|
-
"agentic",
|
|
12
|
-
"swarm",
|
|
13
|
-
"orchestration",
|
|
14
|
-
"llm",
|
|
15
|
-
"anti-hallucination",
|
|
16
|
-
"hallucination",
|
|
17
|
-
"code-review",
|
|
18
|
-
"code-quality",
|
|
19
|
-
"cursor",
|
|
20
|
-
"cursor-rules",
|
|
21
|
-
"cursorrules",
|
|
22
|
-
"windsurf",
|
|
23
|
-
"copilot",
|
|
24
|
-
"cline",
|
|
25
|
-
"gemini",
|
|
26
|
-
"antigravity",
|
|
27
|
-
"tribunal",
|
|
28
|
-
"mcp",
|
|
29
|
-
"model-context-protocol",
|
|
30
|
-
"cli",
|
|
31
|
-
"devtools",
|
|
32
|
-
"ai-coding",
|
|
33
|
-
"autonomous-agents",
|
|
34
|
-
"coding-assistant",
|
|
35
|
-
"automation"
|
|
36
|
-
],
|
|
37
|
-
"homepage": "https://github.com/Harmitx7/tribunal-kit",
|
|
38
|
-
"repository": {
|
|
39
|
-
"type": "git",
|
|
40
|
-
"url": "git+https://github.com/Harmitx7/tribunal-kit.git"
|
|
41
|
-
},
|
|
42
|
-
"license": "MIT",
|
|
43
|
-
"bin": {
|
|
44
|
-
"tribunal-kit": "bin/tribunal-kit.js",
|
|
45
|
-
"tk": "bin/tribunal-kit.js"
|
|
46
|
-
},
|
|
47
|
-
"files": [
|
|
48
|
-
"bin/",
|
|
49
|
-
"scripts/",
|
|
50
|
-
".agent/",
|
|
51
|
-
"README.md",
|
|
52
|
-
"LICENSE"
|
|
53
|
-
],
|
|
54
|
-
"engines": {
|
|
55
|
-
"node": ">=18.0.0"
|
|
56
|
-
},
|
|
57
|
-
"scripts": {
|
|
58
|
-
"test": "jest --coverage",
|
|
59
|
-
"test:unit": "jest test/unit --coverage",
|
|
60
|
-
"test:integration": "jest test/integration --coverage",
|
|
61
|
-
"preversion": "node scripts/sync-version.js",
|
|
62
|
-
"version": "node scripts/changelog.js && git add CHANGELOG.md",
|
|
63
|
-
"changelog": "node scripts/changelog.js",
|
|
64
|
-
"changelog:preview": "node scripts/changelog.js --preview",
|
|
65
|
-
"sync": "node scripts/sync-version.js"
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "tribunal-kit",
|
|
3
|
+
"version": "4.3.1",
|
|
4
|
+
"description": "Anti-Hallucination AI Agent Kit — 40 specialist agents, 31 slash commands, 16 parallel Tribunal reviewers, Performance Swarm engine, and Supreme Court case law pipeline.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"ai",
|
|
7
|
+
"ai-agent",
|
|
8
|
+
"agent",
|
|
9
|
+
"agents",
|
|
10
|
+
"multi-agent",
|
|
11
|
+
"agentic",
|
|
12
|
+
"swarm",
|
|
13
|
+
"orchestration",
|
|
14
|
+
"llm",
|
|
15
|
+
"anti-hallucination",
|
|
16
|
+
"hallucination",
|
|
17
|
+
"code-review",
|
|
18
|
+
"code-quality",
|
|
19
|
+
"cursor",
|
|
20
|
+
"cursor-rules",
|
|
21
|
+
"cursorrules",
|
|
22
|
+
"windsurf",
|
|
23
|
+
"copilot",
|
|
24
|
+
"cline",
|
|
25
|
+
"gemini",
|
|
26
|
+
"antigravity",
|
|
27
|
+
"tribunal",
|
|
28
|
+
"mcp",
|
|
29
|
+
"model-context-protocol",
|
|
30
|
+
"cli",
|
|
31
|
+
"devtools",
|
|
32
|
+
"ai-coding",
|
|
33
|
+
"autonomous-agents",
|
|
34
|
+
"coding-assistant",
|
|
35
|
+
"automation"
|
|
36
|
+
],
|
|
37
|
+
"homepage": "https://github.com/Harmitx7/tribunal-kit",
|
|
38
|
+
"repository": {
|
|
39
|
+
"type": "git",
|
|
40
|
+
"url": "git+https://github.com/Harmitx7/tribunal-kit.git"
|
|
41
|
+
},
|
|
42
|
+
"license": "MIT",
|
|
43
|
+
"bin": {
|
|
44
|
+
"tribunal-kit": "bin/tribunal-kit.js",
|
|
45
|
+
"tk": "bin/tribunal-kit.js"
|
|
46
|
+
},
|
|
47
|
+
"files": [
|
|
48
|
+
"bin/",
|
|
49
|
+
"scripts/",
|
|
50
|
+
".agent/",
|
|
51
|
+
"README.md",
|
|
52
|
+
"LICENSE"
|
|
53
|
+
],
|
|
54
|
+
"engines": {
|
|
55
|
+
"node": ">=18.0.0"
|
|
56
|
+
},
|
|
57
|
+
"scripts": {
|
|
58
|
+
"test": "npm run validate-payload && jest --coverage",
|
|
59
|
+
"test:unit": "jest test/unit --coverage",
|
|
60
|
+
"test:integration": "jest test/integration --coverage",
|
|
61
|
+
"preversion": "node scripts/sync-version.js",
|
|
62
|
+
"version": "node scripts/changelog.js && git add CHANGELOG.md",
|
|
63
|
+
"changelog": "node scripts/changelog.js",
|
|
64
|
+
"changelog:preview": "node scripts/changelog.js --preview",
|
|
65
|
+
"sync": "node scripts/sync-version.js",
|
|
66
|
+
"validate-payload": "node scripts/validate-payload.js"
|
|
67
|
+
},
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"jest": "^29.7.0"
|
|
70
|
+
},
|
|
71
|
+
"jest": {
|
|
72
|
+
"testMatch": [
|
|
73
|
+
"**/test/**/*.test.js"
|
|
74
|
+
],
|
|
75
|
+
"testEnvironment": "node",
|
|
76
|
+
"coverageDirectory": "coverage",
|
|
77
|
+
"collectCoverageFrom": [
|
|
78
|
+
"bin/**/*.js"
|
|
79
|
+
]
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,73 @@
|
|
|
1
|
+
const fs = require('fs');
|
|
2
|
+
const path = require('path');
|
|
3
|
+
|
|
4
|
+
// Simple Markdown frontmatter and Tribunal header validator
|
|
5
|
+
function validateMarkdownFile(filePath) {
|
|
6
|
+
const content = fs.readFileSync(filePath, 'utf8');
|
|
7
|
+
let errors = [];
|
|
8
|
+
|
|
9
|
+
// Check for frontmatter
|
|
10
|
+
if (content.startsWith('---')) {
|
|
11
|
+
const parts = content.split('---');
|
|
12
|
+
if (parts.length < 3) {
|
|
13
|
+
errors.push('Malformed YAML frontmatter (missing closing ---)');
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
// If it's a skill, check for mandatory headers
|
|
18
|
+
if (filePath.includes('/skills/') || filePath.includes('\\skills\\')) {
|
|
19
|
+
// Exclude templates and documentation that aren't strict skills
|
|
20
|
+
if (!filePath.includes('SKILL.md')) return errors;
|
|
21
|
+
|
|
22
|
+
if (!content.includes('Pre-Flight Checklist') && !content.includes('Pre-Flight')) {
|
|
23
|
+
errors.push('Missing mandatory header/section: Pre-Flight Checklist');
|
|
24
|
+
}
|
|
25
|
+
if (!content.includes('VBC Protocol') && !content.includes('VBC')) {
|
|
26
|
+
errors.push('Missing mandatory header/section: VBC Protocol');
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
return errors;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
function walkDir(dir, callback) {
|
|
34
|
+
fs.readdirSync(dir).forEach(f => {
|
|
35
|
+
let dirPath = path.join(dir, f);
|
|
36
|
+
let isDirectory = fs.statSync(dirPath).isDirectory();
|
|
37
|
+
isDirectory ? walkDir(dirPath, callback) : callback(path.join(dir, f));
|
|
38
|
+
});
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
function run() {
|
|
42
|
+
const agentDir = path.join(__dirname, '..', '.agent');
|
|
43
|
+
if (!fs.existsSync(agentDir)) {
|
|
44
|
+
console.error('No .agent directory found.');
|
|
45
|
+
process.exit(1);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
let hasErrors = false;
|
|
49
|
+
let checkedCount = 0;
|
|
50
|
+
|
|
51
|
+
console.log('Validating .agent payload...');
|
|
52
|
+
|
|
53
|
+
walkDir(agentDir, function(filePath) {
|
|
54
|
+
if (filePath.endsWith('.md')) {
|
|
55
|
+
checkedCount++;
|
|
56
|
+
const errors = validateMarkdownFile(filePath);
|
|
57
|
+
if (errors.length > 0) {
|
|
58
|
+
console.error(`\x1b[31m[FAIL]\x1b[0m ${filePath}`);
|
|
59
|
+
errors.forEach(e => console.error(` - ${e}`));
|
|
60
|
+
hasErrors = true;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
if (hasErrors) {
|
|
66
|
+
console.error(`\nPayload validation failed. Checked ${checkedCount} files.`);
|
|
67
|
+
process.exit(1);
|
|
68
|
+
} else {
|
|
69
|
+
console.log(`\x1b[32mPayload validation passed.\x1b[0m Checked ${checkedCount} files.`);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
run();
|