write-docs

A command that writes a VitePress documentation page, with VitePress being a tool for building documentation websites. It requires matching Korean and English versions and checks the project's documentation settings first.

In plain words
What is it for?
Use it to create a new VitePress page while following the project's rules for source language, translations, code blocks, navigation, and platform-neutral wording.
Why use it?
It gives documentation a consistent structure, language order, terminology, and placement in the existing site.

Command for Claude Code

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/jo-duchan/tapflow/write-docs
Clone the repo
git clone --depth 1 https://github.com/jo-duchan/tapflow

Made for: Claude Code.

Per session 59 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,746 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00059 $0.01746
Opus 5 $0.00030 $0.00873
Sonnet 5 $0.00012 $0.00349
Haiku 4.5 $0.00006 $0.00175

Measured yesterday against content hash 26055aad9087, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

write-docs scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured yesterday.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.claude/commands/write-docs.md · 152 lines

How it starts

The opening of the file, as written. The whole thing — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.

아래 주제에 대한 VitePress 문서 페이지를 작성한다: $ARGUMENTS

사전 준비

작성 전 아래 파일을 반드시 읽는다:

  • docs/AGENTS.md — VitePress 코드블럭 규칙, CSS 주의사항
  • docs/.vitepress/config.ts — 현재 사이드바 구조 파악

작성 규칙

언어

KO가 소스 언어다. 항상 KO를 먼저 작성하고, EN은 KO에서 번역한다. 두 버전의 내용·구조·섹션이 일치해야 한다. 한쪽에만 있는 섹션을 만들지 않는다.

한국어 작성 원칙
  • 완전한 문장으로 쓴다. "수동 업로드 없이."처럼 조각 문장을 독립 문장으로 쓰지 않는다. 앞 문장에 이어 쓰거나 부사절로 처리한다.
  • 자연스러운 어순: 주어 → 부사어 → 서술어 순서를 따른다. "CI에서 빌드를 올리면 팀원 전체가 App Center에서 바로 확인할 수 있습니다.""팀원 전체가 별도 설치 없이 확인할 수 있습니다. Xcode 없이."
  • 독자는 이미 tapflow 사용자다. tapflow가 무엇인지, 왜 쓰는지 다시 설명하지 않는다. 이 페이지에서 달라지는 것만 말한다.
  • "QA팀" 대신 "팀원", "팀 전체"를 쓴다. tapflow는 QA만이 아니라 PO, PM, 디자이너, 백엔드 모두가 사용한다.
영어 작성 원칙
  • Em dash 뒤 단문 처리(— no manual uploads)는 영어에서 자연스럽다. 허용.
  • 한국어에서 조각 문장으로 쓰면 안 되는 표현도 영어 em dash 패턴으로는 쓸 수 있다.
  • 독자 컨텍스트는 KO와 동일 — 이미 tapflow를 아는 사용자.

플랫폼 중립 언어

iOS/Android 양쪽 지원 기능을 다룰 때 특정 플랫폼 도구명을 쓰지 않는다.

Xcode, Xcode 설치, no Xcode IDE, 별도 도구 설치, no IDE
Android Studio 개발 환경, IDE
xcodebuild (iOS 전용 섹션에서만 허용)

예외: 해당 섹션이 실제로 iOS 전용 또는 Android 전용인 경우 플랫폼명 명시 가능.

tapflow 두 가지 테스트 모드

문서가 수동 테스트를 다룰 때, AI Agent 경로를 별도 기능으로 명확히 구분한다.

::: info Two testing paths
This guide covers the **manual review path**: CI delivers the build; people do the testing.

For automated testing where an LLM agent controls the simulator, see [MCP in CI/CD](/guide/mcp-ci). That is a separate, experimental feature.
:::

KO:

::: info 두 가지 테스트 경로
이 가이드는 **수동 리뷰 경로**를 다룹니다. CI가 빌드를 전달하고, 팀원이 직접 테스트하는 방식입니다.

LLM 에이전트가 시뮬레이터를 자동으로 조작하는 방식은 [CI/CD에서 MCP 활용](/ko/guide/mcp-ci)을 참고하세요. 이는 별도의 실험적 기능입니다.
:::

빌드 상태 표현

Status EN KO
Done Stakeholders approved 이해관계자 승인 완료
Rejected Issues found, needs fixes 문제 발견, 수정 필요
In Progress Ready for review 리뷰 준비 완료
Backlog Not yet ready 준비 전

VitePress 코드블럭 규칙 (docs/AGENTS.md 요약)

  • sh/bash 블럭에 <placeholder> 쓰지 않는다 — shiki가 HTML 태그로 파싱해 색이 깨진다. 플레이스홀더는 테이블 셀 인라인 코드로만 표기한다.
  • 섹션 구분에 --- 쓰지 않는다 — h2 border-top이 이미 구분선 역할을 한다.

Read the full file on GitHub · 152 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. yesterday First seen · 152 lines · 59 tokens per session scan A 26055aad9087

Subscribe to this mod's changes

write-docs is a command published in the GitHub repository jo-duchan/tapflow (536 stars, last pushed 2d ago), licensed MIT. It adds 59 tokens to every session and 1,746 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.