Testing
bonny/WordPress-Simple-History
Guidance for writing and running tests in Simple History, including the Premium add-on.
Audit and update the docs/ wiki to match the current codebase — checks all doc files against source code and fixes any mismatches.
$ npx skills add illegalstudio/elephc --skill doc-update -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install illegalstudio/elephc doc-update --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/illegalstudio/elephc.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/doc-update .claude/skills/doc-update && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "doc-update" agent skill from https://github.com/illegalstudio/elephc/tree/main/.claude/skills/doc-update into .claude/skills/doc-update/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "doc-update", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/illegalstudio/elephc/tree/main/.claude/skills/doc-updateType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add illegalstudio/elephc --skill doc-update -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install illegalstudio/elephc doc-update --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/illegalstudio/elephc.git skills-src && mkdir -p .agents/skills && cp -r skills-src/.claude/skills/doc-update .agents/skills/doc-update && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "doc-update" agent skill from https://github.com/illegalstudio/elephc/tree/main/.claude/skills/doc-update into .agents/skills/doc-update/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "doc-update", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add illegalstudio/elephc --skill doc-update -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install illegalstudio/elephc doc-update --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/illegalstudio/elephc.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/.claude/skills/doc-update .cursor/skills/doc-update && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "doc-update" agent skill from https://github.com/illegalstudio/elephc/tree/main/.claude/skills/doc-update into .cursor/skills/doc-update/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "doc-update", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/illegalstudio/elephc.git --path .claude/skills/doc-update--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add illegalstudio/elephc --skill doc-update -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install illegalstudio/elephc doc-update --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/illegalstudio/elephc.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/.claude/skills/doc-update .gemini/skills/doc-update && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "doc-update" agent skill from https://github.com/illegalstudio/elephc/tree/main/.claude/skills/doc-update into .gemini/skills/doc-update/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "doc-update", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install illegalstudio/elephc doc-updateInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add illegalstudio/elephc --skill doc-update -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/illegalstudio/elephc.git skills-src && mkdir -p .github/skills && cp -r skills-src/.claude/skills/doc-update .github/skills/doc-update && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "doc-update" agent skill from https://github.com/illegalstudio/elephc/tree/main/.claude/skills/doc-update into .github/skills/doc-update/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "doc-update", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add illegalstudio/elephc --skill doc-update -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install illegalstudio/elephc doc-update --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/illegalstudio/elephc.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/.claude/skills/doc-update .opencode/skills/doc-update && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "doc-update" agent skill from https://github.com/illegalstudio/elephc/tree/main/.claude/skills/doc-update into .opencode/skills/doc-update/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "doc-update", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
doc-updateAudit and update the docs/ wiki to match the current codebase — checks all doc files against source code and fixes any mismatches.
Doc Update is an agent skill from illegalstudio/elephc. Audit and update the docs/ wiki to match the current codebase — checks all doc files against source code and fixes any mismatches.
Its SKILL.md is about 2.2k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
It sits in Development, covering Project scaffolding. It works with PHP. The repository describes itself as: A PHP-to-native compiler. Takes a subset of PHP - including eval() - and compiles it directly to native assembly, producing standalone binaries for macOS ARM64, Linux ARM64, and… The licence is MIT.
11 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit 02c517b. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md.
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Doc Update loads about 2.2k tokens when it runs. Until then it costs about 35 tokens; SKILL.md has 971 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from illegalstudio/elephc at commit 02c517b, republished under its MIT licence (© illegalstudio). 971 words, ~2,171 tokens.
.claude/skills/doc-update/SKILL.md (or your agent's skills folder).You are a documentation maintainer for the elephc PHP-to-native compiler. Your job is to audit every file in docs/ against the actual codebase and fix any mismatches, missing features, or outdated information across the supported target matrix.
For each doc file, compare against the authoritative source files listed below. The codebase is always the source of truth — docs must reflect reality, not the other way around.
Source of truth: actual file listing in docs/
The current documentation tree is:
docs/README.mddocs/getting-started/docs/how-to/docs/compiling/ — the compiler CLI (flags, env vars) and the full compilation processdocs/php/docs/beyond-php/docs/internals/Every .md file must have YAML frontmatter with title, description, and sidebar.order. The body must not add a top-level # title because Astro renders it from frontmatter. Do not add hand-written previous/next navigation links. When adding a new page, also add it to the docs/README.md index.
docs/internals/architecture.md — Module map & file countsSource of truth: actual file listing in src/
src/codegen/builtins/{strings,arrays,math,types,io,system,pointers}/, src/codegen/runtime/, and runtime subdirectories including arrays, strings, io, system, exceptions, buffers, pointers, and fibers.(57 files)) must be accurate.builtins/io/), add it to the tree.src/codegen/platform/ and src/codegen/abi/.src/ir_passes/ description covers both the EIR optimization pass driver (driver.rs, identity folding, …) and linear-scan register allocation, not register allocation alone.src/codegen/runtime/data.rs.docs/php/*.md and docs/beyond-php/*.md — Supported featuresSource of truth: src/types/model.rs (PhpType enum), src/types/signatures.rs, src/types/checker/builtins/catalog.rs (canonical builtin registry), src/codegen_ir/lower_inst/builtins/ (active EIR lowering), src/parser/ast.rs (ExprKind, StmtKind). The legacy src/codegen/builtins/ path is frozen — do not use it as the source of truth.
PhpType must be documented in docs/php/types.md or the relevant extension page.src/types/checker/builtins/catalog.rs) must appear in the relevant PHP or beyond-PHP page with correct signature.StmtKind variant must be covered in docs/php/control-structures.md, docs/php/functions.md, docs/php/classes.md, docs/php/namespaces.md, or the relevant extension page.ExprKind variant must be covered somewhere in docs/php/ or docs/beyond-php/.docs/internals/the-lexer.md — Token typesSource of truth: src/lexer/token.rs
Token enum should appear in the token tables.docs/internals/the-parser.md — AST nodesSource of truth: src/parser/ast.rs, src/parser/expr/pratt.rs
ExprKind variant.StmtKind variant.BinOp enum must match the documented operators.Foreach struct fields must be accurate (check for key_var).src/parser/expr/pratt.rs infix_bp().docs/internals/the-type-checker.md — Type systemSource of truth: src/types/model.rs, src/types/checker/, src/types/signatures.rs
PhpType enum shown in the doc must match the actual enum exactly.src/types/checker/mod.rs.docs/internals/the-codegen.md — Code generationSource of truth: src/codegen/expr.rs, src/codegen/expr/, src/codegen/stmt.rs, src/codegen/stmt/, src/codegen/abi/, src/codegen/functions/
ArrayLiteralAssoc exists in ast.rs.Switch/Match exist in ast.rs.src/codegen/abi/.docs/internals/the-runtime.md — Runtime routinesSource of truth: src/codegen/runtime/emitters.rs (the target-aware emit_runtime() entry point) and src/codegen/runtime/
emit_runtime() should appear in the runtime docs.__rt_hash_*) must be documented.docs/internals/memory-model.md — Memory layoutSource of truth: src/codegen/runtime/data.rs, src/codegen/runtime/arrays/hash_new.rs, src/codegen/runtime/fibers/
.comm buffers declared by src/codegen/runtime/data.rs.docs/internals/arm64-assembly.md and docs/internals/arm64-instructions.mdThese rarely change. Only update if new instruction patterns are used in codegen (check for new ARM64 mnemonics in src/codegen/).
docs/compiling/*.md — Compiler CLI and the compilation processSource of truth: src/cli.rs (flag parsing, defaults, env-var overrides), src/pipeline.rs (phase order and timing labels), src/codegen/platform/ (targets), src/ir_passes/ (EIR optimization passes), README.md (Usage section).
docs/compiling/cli-reference.md must document EVERY flag and environment variable parsed in src/cli.rs, with the correct accepted values and default. A new, renamed, or removed flag with no matching entry is a mismatch to fix.docs/compiling/compilation-pipeline.md phase list and labels must match the timings.record_since("…") labels and ordering in src/pipeline.rs.docs/compiling/targets.md must match the supported target matrix and accepted spellings in src/codegen/platform/.docs/compiling/optimization.md must match the optimization controls: --ir-opt/--no-ir-opt (the EIR pass driver in src/ir_passes/), --regalloc, and --null-repr.README.md consistent with this section.ls dir/*.rs | wc -l.[The Runtime](the-runtime.md)) should be added when referencing another page.After updating, provide a summary of changes made:
## Documentation Update Summary
### Files updated
- `docs/internals/architecture.md` — updated file counts, added I/O section
- `docs/internals/the-runtime.md` — added 15 missing routines, added I/O section
- ...
### Files unchanged
- `docs/arm64-instructions.md` — already up to date
- ...© illegalstudio, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in .claude/skills/doc-update of illegalstudio/elephc.
Open the folder on GitHubat commit 02c517b
Doc Update next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Doc Update this skillillegalstudio/elephc | 603 | — | ~2.2k | Automated safety check: Pass | MIT | |
| Testingbonny/WordPress-Simple-History | 317 | — | ~5k | Automated safety check: Notes | None | |
| SpikardGoldziher/spikard | 123 | — | ~799 | Automated safety check: Pass | MIT | |
| Developing With Fortifyslimani-dev/muraqib | 128 | — | ~1.3k | Automated safety check: Pass | MIT | |
| WooCommerce Code Reviewwoocommerce/woocommerce | 11k | 3 repos | ~1.1k | Automated safety check: Pass | Custom licence | |
| Nx Generatenomcopter/react-mosaic | 4.8k | 7 repos | ~1.9k | Automated safety check: Pass | Custom licence |
bonny/WordPress-Simple-History
Guidance for writing and running tests in Simple History, including the Premium add-on.
Goldziher/spikard
Scaffold Spikard projects and generate code from OpenAPI, AsyncAPI, OpenRPC, GraphQL, and Protobuf schemas using the Spikard CLI or its MCP server.
slimani-dev/muraqib
Laravel Fortify headless authentication backend development.
woocommerce/woocommerce
Reviews WooCommerce code changes against the project's standards, flagging backend PHP architecture, naming, documentation, data integrity and testing violations.
nomcopter/react-mosaic
Generate code using nx generators. An agent skill from nomcopter/react-mosaic.
DavidObando/gsharp
Forces the laziest solution that actually works, simplest, shortest, most minimal.
illegalstudio/elephc
Audit and prepare Elephc's numbered release changelog from the last published GitHub release through an exact candidate main SHA.
illegalstudio/elephc
Regenerate and audit Elephc's generated builtin documentation from the shared builtin contract plus builtin!
illegalstudio/elephc
Run RustRover IDE inspections on the codebase and produce a structured report of errors, warnings, and code quality issues.
illegalstudio/elephc
Pre-release verification that first requires a complete release-changelog audit, then checks README, docs, roadmap, test coverage, examples, and the full test suite for regressions.
Works with
Categories
Audit and update the docs/ wiki to match the current codebase — checks all doc files against source code and fixes any mismatches. Doc Update is an agent skill from illegalstudio/elephc. Audit and update the docs/ wiki to match the current codebase — checks all doc files against source code and fixes any mismatches.
Doc Update fits situations like: tasks that involve Project scaffolding.
Run `npx skills add illegalstudio/elephc --skill doc-update -a claude-code`. Or copy the skill folder (.claude/skills/doc-update in illegalstudio/elephc) into .claude/skills/doc-update in your project. Claude Code loads it when a task matches its description.
Run `npx skills add illegalstudio/elephc --skill doc-update -a codex`. Or copy the skill folder (.claude/skills/doc-update in illegalstudio/elephc) into .agents/skills/doc-update in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add illegalstudio/elephc --skill doc-update -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/doc-update, .gemini/skills/doc-update, .github/skills/doc-update and .opencode/skills/doc-update in your project.
SKILL.md names no scripts, command-line tools or credentials: Doc Update is instructions for the agent only.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Doc Update is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 2.2k tokens (SKILL.md is roughly 8.7k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Doc Update: Testing (bonny/WordPress-Simple-History, 317 stars), Spikard (Goldziher/spikard, 123 stars), Developing With Fortify (slimani-dev/muraqib, 128 stars) and WooCommerce Code Review (woocommerce/woocommerce, 11k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
illegalstudio (a GitHub organization) maintains it in illegalstudio/elephc, which has 603 GitHub stars. The repository holds 5 skills in this directory. The repository was last updated on October 8, 2026.
Source: illegalstudio/elephc on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.