# Official Skills

Agenvoy publishes ten official skills under [github.com/agenvoy](https://github.com/agenvoy), one repository each, named `skill-<name>`. Each is a directory with a `SKILL.md` that any harness loading `SKILL.md` skills can run, Agenvoy included. Nine of them install from the TUI; `extract-official-guide` is cloned by hand.

| Skill | What it does | Invoke |
|---|---|---|
| [code-reviewer](https://github.com/agenvoy/skill-code-reviewer) | Reviews source code and writes a report of verified issues and suggestions | `/code-reviewer [PROJECT_PATH] [OUTPUT_FILE]` |
| [commit-generate](https://github.com/agenvoy/skill-commit-generate) | Writes a bilingual commit message from the staged diff | `/commit-generate` |
| [go-test-generate](https://github.com/agenvoy/skill-go-test-generate) | Generates co-located Go tests for one folder, runs them green, and reports coverage | `/go-test-generate <dir>` |
| [go-vuln-scan](https://github.com/agenvoy/skill-go-vuln-scan) | Scans a Go project with five scanners and merges the findings into one report | `/go-vuln-scan` |
| [prompt-optimize](https://github.com/agenvoy/skill-prompt-optimize) | Compresses prompts and rewrites tool and parameter descriptions without losing meaning | `/prompt-optimize <PATH>` |
| [readme-generate](https://github.com/agenvoy/skill-readme-generate) | Generates bilingual README, doc, and architecture files from source code | `/readme-generate` |
| [seo-optimize](https://github.com/agenvoy/skill-seo-optimize) | Researches and applies SEO, AEO, and GEO fixes to a project or its live site | `/seo-optimize [PROJECT_PATH] [--plan] [--reset]` |
| [version-generate](https://github.com/agenvoy/skill-version-generate) | Builds a changelog from the latest tag to HEAD and picks the next version | `/version-generate` |
| [wiki-generate](https://github.com/agenvoy/skill-wiki-generate) | Generates a bilingual documentation site from source code | `/wiki-generate` |
| [extract-official-guide](https://github.com/agenvoy/skill-extract-official-guide) | Archives vendor prompting guides and extracts per-model guide files | `/extract-official-guide` |

## Install

### From the TUI

`/skill` → `system` opens a multi-select list of the nine installable skills. A checked skill that is not installed is shallow-cloned from `https://github.com/agenvoy/skill-<name>.git` into `~/.config/agenvoy/skills/.system_design/<name>` (two-minute timeout per clone); an unchecked skill that is installed is deleted. The scanner rescans when the list closes, and the skill appears in the slash picker with the `system` source label.

An installed skill is not pulled again when it stays checked. To get the latest version, uncheck it, confirm, then check it again.

Skills under `.system_design` cannot be removed with `DELETE /v1/skill`; use `/skill` → `system` instead. See [Skill System](/skill-basics) for every scanned directory.

### By hand

`extract-official-guide` is not in the TUI list. Clone it into any scanned directory, for example:

```bash
git clone https://github.com/agenvoy/skill-extract-official-guide.git \
    ~/.agents/skills/extract-official-guide
```

Any of the other nine can be installed the same way. A hand-cloned copy is updated with `git pull` inside its directory.

## Skills

### code-reviewer

Reviews a project and writes a report only when it finds something real.

- Go is parsed with a `go/ast` helper, Python with `ast`, and JS/TS with a structural scan plus the project's own eslint; a missing toolchain falls back to string scanning and the report says so
- Every issue is re-checked against the source before it enters the report, and unconfirmed ones are dropped
- Code is checked against the `CLAUDE.md` / `AGENTS.md` files in its directory and parents, quoting the rule it breaks
- No findings means no directory and no file

Needs Python 3.10+; Go 1.21+ and the project's eslint are optional.

### commit-generate

Writes an English and Traditional Chinese commit message from `git diff --cached` only, and stops when nothing is staged.

- A change is marked `breaking` only when outside users lose the old usage with no compatibility path
- Suggests splitting the commit only when each topic builds on its own
- Flags same-module files that were left unstaged

Needs Git and a Git repository.

### go-test-generate

Generates external `<pkg>_test` tests next to the source files of one required folder, runs them, and fixes them until they pass.

- Skips files with staged, unstaged, or untracked changes
- Up to 3 repair attempts; a confirmed source bug gets a minimal fix marked `SOURCE MODIFIED`
- Reports total and per-function coverage for the folder without touching the working tree

### go-vuln-scan

Runs Semgrep, gosec, govulncheck, Trivy, and Gitleaks, all in SARIF, and merges them into one deduplicated `report.md`.

- Scans isolated copies of Git-tracked files only, so untracked `.env` files are never read
- Every finding is traced to its data source and judged High, Medium, Low, false positive, or unconfirmed
- A baseline matched by code, not line numbers, blocks PRs only on new findings

Needs Python 3.9+, Git, the Go toolchain, Homebrew, and network access; ZAP and SonarQube are optional.

### prompt-optimize

Shortens system prompts, skills, and agent instructions without losing meaning, and rewrites tool definitions.

- A rule stated several times collapses into one statement
- Tool descriptions become three lines: what it returns, when users ask for it, and which neighbor tool to use instead
- Trigger wording and `{{.Var}}` placeholders stay byte-identical; byte counts are measured before and after

Needs Git (the target file must be in a repository); the Go toolchain is optional.

### readme-generate

Generates `README`, `doc`, and `architecture` in English and Traditional Chinese from the project's source code.

- `analyze_project.py` extracts exported types, signatures, and dependencies for Python, Go, JS, and TS
- Existing files are checked against the skill's breaking-change list and patched in place
- The one-liner shared by the README, GitHub description, and topics comes from `/seo-optimize`

Needs Python 3.10+ and Git; an authenticated `gh` CLI is optional.

### seo-optimize

Researches current search and AI-answer guidance, then plans and applies fixes to a project or its deployed site.

- Without a report from the last 3 days, it re-checks primary sources from Google, OpenAI, Anthropic, IETF, and IANA
- Measures keyword heat against at least 3 competitors with Google Trends before a phrase goes into a title
- Crawls the live site, and uses Search Console and GA4 data when available to protect pages that already bring traffic
- Waits for confirmation before editing, and runs `gh repo edit` only after consent

Needs Python 3.10+, network access, an authenticated `gh` CLI, and an interactive choice tool in the harness.

### version-generate

Builds a changelog from the net diff between the latest remote tag and HEAD, and picks the next SemVer version.

- Changes added then removed never appear
- A breaking entry counts only if the net diff is still incompatible, and it must carry migration guidance
- Each entry links its PR, author, and commits

Needs Git with `user.name` and `user.email` set; `gh` is optional.

### wiki-generate

Turns a project's source code into a bilingual documentation site that compiles to static HTML for Cloudflare Workers. This site is built with it.

- Each topic becomes an English and Chinese Markdown pair with sidebar search, a table of contents, and a 404 page
- SEO values come from `/seo-optimize` and are written to `seo.json`, which the build turns into meta tags, JSON-LD, the sitemap, and `llms.txt`
- `check_coverage.py` lists public symbols the docs never mention and the version each removed symbol disappeared in

Needs Python 3.10+, Node.js and npm, Git, and the `seo-optimize` skill (cloned automatically when missing).

### extract-official-guide

Downloads the prompting guides from Anthropic, OpenAI, and Google with their retrieval date and source URL, then extracts per-model guide files under one shared rule set.

- Every removed rule cites the text it duplicates or conflicts with
- Overwriting an archive or output requires a diff and explicit approval
- The default target is Agenvoy's `configs/prompts/system_prompt/official_guides/`; `--to` points it at another repository

Needs network access, the Go toolchain, and Python 3.
