tribunal-kit 2.4.2 → 2.4.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.
@@ -1,270 +1,270 @@
1
- ---
2
- name: readme-builder
3
- description: Interactive README.md generation specialist. Creates professional, structured README files with badges, installation guides, usage examples, screenshots, and contribution guidelines. Use when asked to create, update, or improve a README file.
4
- allowed-tools: Read, Write, Edit, Glob, Grep
5
- version: 1.0.0
6
- last-updated: 2026-03-19
7
- applies-to-model: gemini-2.5-pro, claude-3-7-sonnet
8
- ---
9
-
10
- # README Builder Skill
11
-
12
- > A great README is a product pitch, a user manual, and a contributor's welcome — all in one document.
13
-
14
- ---
15
-
16
- ## Ground Rules
17
-
18
- 1. **Always scan the project first** — read `package.json`, `pyproject.toml`, source files before writing a single line
19
- 2. **No placeholder content** — every section must have real, specific information
20
- 3. **Lead with value** — the first 3 lines must communicate what the project does and who it's for
21
- 4. **Runnable examples** — every code block must be copy-paste ready and tested against the actual project
22
-
23
- ---
24
-
25
- ## Discovery Phase (Mandatory Before Writing)
26
-
27
- Before generating any README content, answer these questions by scanning the project:
28
-
29
- ```
30
- 1. What does this project do? (single sentence)
31
- 2. Who is the target user? (developer / end-user / enterprise)
32
- 3. What problem does it solve?
33
- 4. What are the installation prerequisites?
34
- 5. What is the primary command or API entry point?
35
- 6. Does it have a license file?
36
- 7. Are there screenshots, demos, or GIFs available?
37
- 8. Is there a CONTRIBUTING.md or CODE_OF_CONDUCT.md?
38
- 9. What CI/CD badges are relevant? (GitHub Actions, npm, PyPI, etc.)
39
- 10. What is the current version?
40
- ```
41
-
42
- ---
43
-
44
- ## README Structure Template
45
-
46
- ```markdown
47
- # [Project Name]
48
-
49
- > [One-line tagline: what it does and for whom]
50
-
51
- [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
52
- [![Version](https://img.shields.io/npm/v/package-name)](https://www.npmjs.com/package/package-name)
53
- [![Build Status](https://github.com/user/repo/workflows/CI/badge.svg)](https://github.com/user/repo/actions)
54
-
55
- [Optional: Screenshot or GIF Demo]
56
-
57
- ---
58
-
59
- ## ✨ Features
60
-
61
- - **Feature 1** — specific, concrete description
62
- - **Feature 2** — specific, concrete description
63
- - **Feature 3** — specific, concrete description
64
-
65
- ---
66
-
67
- ## 📋 Prerequisites
68
-
69
- - Node.js 18+ / Python 3.11+ / etc.
70
- - [Any specific tool or account required]
71
-
72
- ---
73
-
74
- ## 🚀 Installation
75
-
76
- ```bash
77
- # npm
78
- npm install package-name
79
-
80
- # or yarn
81
- yarn add package-name
82
-
83
- # or global CLI install
84
- npm install -g package-name
85
- ```
86
-
87
- ---
88
-
89
- ## 💻 Usage
90
-
91
- ### Basic Example
92
-
93
- ```bash
94
- # One-liner that shows the most common use case
95
- package-name --flag value
96
- ```
97
-
98
- ### Advanced Example
99
-
100
- ```bash
101
- # More complex real-world usage
102
- package-name init --config ./config.json --output ./dist
103
- ```
104
-
105
- ---
106
-
107
- ## ⚙️ Configuration
108
-
109
- | Option | Type | Default | Description |
110
- |--------|------|---------|-------------|
111
- | `option1` | `string` | `"default"` | What it controls |
112
- | `option2` | `boolean` | `false` | What it controls |
113
-
114
- ---
115
-
116
- ## 🤝 Contributing
117
-
118
- 1. Fork the repository
119
- 2. Create a feature branch: `git checkout -b feat/your-feature`
120
- 3. Commit changes: `git commit -m "feat: add your feature"`
121
- 4. Push to branch: `git push origin feat/your-feature`
122
- 5. Open a Pull Request
123
-
124
- See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
125
-
126
- ---
127
-
128
- ## 📄 License
129
-
130
- [MIT](LICENSE) © [Author Name]
131
- ```
132
-
133
- ---
134
-
135
- ## Badge Reference
136
-
137
- ### Common Badges (GitHub-hosted project)
138
-
139
- ```markdown
140
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
141
- [![npm version](https://badge.fury.io/js/PACKAGE-NAME.svg)](https://badge.fury.io/js/PACKAGE-NAME)
142
- [![npm downloads](https://img.shields.io/npm/dm/PACKAGE-NAME.svg)](https://www.npmjs.com/package/PACKAGE-NAME)
143
- [![GitHub stars](https://img.shields.io/github/stars/USER/REPO.svg?style=social)](https://github.com/USER/REPO)
144
- [![GitHub issues](https://img.shields.io/github/issues/USER/REPO.svg)](https://github.com/USER/REPO/issues)
145
- [![CI](https://github.com/USER/REPO/workflows/CI/badge.svg)](https://github.com/USER/REPO/actions)
146
- [![Coverage](https://img.shields.io/codecov/c/github/USER/REPO)](https://codecov.io/gh/USER/REPO)
147
- ```
148
-
149
- ---
150
-
151
- ## Section Writing Guidelines
152
-
153
- ### Hero Section (Lines 1–5)
154
- - Project name as `# H1` — only one per README
155
- - Tagline in a `> blockquote` — punchy, one sentence
156
- - Badges immediately after — visual trust signals
157
-
158
- ### Features Section
159
- - Use emoji bullets for scannability
160
- - Each bullet = one concrete capability, not a vague claim
161
- - ❌ "Powerful and flexible" → ✅ "Processes 10k records/sec with zero config"
162
-
163
- ### Installation Section
164
- - Always show the most direct path first (e.g., `npm install`)
165
- - Show alternatives (yarn, pnpm, brew) as secondary options
166
- - If there are post-install steps (env vars, migrations), list them explicitly
167
-
168
- ### Usage Section
169
- - Start with the simplest 1-line example
170
- - Progress to realistic examples with real flag names
171
- - If it's a library, show import + function call pattern
172
-
173
- ### Configuration Table
174
- - Every environment variable or config key goes here
175
- - Include: name, type, default, description
176
- - Mark required fields with `*` in the Description column
177
-
178
- ---
179
-
180
- ## Project-Type Specific Additions
181
-
182
- ### CLI Tools
183
- Add a dedicated `## Commands` section:
184
-
185
- ```markdown
186
- ## Commands
187
-
188
- | Command | Description |
189
- |---------|-------------|
190
- | `tool init` | Initialize a new project |
191
- | `tool build` | Compile and bundle |
192
- | `tool deploy` | Deploy to production |
193
- | `tool --help` | Show all available options |
194
- ```
195
-
196
- ### Libraries / SDKs
197
- Add a `## API Reference` section with function signatures:
198
-
199
- ```markdown
200
- ## API Reference
201
-
202
- ### `functionName(param1, param2)`
203
-
204
- Returns: `ReturnType`
205
-
206
- | Parameter | Type | Description |
207
- |-----------|------|-------------|
208
- | `param1` | `string` | Description |
209
- | `param2` | `options` | Optional config |
210
- ```
211
-
212
- ### Monorepos
213
- Add a `## Packages` table:
214
-
215
- ```markdown
216
- ## Packages
217
-
218
- | Package | Version | Description |
219
- |---------|---------|-------------|
220
- | [`@org/core`](packages/core) | [![npm](https://img.shields.io/npm/v/@org/core)](https://npm.im/@org/core) | Core engine |
221
- | [`@org/cli`](packages/cli) | [![npm](https://img.shields.io/npm/v/@org/cli)](https://npm.im/@org/cli) | CLI interface |
222
- ```
223
-
224
- ---
225
-
226
- ## Output Format
227
-
228
- When this skill generates or reviews a README, structure your response as:
229
-
230
- ```
231
- ━━━ README Builder Report ━━━━━━━━━━━━━━━━━━━━━━━━━
232
- Skill: readme-builder
233
- Project: [project name / type detected]
234
- Sections: [list of sections generated]
235
- ─────────────────────────────────────────────────────
236
- ✅ Included: [sections that are complete]
237
- ⚠️ Missing: [sections that should be added]
238
- ❌ Blocked: [issues preventing completion]
239
- ─────────────────────────────────────────────────────
240
- VBC status: PENDING → VERIFIED
241
- Evidence: [file written at path / content reviewed]
242
- ```
243
-
244
- ---
245
-
246
- ## 🏛️ Tribunal Integration (Anti-Hallucination)
247
-
248
- **Slash command: `/review` or `/generate`**
249
- **Active reviewers: `logic` · `frontend` · `documentation`**
250
-
251
- ### ❌ Forbidden AI Tropes in README Generation
252
-
253
- 1. **Placeholder content** — "Add your description here", "TODO", "Coming soon" are never acceptable.
254
- 2. **Fabricated badges** — never create badge URLs with invented package names or repo paths.
255
- 3. **Untested code blocks** — never write installation or usage commands without verifying them against the actual `package.json` or project config.
256
- 4. **Version number invention** — always read the actual version from `package.json`, `pyproject.toml`, or `Cargo.toml`.
257
- 5. **Generic feature claims** — "fast", "powerful", "easy to use" without concrete evidence or metrics.
258
-
259
- ### ✅ Pre-Flight Self-Audit
260
-
261
- Review these questions before generating README content:
262
-
263
- ```
264
- ✅ Did I read the actual project files first (package.json, source)?
265
- ✅ Is the project name correct (not a guess)?
266
- ✅ Are all code block commands runnable against this actual project?
267
- ✅ Are badge URLs pointing to the real repo/package?
268
- ✅ Is the version number read from actual project files, not guessed?
269
- ✅ Does every feature bullet describe a concrete, provable capability?
270
- ```
1
+ ---
2
+ name: readme-builder
3
+ description: Interactive README.md generation specialist. Creates professional, structured README files with badges, installation guides, usage examples, screenshots, and contribution guidelines. Use when asked to create, update, or improve a README file.
4
+ allowed-tools: Read, Write, Edit, Glob, Grep
5
+ version: 1.0.0
6
+ last-updated: 2026-03-19
7
+ applies-to-model: gemini-2.5-pro, claude-3-7-sonnet
8
+ ---
9
+
10
+ # README Builder Skill
11
+
12
+ > A great README is a product pitch, a user manual, and a contributor's welcome — all in one document.
13
+
14
+ ---
15
+
16
+ ## Ground Rules
17
+
18
+ 1. **Always scan the project first** — read `package.json`, `pyproject.toml`, source files before writing a single line
19
+ 2. **No placeholder content** — every section must have real, specific information
20
+ 3. **Lead with value** — the first 3 lines must communicate what the project does and who it's for
21
+ 4. **Runnable examples** — every code block must be copy-paste ready and tested against the actual project
22
+
23
+ ---
24
+
25
+ ## Discovery Phase (Mandatory Before Writing)
26
+
27
+ Before generating any README content, answer these questions by scanning the project:
28
+
29
+ ```
30
+ 1. What does this project do? (single sentence)
31
+ 2. Who is the target user? (developer / end-user / enterprise)
32
+ 3. What problem does it solve?
33
+ 4. What are the installation prerequisites?
34
+ 5. What is the primary command or API entry point?
35
+ 6. Does it have a license file?
36
+ 7. Are there screenshots, demos, or GIFs available?
37
+ 8. Is there a CONTRIBUTING.md or CODE_OF_CONDUCT.md?
38
+ 9. What CI/CD badges are relevant? (GitHub Actions, npm, PyPI, etc.)
39
+ 10. What is the current version?
40
+ ```
41
+
42
+ ---
43
+
44
+ ## README Structure Template
45
+
46
+ ```markdown
47
+ # [Project Name]
48
+
49
+ > [One-line tagline: what it does and for whom]
50
+
51
+ [![License](https://img.shields.io/badge/license-MIT-blue.svg)](LICENSE)
52
+ [![Version](https://img.shields.io/npm/v/package-name)](https://www.npmjs.com/package/package-name)
53
+ [![Build Status](https://github.com/user/repo/workflows/CI/badge.svg)](https://github.com/user/repo/actions)
54
+
55
+ [Optional: Screenshot or GIF Demo]
56
+
57
+ ---
58
+
59
+ ## ✨ Features
60
+
61
+ - **Feature 1** — specific, concrete description
62
+ - **Feature 2** — specific, concrete description
63
+ - **Feature 3** — specific, concrete description
64
+
65
+ ---
66
+
67
+ ## 📋 Prerequisites
68
+
69
+ - Node.js 18+ / Python 3.11+ / etc.
70
+ - [Any specific tool or account required]
71
+
72
+ ---
73
+
74
+ ## 🚀 Installation
75
+
76
+ ```bash
77
+ # npm
78
+ npm install package-name
79
+
80
+ # or yarn
81
+ yarn add package-name
82
+
83
+ # or global CLI install
84
+ npm install -g package-name
85
+ ```
86
+
87
+ ---
88
+
89
+ ## 💻 Usage
90
+
91
+ ### Basic Example
92
+
93
+ ```bash
94
+ # One-liner that shows the most common use case
95
+ package-name --flag value
96
+ ```
97
+
98
+ ### Advanced Example
99
+
100
+ ```bash
101
+ # More complex real-world usage
102
+ package-name init --config ./config.json --output ./dist
103
+ ```
104
+
105
+ ---
106
+
107
+ ## ⚙️ Configuration
108
+
109
+ | Option | Type | Default | Description |
110
+ |--------|------|---------|-------------|
111
+ | `option1` | `string` | `"default"` | What it controls |
112
+ | `option2` | `boolean` | `false` | What it controls |
113
+
114
+ ---
115
+
116
+ ## 🤝 Contributing
117
+
118
+ 1. Fork the repository
119
+ 2. Create a feature branch: `git checkout -b feat/your-feature`
120
+ 3. Commit changes: `git commit -m "feat: add your feature"`
121
+ 4. Push to branch: `git push origin feat/your-feature`
122
+ 5. Open a Pull Request
123
+
124
+ See [CONTRIBUTING.md](CONTRIBUTING.md) for detailed guidelines.
125
+
126
+ ---
127
+
128
+ ## 📄 License
129
+
130
+ [MIT](LICENSE) © [Author Name]
131
+ ```
132
+
133
+ ---
134
+
135
+ ## Badge Reference
136
+
137
+ ### Common Badges (GitHub-hosted project)
138
+
139
+ ```markdown
140
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
141
+ [![npm version](https://badge.fury.io/js/PACKAGE-NAME.svg)](https://badge.fury.io/js/PACKAGE-NAME)
142
+ [![npm downloads](https://img.shields.io/npm/dm/PACKAGE-NAME.svg)](https://www.npmjs.com/package/PACKAGE-NAME)
143
+ [![GitHub stars](https://img.shields.io/github/stars/USER/REPO.svg?style=social)](https://github.com/USER/REPO)
144
+ [![GitHub issues](https://img.shields.io/github/issues/USER/REPO.svg)](https://github.com/USER/REPO/issues)
145
+ [![CI](https://github.com/USER/REPO/workflows/CI/badge.svg)](https://github.com/USER/REPO/actions)
146
+ [![Coverage](https://img.shields.io/codecov/c/github/USER/REPO)](https://codecov.io/gh/USER/REPO)
147
+ ```
148
+
149
+ ---
150
+
151
+ ## Section Writing Guidelines
152
+
153
+ ### Hero Section (Lines 1–5)
154
+ - Project name as `# H1` — only one per README
155
+ - Tagline in a `> blockquote` — punchy, one sentence
156
+ - Badges immediately after — visual trust signals
157
+
158
+ ### Features Section
159
+ - Use emoji bullets for scannability
160
+ - Each bullet = one concrete capability, not a vague claim
161
+ - ❌ "Powerful and flexible" → ✅ "Processes 10k records/sec with zero config"
162
+
163
+ ### Installation Section
164
+ - Always show the most direct path first (e.g., `npm install`)
165
+ - Show alternatives (yarn, pnpm, brew) as secondary options
166
+ - If there are post-install steps (env vars, migrations), list them explicitly
167
+
168
+ ### Usage Section
169
+ - Start with the simplest 1-line example
170
+ - Progress to realistic examples with real flag names
171
+ - If it's a library, show import + function call pattern
172
+
173
+ ### Configuration Table
174
+ - Every environment variable or config key goes here
175
+ - Include: name, type, default, description
176
+ - Mark required fields with `*` in the Description column
177
+
178
+ ---
179
+
180
+ ## Project-Type Specific Additions
181
+
182
+ ### CLI Tools
183
+ Add a dedicated `## Commands` section:
184
+
185
+ ```markdown
186
+ ## Commands
187
+
188
+ | Command | Description |
189
+ |---------|-------------|
190
+ | `tool init` | Initialize a new project |
191
+ | `tool build` | Compile and bundle |
192
+ | `tool deploy` | Deploy to production |
193
+ | `tool --help` | Show all available options |
194
+ ```
195
+
196
+ ### Libraries / SDKs
197
+ Add a `## API Reference` section with function signatures:
198
+
199
+ ```markdown
200
+ ## API Reference
201
+
202
+ ### `functionName(param1, param2)`
203
+
204
+ Returns: `ReturnType`
205
+
206
+ | Parameter | Type | Description |
207
+ |-----------|------|-------------|
208
+ | `param1` | `string` | Description |
209
+ | `param2` | `options` | Optional config |
210
+ ```
211
+
212
+ ### Monorepos
213
+ Add a `## Packages` table:
214
+
215
+ ```markdown
216
+ ## Packages
217
+
218
+ | Package | Version | Description |
219
+ |---------|---------|-------------|
220
+ | [`@org/core`](packages/core) | [![npm](https://img.shields.io/npm/v/@org/core)](https://npm.im/@org/core) | Core engine |
221
+ | [`@org/cli`](packages/cli) | [![npm](https://img.shields.io/npm/v/@org/cli)](https://npm.im/@org/cli) | CLI interface |
222
+ ```
223
+
224
+ ---
225
+
226
+ ## Output Format
227
+
228
+ When this skill generates or reviews a README, structure your response as:
229
+
230
+ ```
231
+ ━━━ README Builder Report ━━━━━━━━━━━━━━━━━━━━━━━━━
232
+ Skill: readme-builder
233
+ Project: [project name / type detected]
234
+ Sections: [list of sections generated]
235
+ ─────────────────────────────────────────────────────
236
+ ✅ Included: [sections that are complete]
237
+ ⚠️ Missing: [sections that should be added]
238
+ ❌ Blocked: [issues preventing completion]
239
+ ─────────────────────────────────────────────────────
240
+ VBC status: PENDING → VERIFIED
241
+ Evidence: [file written at path / content reviewed]
242
+ ```
243
+
244
+ ---
245
+
246
+ ## 🏛️ Tribunal Integration (Anti-Hallucination)
247
+
248
+ **Slash command: `/review` or `/generate`**
249
+ **Active reviewers: `logic` · `frontend` · `documentation`**
250
+
251
+ ### ❌ Forbidden AI Tropes in README Generation
252
+
253
+ 1. **Placeholder content** — "Add your description here", "TODO", "Coming soon" are never acceptable.
254
+ 2. **Fabricated badges** — never create badge URLs with invented package names or repo paths.
255
+ 3. **Untested code blocks** — never write installation or usage commands without verifying them against the actual `package.json` or project config.
256
+ 4. **Version number invention** — always read the actual version from `package.json`, `pyproject.toml`, or `Cargo.toml`.
257
+ 5. **Generic feature claims** — "fast", "powerful", "easy to use" without concrete evidence or metrics.
258
+
259
+ ### ✅ Pre-Flight Self-Audit
260
+
261
+ Review these questions before generating README content:
262
+
263
+ ```
264
+ ✅ Did I read the actual project files first (package.json, source)?
265
+ ✅ Is the project name correct (not a guess)?
266
+ ✅ Are all code block commands runnable against this actual project?
267
+ ✅ Are badge URLs pointing to the real repo/package?
268
+ ✅ Is the version number read from actual project files, not guessed?
269
+ ✅ Does every feature bullet describe a concrete, provable capability?
270
+ ```