复制安装命令
用 Codex 或 Claude 安装复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它先审查 Skill 页面再帮你安装。
复制前请先查看来源、License 和安全提示。
Seven Agent Skills that support plain language writing, document audits, code, and organisationa...
用 Codex 或 Claude 安装复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它先审查 Skill 页面再帮你安装。
复制前请先查看来源、License 和安全提示。
来源文件:README.md
Seven Agent Skills that support plain language writing, document audits, code, and organisational implementation. They apply principles inspired by the ISO 24495 Plain language series.
The skills are plain SKILL.md files with agent-neutral wording. Any tool that reads the Agent Skills format can use them.
This repository also packages them as a Claude Code plugin with an ISO 24495 output style (output-styles/iso-24495.md). Select the style with /output-style to hold every response to the core rules without relying on skill activation.
| Skill | Scope |
|---|---|
iso-24495-1 | Core principles. Governs all user-facing output: no filler preambles, short sentences and paragraphs, active voice, scannable structure, concrete instructions. |
iso-24495-2 | Legal writing. Extends the core skill for contracts, licences, and compliance text: standardised modal verbs, no legalese, named actors, structured conditional clauses. |
iso-24495-3 | Science and technical writing. Extends the core skill for documentation, architecture, and code review: progressive disclosure, exact file citations, defined acronyms. |
iso-24495-4 | Organisational implementation (provisional). A task skill for plain language gap analysis in organisations: a process-artefact sweep, a corpus audit, a five-dimension maturity model with deterministic scoring, and an append-only audit trend. Ships TypeScript tooling run with Bun (bun test covered). Based on the unpublished ISO/CD 24495-4 committee draft. |
iso-24495-5 | Document design (provisional). Extends the core skill for structuring complex documents: an opening block, visual hierarchy, navigation aids, layered detail, comparisons, consistent signalling, and a signpost for the reader who wanted a different document. Ships a decision record, a runbook and a design document template. Based on the unpublished ISO/WD 24495-5 working draft. |
iso-24495-code | Plain language in code. Applies the principles to what a person reads in source: the order units appear in, their names, what comments say, and what an error tells the reader who hits it. Measured to change how Claude structures a file, at no cost to correctness. |
iso-24495-text-audit | User-invoked text audit. Checks a selected .md, .markdown, or .txt file or directory. Reports mechanical findings with locations, without deciding validity or compliance. |
The core skill activates the relevant writing skills automatically. It triggers iso-24495-2 for legal content, iso-24495-3 for technical content, and iso-24495-5 for complex documents. The text audit never activates automatically.
All skills exempt internal reasoning. The writing skills preserve code blocks, commands, and logs untouched; iso-24495-code is the exception, because governing code is its subject. Technical and legal accuracy always supersede formatting rules.
Add this repository as a plugin marketplace, then install the plugin:
/plugin marketplace add https://github.com/GaZmagik/iso-24495.git
/plugin install iso-24495-plain-language@iso-24495
Use the full HTTPS address as shown. The short owner/repo form makes some Claude Code versions clone over SSH, which fails without GitHub SSH keys.
Or from a local clone:
/plugin marketplace add ./path/to/this/repo
/plugin install iso-24495-plain-language@iso-24495
Codex reads the same marketplace manifest, so the plugin installs from the same address:
codex plugin marketplace add https://github.com/GaZmagik/iso-24495.git
codex plugin add iso-24495-plain-language@iso-24495
Or from a local clone, where . is the repository root:
codex plugin marketplace add .
codex plugin add iso-24495-plain-language@iso-24495
Every skill carries agents/openai.yaml, which gives Codex its display name,
its short description, and the prompt Codex offers for it. Invoke a skill by
name, as in $iso-24495-1, or ask for it in words.
Codex has no output style, so the same rules are a skill there:
iso-24495-style holds the output style word for word, and a test keeps the
two identical. It lives in codex-skills/ rather than skills/, because
Claude Code scans skills/ and would otherwise offer a skill its output style
already covers. Codex reads both directories, named in .codex-plugin/plugin.json.
Name the skill in your AGENTS.md to apply it to every response:
Apply `iso-24495-style` to every response.
Put that in your project's AGENTS.md or in ~/.codex/AGENTS.md. An
AGENTS.md inside a plugin is ignored, so a plugin cannot apply itself.
Once installed, the agent loads the skills when their descriptions match the task. To apply one explicitly, ask for it by name, for example: "Apply iso-24495-2 to this licence text."
Invoke iso-24495-text-audit directly and supply one file or directory. The skill reads only that path and leaves every change to the user:
/iso-24495-plain-language:iso-24495-text-audit docs/policy.md
To enforce the core skill on every response, add a line to your agent's instruction file (CLAUDE.md, AGENTS.md, or equivalent):
- ALWAYS activate and adhere to the `iso-24495-1` Plain Language skill across all responses
For agents without a plugin system, copy the skills/ subdirectories into wherever the tool discovers skills.
This unofficial project is not affiliated with, endorsed by, or approved by the International Organization for Standardization (ISO). The skills contain original guidance inspired by the ISO 24495 series. They do not reproduce the text of any ISO standard.
Publication status: Part 1 published 2023, Part 2 August 2025, Part 3 May 2026. Parts 4 and 5 remain unpublished drafts (ISO/CD 24495-4 and ISO/WD 24495-5). Their skills are provisional guidance from public scope statements, to be revised when ISO publishes.
Conformance disclaimer. The full ISO 24495 texts are licensed and have not been consulted. These skills are built from public principles, published scopes, and common plain-language practice.
The principles derive from the International Plain Language Federation's freely published framework. Every quantitative rule here (sentence length, paragraph density, legalese, heading depth) is this project's own proxy. No rule is a clause of any standard.
Nothing this plugin produces is a statement of ISO conformance. No certification scheme exists for ISO 24495. "Aligned" in the skills means aligned with this project's interpretation, nothing more.
Read the standard rather than this project's reading of it.
The ISO texts are licensed, so the standards themselves cost money. Everything in this repository is built from the freely published material above.
A rule can only be as right as the text it reads. So the engine parses Markdown the way CommonMark describes it: each line is matched against the containers already open, then against any container it starts. What remains is the block a rule measures. That is what lets a wrapped list item, a quotation continuing without its marker, and a heading written inside a list all be read correctly.
Measured, because a reader reads them:
> [!WARNING];Not measured, because they are not sentences:
table-header reads them;The parser is checked against the CommonMark reference implementation. 302
documents are recorded in skills/iso-24495-4/tests/fixtures/reference-blocks.ts,
and every one that this engine reads differently carries the reason why. The
reference is not a dependency: it was installed outside the repository, asked
once, and its answers kept.
The iso-24495-text-audit skill audits a selected .md, .markdown, or .txt file or directory. It uses the same rule engine as the Part 4 corpus audit. It reports each finding with its file, line, rule, and explanation.
The rules cover sentence length, sentence averages, paragraph length, legalese, and heading depth. They also cover heading-skip, heading-style, acronym-undefined, doublet, prose-enumeration, link-text, image-alt, wordy-phrase, complex-word, double-negative, filler-opening, and table-header.
The last two serve readers who hear or touch a document rather than look at it. A screen reader can list every link with no sentence around it, and an image without alternative text is silence.
The result reports zero findings when no implemented rule fires. That result does not prove the text suits its audience or purpose.
The shipped acronym list stays universal, so a technical vocabulary needs naming per project. Create .iso-24495-4/acronyms.json with the terms your readers already know:
["SQL", "SDK", "CSS", "IDE"]
An unreadable or malformed file leaves the shipped list alone, because an advisory tool must never be the reason a document cannot be checked.
The skill never runs automatically. It requires Bun and does not alter the selected text.
Directory audits skip selected or nested symbolic links and directory junctions. The result reports each skipped entry instead of reading beyond the selected path or following a cycle.
Run bash scripts/check.sh before you push. That script is the whole gate, and GitHub Actions runs the same file on every pull request. A failure on the server therefore reproduces locally with one command. New checks belong in the script, never in the workflow.
bun test always measures coverage. Every measured source file must cover 100% of lines and functions. Test files are excluded from those totals.
The current suite covers 100% of measured source lines and functions.
Bun reports line and function coverage only in this toolchain. We make no branch-coverage claim.
Logic-free composition roots are separate entry files. Tests never import them, so Bun excludes them from the coverage report. End-to-end tests still exercise those entries.
Every new test receives a mutation check. The implementation is deliberately broken, the test must fail, and the correct behaviour is then restored.
This project follows the Google TypeScript Style Guide. It uses kebab-case filenames instead of snake_case and double quotes instead of single quotes. Both deviations match the wider ecosystem, and the repository conventions test enforces the mechanically checkable rules.
This repository is both the tool and a user of the tool. Its shared gate audits every supported document, including this file.
That is deliberate. A plain language project that exempts itself has no claim on anyone else. The Part 4 maturity audit runs against this repository first, and its findings are acted on here first.
All seven skills and the output style ship in v0.6.0. What remains:
iso-24495-4 skill against the published text. Its committee-draft text is not public, so the current maturity model is original guidance.iso-24495-5 skill against the published text.Plain-language checks on script comments were once planned for this release. That plan is cancelled. Comments are fragments, and checking them well would cost more machinery than the advice is worth.
MIT
name: iso-24495-5
description: Provisional sector-specific Plain Language standard for document design (based on ISO/WD 24495-5, under development). Applied when structuring complex documents so readers can find and navigate content through layout, visual hierarchy, and navigation aids.
metadata:
version: "0.6.2"
iso-standard: "ISO/WD 24495-5"
iso-status: "working-draft"Provisional status: ISO 24495-5 is a Working Draft (ISO/WD 24495-5) and is not yet published. This skill is original guidance based on the draft's public scope and established information design practice. It does not reproduce ISO text. Expect revision when the standard is published.
Sources: several rules here paraphrase the Document design pattern library, version 0.6, June 2025. That library is by Waller, van der Waarde, Schriver, Slabbert, Cheek and Linsky, for the International Plain Language Federation. The wording in this skill is ours, and no substantial wording is copied from it. Read the Document design pattern library at the International Plain Language Federation for the original.
Extends ISO 24495-1:2023 for the structural design of complex documents: reports, specifications, guides, contracts presented as documents, and long-form technical or health information. Design works together with linguistic cues to help readers find and navigate a document's structure and content.
Design for readers who are not looking at the page. The intended readers include everyone who uses the document. Some see it, some hear it through a screen reader, and some read it by touch.
A listener has no visual hierarchy. Their structure is the heading tree, the link text and the reading order. Every rule below is written to hold when the document is heard.
Thinking Block Exemption:
<thought>, <thinking>) are 100% exempt from these constraints.Design as Engineering, Not Decoration:
Content Primacy:
Read the matching template before writing any of these document types:
assets/adr-template.md.assets/runbook-template.md.assets/design-doc-template.md.When asked to restructure an existing document:
[Author needed: purpose] and report it as a gap. This covers the overview's content as much as its label. Never supply the missing wording yourself.Do not rewrite prose, change tone, or remove content. Those changes belong to Parts 1 to 3, and so does rewording a sentence to make it fit a slot. A wrong purpose sends a reader confidently in the wrong direction, which is worse than no purpose at all.
Visual Hierarchy Limits:
Navigation Aids:
Chunking & White Space:
Choosing the Right Structure:
Consistent Visual Signalling:
Reaching Readers Who Cannot See the Page:
The Opening Block:
Layering the Detail:
Readers Who Have the Wrong Document:
The Basic plan costs £5 per month and includes 10 GB of storage but no
priority support, whereas the Pro plan is £15 per month with 100 GB and
priority support, and the Team plan, at £40 per month, offers 1 TB,
priority support, and audit logs.
Choose a plan based on storage and support needs:
Plan Price / month Storage Priority support Audit logs Basic £5 10 GB No No Pro £15 100 GB Yes No Team £40 1 TB Yes Yes
Before outputting a complex document, audit against these checks:
评论 (0)
暂无评论,成为第一个评论者吧!