pw-docs-architect

pw-docs-architect is a skill for Claude Code, Codex from trk/processwire-boost. It costs 40 tokens per session (1,917 once invoked), scanned A, original, MIT.

A documentation guide for ProcessWire projects, a PHP content-management system. It covers module documentation, package README files, architecture guides, and command-line references.

In plain words
What is it for?
Use it to write or revise ProcessWire module docs, package READMEs, architecture explanations, and CLI command references.
Why use it?
It provides a context-specific way to create or update technical documentation without treating ProcessWire projects like generic software packages.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions AGENTS.md.

Good fit Use it to write or revise ProcessWire module docs, package READMEs, architecture explanations, and CLI command references.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/trk/processwire-boost/pw-docs-architect
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add trk/processwire-boost --skill pw-docs-architect
Clone the repo
git clone --depth 1 https://github.com/trk/processwire-boost

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for pw-docs-architect

README.md
[![agentmods](https://agentmods.dev/badge/skills/trk/processwire-boost/pw-docs-architect/github.svg)](https://agentmods.dev/skills/trk/processwire-boost/pw-docs-architect)
Your own site
<a href="https://agentmods.dev/skills/trk/processwire-boost/pw-docs-architect"><img src="https://agentmods.dev/badge/skills/trk/processwire-boost/pw-docs-architect/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for pw-docs-architect

Your own site · 80×15
<a href="https://agentmods.dev/skills/trk/processwire-boost/pw-docs-architect"><img src="https://agentmods.dev/badge/skills/trk/processwire-boost/pw-docs-architect.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,917 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00040 $0.01917
Opus 5.5 $0.00016 $0.00767
Sonnet 5.5 $0.00008 $0.00383
Haiku 4.5 $0.00004 $0.00192

Measured 12d ago against content hash c6157915cb0c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

pw-docs-architect scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

resources/boost/skills/pw-docs-architect/SKILL.md · 153 lines

How it starts

The opening of the file, as written. The whole thing — 153 lines — stays where its author put it; the contents beside it link to each section on GitHub.

ProcessWire Docs Architect

Author accurate, developer-grade documentation (README.md, API.md, [Type]Field.php PHPDoc companions, and AGENTS.md) for ProcessWire modules, packages, and projects.

When to Use

  • Writing or updating a ProcessWire module's README.md or API.md.
  • Documenting a Fieldtype module and its [Type]Field.php IDE settings class.
  • Documenting vendor/bin/wire CLI commands, URL hook endpoints, or MCP tools.

Phase 1: Source-of-Truth Discovery

Inspect the implementation before writing a single line of documentation:

  1. Run pw_schema_read and pw_module_list (MCP) or inspect getModuleInfo() and configure() in the target source files.
  2. Check existing API.md conventions via wire/core/Tools/WireApiDocs/HOWTO-API.md or php index.php docs get-text <Class>.
  3. Verify every public/hookable PHP method signature, parameter type, and default value directly from source or ReflectionClass (or php index.php docs method <Class> <method>), and every CLI command option from configure().

Phase 2: Document Templates by Artifact Type

1. Module API.md Reference (Upstream ProcessWire Standard)

Place API.md in the module root directory alongside the .module.php file:

# FieldtypeMyCustom

Stores normalized decimal prices with currency code metadata.

## Value type

`MyCustomValue` (object) when formatted or unformatted.

## Getting and setting values

```php
// Reading
$price = $page->price;
echo $price->amount; // 125.50
echo $price->currency; // "EUR"

// Writing
$page->of(false);
$page->price->amount = 199.00;
$page->price->currency = 'EUR';
$page->save('price');
```

## Selectors

```php
// Query by amount (default column) or currency subfield
$items = $pages->find('template=product, price>=100, price.currency=EUR, limit=25');
```

## Output / markup

```php
echo $page->price; // Outputs formatted string e.g. "€199.00" when $page->of(true)
```

## Notes

- Database schema uses `DECIMAL(12,2)` for `data` and `CHAR(3)` for `currency`.
- Empty values return a blank `MyCustomValue` with `amount = 0.0`.

Read the full file on GitHub · 153 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago Changed · +29 lines c6157915cb0c
  2. 14d ago Changed de7ac44e5683
  3. 1mo ago Changed · -211 lines · +9 tokens per session 9b364084eaff
  4. 1mo ago Changed · +22 lines d286df4e02ce
  5. 3mo ago First seen · 313 lines · 31 tokens per session scan A 6662deef41d5

Subscribe to this mod's changes

pw-docs-architect is a skill published in the GitHub repository trk/processwire-boost (5 stars, last pushed today), licensed MIT. It adds 40 tokens to every session and 1,917 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

pw-docs-architect compared with skills from other repositories

pw-docs-architect next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
pw-docs-architecttrk/processwire-boostSkill5todayMITA40Claude Code, Codex
sandbox-stablecloudflare/skillsSkill3.6k6d agoApache-2.0A39Claude Code
durable-objectscloudflare/skillsSkill3.6k6d agoApache-2.0A22Claude Code
sandbox-nextcloudflare/skillsSkill3.6k6d agoApache-2.0A39Claude Code
cloudflarecloudflare/skillsSkill3.6k6d agoApache-2.0A103Claude Code
cloudflare-email-servicecloudflare/skillsSkill3.6k6d agoApache-2.0A21Claude Code
workers-best-practicescloudflare/skillsSkill3.6k6d agoApache-2.0A25Claude Code