Doc Writer
go-spring/go-spring
用于编写、改写、审阅或扩展 Go-Spring 文档。写作前应核对源码、测试、示例和已有文档;当目标文档属于已约束范围时,遵守 Go-Spring 文档写作规范。
기술 문서용 코드 예제 패턴 라이브러리. An agent skill from revfactory/harness-100.
$ npx skills add revfactory/harness-100 --skill code-example-patterns -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install revfactory/harness-100 code-example-patterns --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .claude/skills && cp -r skills-src/ko/81-technical-writer/.claude/skills/code-example-patterns .claude/skills/code-example-patterns && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "code-example-patterns" agent skill from https://github.com/revfactory/harness-100/tree/main/ko/81-technical-writer/.claude/skills/code-example-patterns into .claude/skills/code-example-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-example-patterns", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/revfactory/harness-100/tree/main/ko/81-technical-writer/.claude/skills/code-example-patternsType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add revfactory/harness-100 --skill code-example-patterns -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install revfactory/harness-100 code-example-patterns --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .agents/skills && cp -r skills-src/ko/81-technical-writer/.claude/skills/code-example-patterns .agents/skills/code-example-patterns && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "code-example-patterns" agent skill from https://github.com/revfactory/harness-100/tree/main/ko/81-technical-writer/.claude/skills/code-example-patterns into .agents/skills/code-example-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-example-patterns", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add revfactory/harness-100 --skill code-example-patterns -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install revfactory/harness-100 code-example-patterns --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/ko/81-technical-writer/.claude/skills/code-example-patterns .cursor/skills/code-example-patterns && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "code-example-patterns" agent skill from https://github.com/revfactory/harness-100/tree/main/ko/81-technical-writer/.claude/skills/code-example-patterns into .cursor/skills/code-example-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-example-patterns", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/revfactory/harness-100.git --path ko/81-technical-writer/.claude/skills/code-example-patterns--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add revfactory/harness-100 --skill code-example-patterns -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install revfactory/harness-100 code-example-patterns --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/ko/81-technical-writer/.claude/skills/code-example-patterns .gemini/skills/code-example-patterns && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "code-example-patterns" agent skill from https://github.com/revfactory/harness-100/tree/main/ko/81-technical-writer/.claude/skills/code-example-patterns into .gemini/skills/code-example-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-example-patterns", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install revfactory/harness-100 code-example-patternsInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add revfactory/harness-100 --skill code-example-patterns -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .github/skills && cp -r skills-src/ko/81-technical-writer/.claude/skills/code-example-patterns .github/skills/code-example-patterns && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "code-example-patterns" agent skill from https://github.com/revfactory/harness-100/tree/main/ko/81-technical-writer/.claude/skills/code-example-patterns into .github/skills/code-example-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-example-patterns", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add revfactory/harness-100 --skill code-example-patterns -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install revfactory/harness-100 code-example-patterns --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/revfactory/harness-100.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/ko/81-technical-writer/.claude/skills/code-example-patterns .opencode/skills/code-example-patterns && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "code-example-patterns" agent skill from https://github.com/revfactory/harness-100/tree/main/ko/81-technical-writer/.claude/skills/code-example-patterns into .opencode/skills/code-example-patterns/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "code-example-patterns", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
code-example-patterns기술 문서용 코드 예제 패턴 라이브러리. An agent skill from revfactory/harness-100.
Code Example Patterns is an agent skill from revfactory/harness-100. 기술 문서용 코드 예제 패턴 라이브러리. doc-writer 에이전트가 코드 예제, 튜토리얼을 작성할 때 참조. '코드 예제 패턴', '튜토리얼 코드 작성' 요청 시 사용. 단, 실제 코드 컴파일이나 테스트 실행은 범위 밖.
Its SKILL.md is about 500 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.
The licence is Apache-2.0.
Read from SKILL.md and the folder at commit 8e8d35c. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
No scripts in the folder and no shell commands in SKILL.md (its code samples are python and markdown).
From the folder's file list and the shell code blocks in SKILL.md.
No URLs in SKILL.md.
From URLs in SKILL.md, links to its own repository left out.
Names these keys or tokens, usually read from environment variables:
API_KEYFrom names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Code Example Patterns loads about 495 tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 189 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.
The full file from revfactory/harness-100 at commit 8e8d35c, republished under its Apache-2.0 licence (© revfactory). 189 words, ~495 tokens.
.claude/skills/code-example-patterns/SKILL.md (or your agent's skills folder).doc-writer 에이전트가 기술 문서에 포함할 코드 예제의 품질을 높이는 패턴.
1. 목표 선언 — "이 코드는 X를 수행합니다"
2. 사전 조건 — 라이브러리, 환경 변수, 설정
3. 핵심 코드 — 최소 작동 예제
4. 실행 결과 — 예상 출력
5. 확장 포인트 — "다음 단계로 Y를 할 수 있습니다"나쁜 예제 (컨텍스트 없음):
result = client.process(data)좋은 예제 (자기완결적):
# pip install example-sdk
from example_sdk import Client
client = Client(api_key="your-api-key")
data = {"name": "테스트", "value": 42}
result = client.process(data)
print(result.status) # "success"Step 1: 최소 동작 코드
Step 2: 입력 처리 추가
Step 3: 에러 처리 추가
Step 4: 설정 외부화
Step 5: 프로덕션 코드각 단계에서 변경 부분만 강조, 기존 코드는 ...으로 축약.
#### 문제: [구체적 문제 설명]
#### 해결: [코드와 함께 해결 방법]| 방식 | 장점 | 단점 | 코드 |
|---|---|---|---|
| 동기 | 단순 | 블로킹 | result = fetch() |
| 비동기 | 성능 | 복잡 | result = await fetch() |
| 규칙 | 설명 |
|---|---|
| WHY 주석 | "왜" 이렇게 작성했는지 |
| WHAT 금지 | "무엇"은 코드 자체로 |
| 한글 주석 | 한국어 문서에서 한글 |
| TODO 금지 | 예제에 미완성 금지 |
| 하드코딩 설명 | "실제 환경에서는..." 주석 |
# 올바름: 환경변수
api_key = os.environ["API_KEY"]
# 문서용 플레이스홀더
api_key = "your-api-key-here" # 실제 키로 교체| 항목 | 기준 |
|---|---|
| 자기완결성 | import~실행까지 복사-붙여넣기 동작 |
| 에러 처리 | try/catch 포함 |
| 타입 정보 | 변수/파라미터/반환값 타입 명시 |
| 실행 결과 | 예상 출력 포함 |
| 민감 정보 | 하드코딩 시크릿 없음 |
| 버전 명시 | 언어/라이브러리 버전 |
© revfactory, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
Just SKILL.md in ko/81-technical-writer/.claude/skills/code-example-patterns of revfactory/harness-100.
Open the folder on GitHubat commit 8e8d35c
Code Example Patterns next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Code Example Patterns this skillrevfactory/harness-100 | 1.3k | — | ~495 | Automated safety check: Pass | Apache-2.0 | |
| Doc Writergo-spring/go-spring | 1.8k | — | ~354 | Automated safety check: Pass | Apache-2.0 | |
| Doc Writerpretend1111/claude-desktop-app | 494 | 1 repos | ~375 | Automated safety check: Pass | Custom licence | |
| Doc Writermoq/Moq.AutoMocker | 429 | — | ~2.7k | Automated safety check: Pass | MIT | |
| Doc Writermicrosoft/aspire.dev | 196 | — | ~7.6k | Automated safety check: Pass | MIT | |
| Doc Writermitchdenny/hex1b | 177 | — | ~8.7k | Automated safety check: Pass | MIT |
go-spring/go-spring
用于编写、改写、审阅或扩展 Go-Spring 文档。写作前应核对源码、测试、示例和已有文档;当目标文档属于已约束范围时,遵守 Go-Spring 文档写作规范。
pretend1111/claude-desktop-app
Generate README, API docs, or user guides for code and projects.
moq/Moq.AutoMocker
Guidelines for producing accurate and maintainable documentation for Moq.AutoMocker.
microsoft/aspire.dev
Guidelines for producing accurate and maintainable documentation for the Aspire documentation site.
mitchdenny/hex1b
Guidelines for producing accurate and maintainable documentation for the Hex1b TUI library.
strands-agents/harness-sdk
Draft or rewrite Strands Agents documentation pages. An agent skill from strands-agents/harness-sdk.
revfactory/harness-100
A skill for analyzing website anti-bot defense mechanisms and developing legitimate evasion strategies.
revfactory/harness-100
Reference for designing how an API reports failures: structured error codes, response shapes, client-friendly messages, an error catalog and retry or fallback advice.
revfactory/harness-100
Walks a backend-dev agent through OWASP API Top 10 checks, authentication and authorization patterns, and defense code during API design.
revfactory/harness-100
Methodology for systematically designing and generating CLI tool argument parser structures.
revfactory/harness-100
Audience segmentation skill used by the analyst and curator agents.
revfactory/harness-100
Audio storytelling skill used by the podcast scriptwriter and show note editor.
기술 문서용 코드 예제 패턴 라이브러리. An agent skill from revfactory/harness-100. Code Example Patterns is an agent skill from revfactory/harness-100. 기술 문서용 코드 예제 패턴 라이브러리.
Run `npx skills add revfactory/harness-100 --skill code-example-patterns -a claude-code`. Or copy the skill folder (ko/81-technical-writer/.claude/skills/code-example-patterns in revfactory/harness-100) into .claude/skills/code-example-patterns in your project. Claude Code loads it when a task matches its description.
Run `npx skills add revfactory/harness-100 --skill code-example-patterns -a codex`. Or copy the skill folder (ko/81-technical-writer/.claude/skills/code-example-patterns in revfactory/harness-100) into .agents/skills/code-example-patterns in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add revfactory/harness-100 --skill code-example-patterns -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/code-example-patterns, .gemini/skills/code-example-patterns, .github/skills/code-example-patterns and .opencode/skills/code-example-patterns in your project.
Going by SKILL.md and its folder, Code Example Patterns needs credentials named API_KEY. Our summary lists: Python 3; A credential in API_KEY.
SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.
Code Example Patterns is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 495 tokens (SKILL.md is roughly 2k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Code Example Patterns: Doc Writer (go-spring/go-spring, 1.8k stars), Doc Writer (pretend1111/claude-desktop-app, 494 stars), Doc Writer (moq/Moq.AutoMocker, 429 stars) and Doc Writer (microsoft/aspire.dev, 196 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
revfactory (a GitHub user) maintains it in revfactory/harness-100, which has 1,290 GitHub stars. The repository holds 464 skills in this directory. The repository was last updated on March 22, 2026.
Source: revfactory/harness-100 on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.