writing-skills 0.1.1 → 0.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/README.md CHANGED
@@ -1,77 +1,86 @@
1
1
  <p align="center">
2
- <img src="logo.svg" alt="Writing Skills Logo" width="120" />
2
+ <img src="logo.svg" alt="writing-skills logo" width="96" />
3
3
  </p>
4
4
 
5
- # Writing Skills 🖋️
5
+ # writing-skills
6
+
7
+ **14 writing-style skills for AI agents: 7 measurable frameworks, 7 character voices.**
8
+ Plain `SKILL.md` files — no code, no server. Works in any agent that reads skills
9
+ (Claude Code, opencode, Codex, Cursor, Kiro, Gemini).
6
10
 
7
- [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
8
- [![PyPI](https://img.shields.io/pypi/v/writing-skills)](https://pypi.org/project/writing-skills/)
9
11
  [![npm](https://img.shields.io/npm/v/writing-skills)](https://www.npmjs.com/package/writing-skills)
12
+ [![PyPI](https://img.shields.io/pypi/v/writing-skills)](https://pypi.org/project/writing-skills/)
13
+ [![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](LICENSE)
10
14
 
11
- **Procedural writing-style skills for AI agents — official frameworks, not vibes.**
15
+ ## Install
12
16
 
13
- Ready-made `SKILL.md` packages: plain language, business writing, corporate
14
- communication, GOV.UK, AP style, STE-100, dev docs — each with numbered mechanics
15
- and a **verifiable checklist** the agent must pass. Compatible with any agent that
16
- reads SKILL.md (opencode, Claude Code, Codex, Kiro, Gemini).
17
+ ```bash
18
+ npx skills add writing-skills
19
+ ```
17
20
 
18
- ## Skills
21
+ One command, every agent on your machine.
19
22
 
20
- ### Frameworks
23
+ <details>
24
+ <summary>Other install methods</summary>
21
25
 
22
- | Skill | What it enforces |
26
+ | Harness | Command |
23
27
  | :--- | :--- |
24
- | `plain-language` | Plain Writing Act clarity. Sentences ≤25 words, passive ≤10%, jargon ban list. |
25
- | `business-writing` | Executive comms. BLUF in the first line, explicit ask + deadline, buzzword ban list. |
26
- | `corporate-communication` | Company announcements. News first, reader impact explicit, zero euphemism. |
27
- | `gov-uk-style` | Public-sector readability. Keyword-first headings, ≤25-word sentences, ≤5-sentence paragraphs. |
28
- | `asd-ste100` | Safety-critical technical prose. One instruction per sentence, controlled vocabulary, no idioms. |
29
- | `google-dev-docs` | Developer documentation. Active voice, present tense, verb-first headings, runnable examples. |
30
- | `journalism-ap` | Factual reporting. AP attribution and number rules, zero editorializing. |
28
+ | Claude Code plugin | `/plugin marketplace add surendranb/writing-skills` then `/plugin install writing-skills@writing-skills` |
29
+ | Codex ≥ 0.147 / Kiro | `git clone https://github.com/surendranb/writing-skills.git` — `plugin.json` is auto-discovered |
30
+ | npm | `npm install writing-skills` |
31
+ | Python | `uv add writing-skills` or `pip install writing-skills` |
31
32
 
32
- ### Voices
33
+ </details>
33
34
 
34
- `ted-lasso` · `jack-sparrow` · `shrek` · `yoda` · `winnie-the-pooh` · `paddington` · `bob-ross`
35
+ ## Use
35
36
 
36
- ## Install
37
+ Ask for the style. The skill loads itself.
37
38
 
38
- ```bash
39
- npx skills add writing-skills # installs into every detected agent (Claude Code, opencode, Codex, ...)
40
- npm install writing-skills # or pip/uv: uv add writing-skills
41
- ```
39
+ > "rewrite this in plain language" · "make this a BLUF business update" ·
40
+ > "press release in AP style" · "say it like Yoda"
42
41
 
43
- `writing-skills` is also an Agent Plugins 1.0.0 package — Claude Code, Codex ≥ 0.147
44
- and Kiro discover `plugin.json` when you point them at the repo:
42
+ Every skill ends with a `Verify` checklist the agent must pass before it delivers.
45
43
 
46
- ```bash
47
- git clone https://github.com/surendranb/writing-skills.git
48
- ```
49
-
50
- ## Use
44
+ ## The skills
51
45
 
52
- Ask for a style and the skill loads automatically:
46
+ ### Frameworks — real standards, enforced
53
47
 
54
- > "rewrite this in plain language"
55
- > "make this a BLUF business update"
56
- > "write the press release in AP style"
57
- > "say it like Ted Lasso"
48
+ | Skill | Enforces |
49
+ | :--- | :--- |
50
+ | `plain-language` | Plain Writing Act. Sentences ≤25 words, passive ≤10%, jargon ban list. |
51
+ | `business-writing` | BLUF first line, explicit ask + deadline, buzzword ban list. |
52
+ | `corporate-communication` | News first, reader impact named, zero euphemism. |
53
+ | `gov-uk-style` | GOV.UK guide. Keyword-first headings, ≤5-sentence paragraphs. |
54
+ | `asd-ste100` | Simplified Technical English. One instruction per sentence, no idioms. |
55
+ | `google-dev-docs` | Google style. Active voice, present tense, verb-first headings. |
56
+ | `journalism-ap` | AP Stylebook. Attribution, number rules, zero editorializing. |
58
57
 
59
- Every framework skill ends with a `Verify` checklist (sentence caps, passive-voice
60
- scans, ban lists, readability targets) the agent must pass before delivering.
58
+ ### Voices — characters, rate-limited against caricature
61
59
 
62
- ## Contribute
60
+ `ted-lasso` · `jack-sparrow` · `shrek` · `yoda` · `winnie-the-pooh` · `paddington` · `bob-ross`
63
61
 
64
- Add a skill as a folder under `skills/` with a `SKILL.md`:
62
+ ## MCP server — unlimited skills, live from GitHub
65
63
 
66
- - `name` in frontmatter matching the folder; trigger-rich `description` starting with "Use when"
67
- - `## The core rule`, `## Mechanics` (numbered, verifiable), `## Do not`, and at least two before/after `## Transform example`s
64
+ ```bash
65
+ uvx writing-skills-mcp
66
+ ```
68
67
 
69
- Validate locally:
68
+ The plugin ships 14 skills statically. The MCP server is the living registry
69
+ on top: it discovers styles from the full catalog on GitHub (`search_styles`),
70
+ returns any skill's full `SKILL.md` (`get_skill`), and installs it into a
71
+ harness skills directory (`install_skill`). A new skill is just a commit —
72
+ no package update, no re-install, at any scale.
70
73
 
71
74
  ```bash
72
- python3 scripts/check_skills.py # requires PyYAML
75
+ uvx --from writing-skills writing-skills-mcp
73
76
  ```
74
77
 
78
+ ## Contribute
79
+
80
+ Copy [template/SKILL.md](template/SKILL.md), fill it, run
81
+ `python3 scripts/validate_skills.py`. CI enforces the contract — see
82
+ [CONTRIBUTING.md](CONTRIBUTING.md).
83
+
75
84
  ## License
76
85
 
77
- MIT — [Surendran B](https://github.com/surendranb). See [LICENSE](LICENSE).
86
+ MIT — [Surendran B](https://github.com/surendranb)