ワンクリックで
v2-docs-review
Review individual V2 transaction MDX documentation for coverage and accuracy
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Review individual V2 transaction MDX documentation for coverage and accuracy
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Decide how to document complementary tools and support repos (CLI, SDK, templates, bots, dev/agent repos) so they drive adoption and contributions without competing with the products. Use when adding or reviewing docs for anything that is not itself a sold product, or when deciding where a tool belongs in the IA.
Track guide writing progress, manage blockers, and coordinate the publish pipeline for Andamio documentation guides.
Orchestrate V2 transaction documentation by tracking all endpoints and delegating analysis to /analyze-transaction
Orchestrate V2 transaction MDX documentation coverage and quality tracking
Parse decoded V2 transaction CBORs from Atlas API and create/update documentation YAML files
| name | v2-docs-review |
| description | Review individual V2 transaction MDX documentation for coverage and accuracy |
Orchestrator Skill: /v2-docs-audit tracks overall documentation coverage.
Source of Truth: YAML files in public/yaml/transactions/v2/
Output: Updated MDX files in content/docs/protocol/v2/transactions/
Identify Transaction
course.student.enroll)Gather Sources
Perform Review
Generate Report
Offer Actions
/v2-docs-review course.student.enroll
Or with action:
/v2-docs-review course.student.enroll --fix
/v2-docs-review course.student.enroll --create
/v2-docs-review course.student.enroll --migrate
## Review Checklist
title - Clear, descriptive titledescription - One-line summarytx_file - Points to correct YAML file path/v2/tx/{system}/{role}/{action})costs.txFeecosts.protocolFeecosts.minUtxorequest_bodydesign_notes---
title: "{Transaction Title}"
description: "{One-line description}"
tx_file: "{path/to/yaml}"
---
# {Transaction Title}
{Brief description of what this transaction does.}
## API Endpoint
\`\`\`
POST /v2/tx/{system}/{role}/{action}
\`\`\`
## Cost Breakdown
| Component | Amount |
|-----------|--------|
| Transaction Fee | ~{X.XX} ADA |
| Protocol Fee | {X} ADA |
| {Deposit Type} | ~{X.XX} ADA |
| **Total Wallet Delta** | **~{X.XX} ADA** |
{Notes about deposits being recoverable, etc.}
## Request Body
\`\`\`json
{
"field1": "value1",
"field2": "value2"
}
\`\`\`
{Description of fields, which are required/optional.}
## Transaction Pattern
**{Pattern Name}** - {Brief description of what happens}.
## Inputs
| ID | Type | Validator | Description |
|----|------|-----------|-------------|
| {input_id} | script/wallet | {validator-name} | {description} |
## Outputs
| ID | Type | Validator | Value | Description |
|----|------|-----------|-------|-------------|
| {output_id} | script/wallet | {validator-name} | ~{X.XX} ADA + {tokens} | {description} |
## Minting Operations
| Policy | Token | Quantity | Description |
|--------|-------|----------|-------------|
| {policy-name} | {token-name} | {qty} | {description} |
## Datum Changes
### Before
\`\`\`json
{
"constructor": N,
"fields": [...]
}
\`\`\`
### After
\`\`\`json
{
"constructor": N,
"fields": [...]
}
\`\`\`
## Reference Inputs
| ID | Description |
|----|-------------|
| {ref_id} | {description} |
## Notes
- {Key insight 1}
- {Key insight 2}
- {Caveat or important behavior}
## Path Rules
MDX file path must match API endpoint structure:
/v2/tx/{system}/{role}/{action}content/docs/protocol/v2/transactions/{system}/{role}/{action}.mdxPoints to YAML source (relative to public/yaml/transactions/v2/):
public/yaml/transactions/v2/{system}/{role}/{action}.yaml{system}/{role}/{action}.yaml| Transaction | MDX Path | tx_file |
|---|---|---|
| course.student.assignment.commit | course/student/assignment/commit.mdx | course/student/assignment/commit.yaml |
| course.teacher.assignments.assess | course/teacher/assignments/assess.mdx | course/teacher/assignments/assess.yaml |
| global.general.access-token.mint | global/general/access-token/mint.mdx | global/general/access-token/mint.yaml |
When a file exists at the wrong path:
When creating new directories, ensure each has:
index.mdx - Overview page for that sectionmeta.json - Navigation configurationExample meta.json:
{
"title": "Student",
"pages": ["enroll", "assignment", "credential"]
}
For nested actions (e.g., credential/claim), the parent becomes a directory:
course/student/
├── index.mdx
├── meta.json
├── enroll.mdx
├── assignment/
│ ├── index.mdx
│ ├── meta.json
│ └── action.mdx
└── credential/
├── index.mdx
├── meta.json
└── claim.mdx
## Review Report Format
═══════════════════════════════════════════════════════════════
V2 DOCUMENTATION REVIEW: {transaction.id}
═══════════════════════════════════════════════════════════════
MDX Path: {current_path} → {expected_path}
YAML Source: {yaml_path}
Status: {status}
SECTION REVIEW
───────────────────────────────────────────────────────────────
[✓] Frontmatter - Complete
[✓] API Endpoint - Correct
[✗] Cost Breakdown - Fee amount incorrect (0.35 vs 0.27 ADA)
[✓] Request Body - Current
[!] Inputs - Missing wallet-inputs entry
[✓] Outputs - Complete
[✓] Minting - N/A
[!] Datum Changes - Missing after state
[✓] Reference Inputs - Complete
[✗] Notes - Outdated information
ISSUES FOUND
───────────────────────────────────────────────────────────────
1. [ERROR] Cost Breakdown: txFee should be 276274 lovelace (~0.27 ADA)
2. [WARN] Inputs: Missing wallet-inputs entry from YAML
3. [WARN] Datum: Missing "after" datum structure
4. [ERROR] Notes: Mentions old API endpoint format
RECOMMENDED ACTIONS
───────────────────────────────────────────────────────────────
[ ] Migrate file to correct path
[ ] Update cost breakdown with accurate fees
[ ] Add missing input entry
[ ] Add datum after state
[ ] Update notes with current info
To apply fixes: /v2-docs-review {transaction.id} --fix
═══════════════════════════════════════════════════════════════
## Important Notes
npm run dev to verify navigation works/v2-docs-audit - Orchestrator for overall coverage/analyze-transaction - Creates YAML from CBOR/transaction-audit - Tracks CBOR analysis progress