dyz-gongwen-skills
公文写作 Skills|AI 公文写作助手:防编造、守保密、GB/T 9704 一键排版,覆盖 22 种文书,支持 Claude Code / Codex / Cursor
翻訳待ち
Portable skills, adapters, and safety-focused execution patterns for AI agents
翻訳待ち
Loading the full README.
Read the full README ↗A portable operating layer for AI agents: shared skills, recoverable configuration, and safer execution harnesses.
Generated with quokkify/ci-kit at v3.2.1. Run copier update to apply future template changes; the toolkit owns the versions inside the workflows it renders, and Renovate updates the remaining action references independently.
The project is built around one idea: an agent should be able to learn once, move between providers, recover its setup, and execute through explicit safety boundaries.
Learn → Preserve → Execute safely
This repository is the public, canonical source for reusable workflows. Every portable skill lives once under skills/ and can be consumed by Hermes, Claude Code, Codex, or another compatible agent without maintaining provider-specific copies.
SKILL.md packages;Portable skills describe how to work; a global adapter decides what a runtime loads before any skill runs. This repository publishes that layer as templates and genericized defaults only: a runtime-neutral global instruction base plus cross-runtime lifecycle hook scripts under adapters/shared/, and thin per-runtime wiring under adapters/claude/ and adapters/codex/.
Publishable means: no real credentials, no employer identifiers, no machine paths, no pinned personal model choices, and no session or transcript state. See ADR-0001 for the decision that reversed the earlier "no global configuration" boundary and for the list of content that remains forbidden.
Your real personal configuration needs a different trust boundary. Employer conventions, project trust lists, credentialed MCP servers, employer-only skills, and machine paths live in a separate private overlay repository, merged over the public templates at install time, alongside backups with restore scripts and a version/source manifest.
The vault is intentionally not part of this public repository. Secrets, memories, transcripts, runtime databases, machine-specific settings, and raw agent-home snapshots must never be promoted here. See Project Architecture for the boundary and recovery model.
Skills describe how to work; a harness controls how work is executed. The harness layer connects agent runtimes to typed tools, validation, permissions, observations, approval gates, retries, and recovery contracts.
The included agent-harness-design skill captures the design principles: make correct actions easy to express, unsafe actions hard to invoke accidentally, and failures easy to diagnose.
| Layer | Status | Where it lives |
|---|---|---|
| Portable skill hub | Available | skills/ |
| Provider adapters | Available | adapters/ |
| Genericized global adapter templates | Available; installed by scripts/bootstrap.sh | adapters/shared/, adapters/claude/, adapters/codex/ |
| Harness design guidance | Available | agent-harness-design |
| Validation and safe synchronization | Available | scripts/, tests/, CI |
| Private overlay and configuration backup vault | Separate deployment | Deliberately outside this public repository |
skills/
├── <category>/<skill-name>/SKILL.md # canonical entry point
├── <category>/<skill-name>/references/ # supporting guidance
├── <category>/<skill-name>/scripts/ # deterministic helpers
└── <category>/<skill-name>/templates/ # reusable templates
adapters/
├── shared/ # runtime-neutral global instruction base, lifecycle hooks, git hooks
├── claude/ # Claude Code connection notes and per-runtime templates
├── codex/ # Codex project instructions and per-runtime templates
└── hermes/ # Hermes configuration example
docs/ # architecture, decision records, catalog, and guides
scripts/ # install, validation, and safe-sync helpers
tests/ # dependency-free regression tests
skills/ is the only source of truth for portable skills; a skill body must never be duplicated into an adapter. adapters/ holds tool-specific configuration and genericized global templates. Your real personal, employer, and machine-specific configuration belongs in the separate private overlay, which is not a directory inside this repository. Claude Code discovers project skills from .claude/skills, while Codex uses .agents/skills—not .codex/skills.
Clone the repository:
git clone https://github.com/quokkify/skills.git
cd skills
./scripts/bootstrap.sh --provider claude --install-skills
This installs the shared hooks, Claude settings, and managed CLAUDE.md block with timestamped backups. Claude Code requires oh-my-claudecode and superpowers, and Codex requires superpowers (ADR-0003; on Claude Code superpowers owns the process and oh-my-claudecode the agents, ADR-0005); the installer warns when one is missing. Add --overlay /path/to/private-overlay to layer private files after the public base. The overlay is read in place and is never copied into this checkout.
This is the beginning of the README. Read the rest at the original. Read the full README ↗