一键导入
write-project-docs
Use when human-readable docs are needed. Generates README, onboarding, and deployment guides from code/architecture.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when human-readable docs are needed. Generates README, onboarding, and deployment guides from code/architecture.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when adding a feature to a production project. Full cycle: brainstorm, plan, implement, docs.
Use when fixing a bug in a production project. Full cycle: diagnose, fix, regression test, review, docs.
Use to batch-validate all skills in this plugin. Runs deterministic repo-wide static checks (frontmatter, command delegation, cross-references, Architect model= rule, orphan references, README<->MemPalace sync) and reports pass/fail per skill.
Use when creating a new project. Bare AI shell by default; interactive menu adds docs / backend-infra / agents on demand.
Use after init-project to fill docs/product/start-project.md with AI research on competitors, monetization, valuation, and marketing.
Use when unsure which skill to use. Lists all vladyslav skills, workflow, and integration.
| name | write-project-docs |
| description | Use when human-readable docs are needed. Generates README, onboarding, and deployment guides from code/architecture. |
Type: Engineer (light)
Generate three human-readable documents for team members, new developers, and stakeholders:
README.md (project root)docs/onboarding.mddocs/deployment.mdThese are NOT AI-context documents — they are for humans. No mentions of Claude, CLAUDE.md, skills, or plugin internals.
This was a Heavy Engineer skill until v3.1.0 (inline in Opus). v4.2.0 fans the three independent doc generations out to parallel sonnet subagents — the Opus main session keeps pre-flight, the no-AI-mention gate, and the merge. See _shared/references/orchestration-conventions.md.
Read CLAUDE.md from pwd. If missing → STOP: "No CLAUDE.md found — are you in the right project?" and extract the project name + primary stack + platform (web / iOS / Android / cross-platform / CLI / plugin / etc.).
Verify input files:
CLAUDE.md, docs/architecture/system.mddocs/architecture/api.md, existing README.md (preserve any custom sections found there), deployment configs found in the treeFor each missing required file, ask the user:
"Required input
<path>is missing. Options: (a) run/vladyslav:ingestfirst to populate it / (b) create stub now / (c) abort"
Scan for deployment configs. Look at the project tree for Dockerfile, docker-compose.yml, .github/workflows/*.yml, vercel.json, fly.toml, railway.toml. Note any found — they shape the deployment guide.
Read the FULL content of every available input file (do not truncate). The output must be accurate to the actual code state.
The three documents are independent — none references another's output. Dispatch them as three Agent calls in a single message so they run concurrently, each model: "sonnet" (pure generation from decided inputs — see _shared/references/orchestration-conventions.md).
Give each subagent: the relevant input content from Step 1, its structure block below, the preservation rule (merge, don't clobber user-edited sections of an existing file), and the no-AI-mention rule. Each subagent writes its own file.
After all three return, the Opus main session runs the no-AI-mention gate (grep the three outputs for Claude / CLAUDE.md / .claude/ / "AI" and fix any leak) before rendering the summary. This gate stays in the main session — never delegated.
README.md)Write README.md at the project root. If it exists, preserve any custom sections; merge the rest.
Structure:
# <Project Name>
<One-paragraph description — what the project does, who it's for>
## Run locally
\`\`\`bash
# install dependencies
# start dev server / build app
\`\`\`
## Project structure
\`\`\`
<key directory>/ # purpose
<key directory>/ # purpose
\`\`\`
## API overview (if backend project)
- `GET /endpoint` — purpose
- `POST /endpoint` — purpose
## Deployment
See [docs/deployment.md](docs/deployment.md).
Do NOT include Claude, CLAUDE.md, .claude/, or "AI" anywhere in the README.
docs/onboarding.md)Write docs/onboarding.md. Preserve user edits where reasonable.
Structure:
# Onboarding Guide
For new developers joining the project.
## Prerequisites
- <tool A> v<X.Y> — <reason>
- <tool B> v<X.Y> — <reason>
## Setup
1. Clone the repo
2. Copy `.env.example` → `.env` and fill values
3. Install dependencies (`<command>`)
4. Run locally (`<command>`)
## Architecture overview
<2-4 paragraphs explaining the system at a high level — derived from docs/architecture/system.md, summarised for a newcomer>
## Key files to know
- `<path>` — <purpose, why it matters>
## Development workflow
- Branching strategy: <e.g. trunk-based, feature branches, gitflow>
- PR review: <process>
- Code style: <linter / formatter>
## Running tests
\`\`\`bash
<test command>
\`\`\`
## Who to ask
- `<name / team>` for `<topic>` ← placeholder if unknown
docs/deployment.md)Write docs/deployment.md. Preserve user edits.
Structure:
# Deployment Guide
## Environment requirements
- Runtime: <Node vX / Python vX / Swift vX / etc.>
- Infrastructure: <cloud provider, services in use>
- External dependencies: <DB, Redis, S3, etc.>
## Deploy steps
1. Step one
2. Step two
3. Step three
## Environment variables
| Variable | Purpose | Example value |
|----------|---------|---------------|
| `VAR_NAME` | What it does | `example_value` |
## Rollback procedure
<concrete steps to roll back a bad deploy>
## Monitoring / logging
- Logs: <where to find them>
- Metrics dashboard: <URL or "not yet wired">
- Alerting: <PagerDuty / Slack / "not yet wired">
Derive concrete deploy steps from the deployment configs found in Step 0.4. For projects without any deployment config, fill the file with stub guidance ("no deployment configuration found — fill manually once chosen").
Render:
✓ write-project-docs complete
Files: README.md, docs/onboarding.md, docs/deployment.md
Action per file: <created | updated>
Deployment configs detected: <list, or "none — manual fill required">
Warnings: <warnings, if any>
Next: /vladyslav:pre-release-check — verify before deploying
sonnet subagents — wall-clock ~3× faster and cheaper than three sequential opus passes, with no contract boilerplate.README.mddocs/onboarding.mddocs/deployment.md