@wpro-eng/opencode-config 1.0.0 → 1.1.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.
@@ -0,0 +1,18 @@
1
+ ---
2
+ name: example
3
+ description: Example skill demonstrating the expected format
4
+ ---
5
+
6
+ # Example Skill
7
+
8
+ This is a placeholder skill. Replace with real skills.
9
+
10
+ ## When to Use
11
+
12
+ Use this skill when you need to [describe use case].
13
+
14
+ ## Instructions
15
+
16
+ 1. Step one
17
+ 2. Step two
18
+ 3. Step three
@@ -0,0 +1,29 @@
1
+ ---
2
+ name: orchestration-core
3
+ description: Continuous loop orchestration, delegation visibility, and diagnostics workflow
4
+ ---
5
+
6
+ # Orchestration Core
7
+
8
+ Use this workflow for deep autonomous execution with strong operator control.
9
+
10
+ ## Control Commands
11
+
12
+ - `/continue` enables continuous loop mode
13
+ - `/stop` halts running/queued work
14
+ - `/tasks` lists active/recent delegated tasks
15
+ - `/task <id>` inspects one task
16
+ - `/diagnostics` validates full orchestration setup
17
+
18
+ ## Delegation Pattern
19
+
20
+ 1. Delegate atomic tasks with explicit success criteria.
21
+ 2. Track task state transitions and surface concise activity updates.
22
+ 3. Retry failures with bounded backoff.
23
+ 4. Keep final output deterministic and verifiable.
24
+
25
+ ## Verification Pattern
26
+
27
+ - Run `/diagnostics` after configuration changes.
28
+ - Ensure provider mode and command wiring pass.
29
+ - Confirm loop control and task visibility are operational.
@@ -0,0 +1,529 @@
1
+ ---
2
+ name: readme-editor
3
+ description: >-
4
+ Craft professional README.md files for GitHub open source projects.
5
+ Generates hero sections, installation instructions, feature tables, and
6
+ architecture diagrams. Use when creating or revising a README, documenting
7
+ a CLI tool, library, or open source project, or when user asks about
8
+ README structure, badges, or project documentation.
9
+ ---
10
+
11
+ # Crafting README.md Files for GitHub
12
+
13
+ > **Core insight:** A README is a sales pitch, onboarding guide, and reference manual compressed into one document. Lead with value, prove with examples, document with precision.
14
+
15
+ ## Why This Matters
16
+
17
+ Most READMEs fail because they:
18
+
19
+ - Bury the value proposition under installation steps
20
+ - Explain what the tool IS instead of what problem it SOLVES
21
+ - Lack concrete examples (abstract descriptions don't sell)
22
+ - Miss the "quick escape hatch" for impatient users (curl one-liner)
23
+ - Don't show how it compares to alternatives
24
+
25
+ Great READMEs convert scanners into users in under 60 seconds.
26
+
27
+ ---
28
+
29
+ ## THE EXACT PROMPT — README Revision
30
+
31
+ ```
32
+ Read the current README.md and dramatically revise it following this structure:
33
+
34
+ 1. Hero section: illustration + badges + one-liner description + curl install
35
+ 2. TL;DR: "The Problem" + "The Solution" + "Why Use X?" feature table
36
+ 3. Quick example showing the tool in action (5-10 commands)
37
+ 4. Design philosophy (3-5 principles with explanations)
38
+ 5. Comparison table vs alternatives
39
+ 6. Installation (curl one-liner, package managers, from source)
40
+ 7. Quick start (numbered steps, copy-paste ready)
41
+ 8. Command reference (every command with examples)
42
+ 9. Configuration (full config file example with comments)
43
+ 10. Architecture diagram (ASCII art showing data flow)
44
+ 11. Troubleshooting (common errors with fixes)
45
+ 12. Limitations (honest about what it doesn't do)
46
+ 13. FAQ (anticipate user questions)
47
+
48
+ Make it comprehensive but scannable. Use tables for comparisons.
49
+ Show, don't tell. Every claim should have a concrete example.
50
+ Use ultrathink.
51
+ ```
52
+
53
+ ---
54
+
55
+ ## Golden Structure
56
+
57
+ ```
58
+ 1. HERO SECTION (above the fold)
59
+ ├─ Illustration/logo (centered)
60
+ ├─ Badges (CI, license, version)
61
+ ├─ One-liner description
62
+ └─ Quick install (curl | bash)
63
+
64
+ 2. TL;DR (sell the value)
65
+ ├─ The Problem (pain point)
66
+ ├─ The Solution (what this does)
67
+ └─ Why Use X? (feature table)
68
+
69
+ 3. QUICK EXAMPLE (prove it works)
70
+ └─ 5-10 commands showing core workflow
71
+
72
+ 4. REFERENCE SECTIONS
73
+ ├─ Design Philosophy
74
+ ├─ Comparison vs Alternatives
75
+ ├─ Installation (multiple paths)
76
+ ├─ Quick Start
77
+ ├─ Commands
78
+ ├─ Configuration
79
+ └─ Architecture
80
+
81
+ 5. SUPPORT SECTIONS
82
+ ├─ Troubleshooting
83
+ ├─ Limitations
84
+ ├─ FAQ
85
+ ├─ Contributing
86
+ └─ License
87
+ ```
88
+
89
+ ---
90
+
91
+ ## Section Templates
92
+
93
+ ### Hero Section
94
+
95
+ ````markdown
96
+ # tool-name
97
+
98
+ <div align="center">
99
+ <img src="illustration.webp" alt="tool-name - One-line description">
100
+ </div>
101
+
102
+ <div align="center">
103
+
104
+ [![CI](https://github.com/user/repo/actions/workflows/ci.yml/badge.svg)](https://github.com/user/repo/actions/workflows/ci.yml)
105
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
106
+
107
+ </div>
108
+
109
+ One-sentence description of what this tool does and its key differentiator.
110
+
111
+ <div align="center">
112
+ <h3>Quick Install</h3>
113
+
114
+ ```bash
115
+ curl -fsSL https://raw.githubusercontent.com/user/repo/main/install.sh | bash
116
+ ```
117
+ ````
118
+
119
+ **Or build from source:**
120
+
121
+ ```bash
122
+ cargo install --git https://github.com/user/repo.git
123
+ ```
124
+
125
+ </div>
126
+ ```
127
+
128
+ ### TL;DR Section
129
+
130
+ ```markdown
131
+ ## TL;DR
132
+
133
+ **The Problem**: [Specific pain point in 1-2 sentences. Be concrete.]
134
+
135
+ **The Solution**: [What this tool does to solve it. Action-oriented.]
136
+
137
+ ### Why Use tool-name?
138
+
139
+ | Feature | What It Does |
140
+ | ------------- | --------------------------------------------- |
141
+ | **Feature 1** | Concrete benefit, not abstract capability |
142
+ | **Feature 2** | Another specific value proposition |
143
+ | **Feature 3** | Quantify when possible (e.g., "<10ms search") |
144
+ ```
145
+
146
+ ### Quick Example
147
+
148
+ ````markdown
149
+ ### Quick Example
150
+
151
+ ```bash
152
+ # Initialize (one-time setup)
153
+ $ tool init
154
+
155
+ # Core operation
156
+ $ tool do-thing --flag value
157
+
158
+ # See results
159
+ $ tool show results
160
+
161
+ # The killer feature
162
+ $ tool magic --auto
163
+ ```
164
+ ````
165
+
166
+ ````
167
+
168
+ ### Comparison Table
169
+
170
+ ```markdown
171
+ ## How tool-name Compares
172
+
173
+ | Feature | tool-name | Alternative A | Alternative B | Manual |
174
+ |---------|-----------|---------------|---------------|--------|
175
+ | Feature 1 | ✅ Full support | ⚠️ Partial | ❌ None | ❌ |
176
+ | Feature 2 | ✅ <10ms | 🐢 ~500ms | ✅ Fast | N/A |
177
+ | Setup time | ✅ ~10 seconds | ❌ Hours | ⚠️ Minutes | ❌ |
178
+
179
+ **When to use tool-name:**
180
+ - Bullet point of ideal use case
181
+ - Another use case
182
+
183
+ **When tool-name might not be ideal:**
184
+ - Honest limitation
185
+ - Another case where alternatives win
186
+ ````
187
+
188
+ ### Installation Section
189
+
190
+ ````markdown
191
+ ## Installation
192
+
193
+ ### Quick Install (Recommended)
194
+
195
+ ```bash
196
+ curl -fsSL https://raw.githubusercontent.com/user/repo/main/install.sh | bash
197
+ ```
198
+ ````
199
+
200
+ **With options:**
201
+
202
+ ```bash
203
+ # Auto-update PATH
204
+ curl -fsSL https://... | bash -s -- --easy-mode
205
+
206
+ # Specific version
207
+ curl -fsSL https://... | bash -s -- --version v1.0.0
208
+
209
+ # System-wide (requires sudo)
210
+ curl -fsSL https://... | sudo bash -s -- --system
211
+ ```
212
+
213
+ ### Package Managers
214
+
215
+ ```bash
216
+ # macOS/Linux (Homebrew)
217
+ brew install user/tap/tool
218
+
219
+ # Windows (Scoop)
220
+ scoop bucket add user https://github.com/user/scoop-bucket
221
+ scoop install tool
222
+ ```
223
+
224
+ ### From Source
225
+
226
+ ```bash
227
+ git clone https://github.com/user/repo.git
228
+ cd repo
229
+ cargo build --release
230
+ cp target/release/tool ~/.local/bin/
231
+ ```
232
+
233
+ ````
234
+
235
+ ### Command Reference Pattern
236
+
237
+ ```markdown
238
+ ## Commands
239
+
240
+ Global flags available on all commands:
241
+
242
+ ```bash
243
+ --verbose # Increase logging
244
+ --quiet # Suppress non-error output
245
+ --format json # Machine-readable output
246
+ ````
247
+
248
+ ### `tool command`
249
+
250
+ Brief description of what this command does.
251
+
252
+ ```bash
253
+ tool command # Basic usage
254
+ tool command --flag value # With options
255
+ tool command --help # See all options
256
+ ```
257
+
258
+ ````
259
+
260
+ ### Architecture Diagram
261
+
262
+ ```markdown
263
+ ## Architecture
264
+
265
+ ````
266
+
267
+ ┌─────────────────────────────────────────────────────────────────┐
268
+ │ Input Layer │
269
+ │ (files, API calls, user commands) │
270
+ └─────────────────────────────────────────────────────────────────┘
271
+
272
+
273
+ ┌─────────────────────────────────────────────────────────────────┐
274
+ │ Processing Layer │
275
+ │ Component A → Component B → Component C │
276
+ └─────────────────────────────────────────────────────────────────┘
277
+
278
+ ┌───────────────────┼───────────────────┐
279
+ ▼ ▼ ▼
280
+ ┌──────────────────┐ ┌──────────────────┐ ┌──────────────────┐
281
+ │ Storage A │ │ Storage B │ │ Output │
282
+ │ - Detail 1 │ │ - Detail 1 │ │ - Format 1 │
283
+ │ - Detail 2 │ │ - Detail 2 │ │ - Format 2 │
284
+ └──────────────────┘ └──────────────────┘ └──────────────────┘
285
+
286
+ ```
287
+
288
+ ```
289
+
290
+ ### Troubleshooting Pattern
291
+
292
+ ````markdown
293
+ ## Troubleshooting
294
+
295
+ ### "Error message here"
296
+
297
+ ```bash
298
+ # Solution
299
+ command to fix it
300
+ ```
301
+ ````
302
+
303
+ ### "Another common error"
304
+
305
+ Explanation of why this happens and how to fix it.
306
+
307
+ ```bash
308
+ # Check the state
309
+ diagnostic command
310
+
311
+ # Fix it
312
+ fix command
313
+ ```
314
+
315
+ ````
316
+
317
+ ### Limitations Section
318
+
319
+ ```markdown
320
+ ## Limitations
321
+
322
+ ### What tool-name Doesn't Do (Yet)
323
+
324
+ - **Limitation 1**: Brief explanation, workaround if any
325
+ - **Limitation 2**: Why this is out of scope
326
+
327
+ ### Known Limitations
328
+
329
+ | Capability | Current State | Planned |
330
+ |------------|---------------|---------|
331
+ | Feature X | ❌ Not supported | v2.0 |
332
+ | Feature Y | ⚠️ Partial | Improving |
333
+ ````
334
+
335
+ ### FAQ Pattern
336
+
337
+ ````markdown
338
+ ## FAQ
339
+
340
+ ### Why "tool-name"?
341
+
342
+ Brief etymology or meaning.
343
+
344
+ ### Is my data safe?
345
+
346
+ Yes/No with explanation. Privacy guarantees.
347
+
348
+ ### Does it work with X?
349
+
350
+ Compatibility information.
351
+
352
+ ### How do I [common task]?
353
+
354
+ ```bash
355
+ # Command to accomplish it
356
+ tool do-thing
357
+ ```
358
+ ````
359
+
360
+ ````
361
+
362
+ ---
363
+
364
+ ## Critical Rules
365
+
366
+ 1. **Lead with value, not installation** — TL;DR before Quick Start
367
+ 2. **Curl one-liner above the fold** — Impatient users escape hatch
368
+ 3. **Every feature claim needs an example** — Show, don't tell
369
+ 4. **Comparison tables beat prose** — Scannable > readable
370
+ 5. **Be honest about limitations** — Builds trust, saves support time
371
+ 6. **Multiple installation paths** — curl, package manager, source
372
+ 7. **Architecture diagrams for complex tools** — ASCII art is fine
373
+ 8. **Troubleshooting section is mandatory** — Top 5 errors with fixes
374
+
375
+ ---
376
+
377
+ ## Anti-Patterns (Avoid)
378
+
379
+ | Anti-Pattern | Why Bad | Fix |
380
+ |--------------|---------|-----|
381
+ | Installation-first README | Buries value proposition | Lead with TL;DR |
382
+ | "This is a tool that..." | Passive, abstract | "Solves X by doing Y" |
383
+ | Screenshot-heavy | Breaks, doesn't copy-paste | ASCII + code blocks |
384
+ | No examples | Abstract claims don't sell | Every feature → example |
385
+ | Hiding limitations | Users discover painfully | Honest Limitations section |
386
+ | Single install method | Alienates users | curl + pkg manager + source |
387
+ | No troubleshooting | Support burden | Top 5 errors with fixes |
388
+ | Outdated badges | Looks abandoned | Remove or keep current |
389
+
390
+ ---
391
+
392
+ ## AGENTS.md Blurb Template
393
+
394
+ For CLI tools, include a condensed reference block:
395
+
396
+ ```markdown
397
+ ## tool — Brief Description
398
+
399
+ One-line description of what it does and key differentiator.
400
+
401
+ ### Core Workflow
402
+
403
+ ```bash
404
+ # 1. Initialize
405
+ tool init
406
+
407
+ # 2. Main operation
408
+ tool do-thing
409
+
410
+ # 3. View results
411
+ tool show
412
+
413
+ Key Flags
414
+
415
+ --flag1 # Description
416
+ --flag2 # Description
417
+
418
+ Storage
419
+
420
+ - Location 1: path/to/thing
421
+ - Location 2: path/to/other
422
+
423
+ Notes
424
+
425
+ - Important caveat 1
426
+ - Important caveat 2
427
+ ````
428
+
429
+ ```
430
+
431
+ This provides AI agents with scannable reference without loading full README.
432
+
433
+ ---
434
+
435
+ ## Checklist
436
+
437
+ Before publishing:
438
+
439
+ ```
440
+
441
+ □ Hero section with illustration + badges + one-liner + curl install
442
+ □ TL;DR with Problem/Solution/Feature table
443
+ □ Quick example (5-10 commands)
444
+ □ At least 3 installation methods documented
445
+ □ Every command has usage examples
446
+ □ Architecture diagram for complex tools
447
+ □ Comparison table vs at least 2 alternatives
448
+ □ Troubleshooting section (top 5 errors)
449
+ □ Honest Limitations section
450
+ □ FAQ with 5+ questions
451
+ □ All code blocks are copy-paste ready
452
+ □ No broken links or badges
453
+ □ Consistent terminology throughout
454
+ □ Grammar/spelling checked
455
+
456
+ ````
457
+
458
+ ---
459
+
460
+ ## Badge Reference
461
+
462
+ Common badges for GitHub READMEs:
463
+
464
+ ```markdown
465
+ # CI Status
466
+ [![CI](https://github.com/USER/REPO/actions/workflows/ci.yml/badge.svg)](https://github.com/USER/REPO/actions/workflows/ci.yml)
467
+
468
+ # License
469
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
470
+ [![License: Apache 2.0](https://img.shields.io/badge/License-Apache_2.0-blue.svg)](https://opensource.org/licenses/Apache-2.0)
471
+
472
+ # Version/Release
473
+ [![GitHub release](https://img.shields.io/github/v/release/USER/REPO)](https://github.com/USER/REPO/releases)
474
+
475
+ # Downloads
476
+ [![Downloads](https://img.shields.io/github/downloads/USER/REPO/total)](https://github.com/USER/REPO/releases)
477
+
478
+ # Crates.io (Rust)
479
+ [![Crates.io](https://img.shields.io/crates/v/CRATE.svg)](https://crates.io/crates/CRATE)
480
+
481
+ # npm (JavaScript)
482
+ [![npm](https://img.shields.io/npm/v/PACKAGE.svg)](https://www.npmjs.com/package/PACKAGE)
483
+
484
+ # PyPI (Python)
485
+ [![PyPI](https://img.shields.io/pypi/v/PACKAGE.svg)](https://pypi.org/project/PACKAGE/)
486
+ ````
487
+
488
+ ---
489
+
490
+ ## Real-World Examples
491
+
492
+ Study these READMEs for patterns:
493
+
494
+ | Project | Notable Pattern |
495
+ | ------------------------------------------------ | ------------------------------------------ |
496
+ | [xf](https://github.com/Dicklesworthstone/xf) | Comprehensive CLI docs, search deep-dives |
497
+ | [ripgrep](https://github.com/BurntSushi/ripgrep) | Benchmarks, comparison tables |
498
+ | [bat](https://github.com/sharkdp/bat) | GIF demos, feature highlights |
499
+ | [exa](https://github.com/ogham/exa) | Screenshot galleries, color themes |
500
+ | [starship](https://github.com/starship/starship) | Preset configurations, installation matrix |
501
+ | [jq](https://github.com/jqlang/jq) | Tutorial progression, manual links |
502
+
503
+ ---
504
+
505
+ ## Advanced: Progressive Disclosure for Long READMEs
506
+
507
+ For READMEs exceeding 1000 lines, use collapsible sections:
508
+
509
+ ```markdown
510
+ <details>
511
+ <summary><strong>Advanced Configuration</strong></summary>
512
+
513
+ Content that most users don't need on first read...
514
+
515
+ </details>
516
+ ```
517
+
518
+ Or link to separate docs:
519
+
520
+ ```markdown
521
+ ## Documentation
522
+
523
+ - [Installation Guide](docs/installation.md)
524
+ - [Configuration Reference](docs/configuration.md)
525
+ - [API Documentation](docs/api.md)
526
+ - [Contributing Guide](CONTRIBUTING.md)
527
+ ```
528
+
529
+ Keep the README itself focused on the 80% use case.