jh941213/my-cc-harness/docs-ci
Claude Code and agent skill by jh941213/my-cc-harness
Trust tier 2
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
문서 CI(링크·OpenAPI lint·breaking 게이트·mermaid 검증)나 문서 드리프트 감지(docs.yaml 신선도 검사)를 설치하거나 돌릴 때 사용. 문서 내용 작성은 docs-architecture·docs-interfaces·docs-manuals.
Install
npx vskill@latest install jh941213/my-cc-harness/docs-ciSKILL.md
Docs CI 스킬 — 문서를 코드처럼 검증한다
문서 내용이 아니라 문서를 지키는 파이프라인을 만든다. 산출물은 GitHub Actions 워크플로우 + 드리프트 감지 스크립트 + docs/docs.yaml 매니페스트 규약.
입력
$ARGUMENTS
docs.yaml 매니페스트 (드리프트 감지의 계약)
docs 스위트의 모든 스킬이 쓰고, 이 스킬의 검사가 소비한다:
드리프트 판정: covers 경로의 최신 커밋이 last_reviewed보다 새로우면 stale. review_max_age_days 초과도 stale.
설치하는 검사 (프로젝트에 맞게 선택)
| 검사 | 도구/방법 | 실패 정책 | |
|---|---|---|---|
| 깨진 링크 | lychee (lycheeverse/lychee-action) | 내부 링크 깨짐 = fail, 외부 = warn | |
| OpenAPI 스타일 | redocly lint 또는 spectral lint | fail | |
| API breaking 변경 | oasdiff breaking base rev --fail-on ERR (Docker tufin/oasdiff — npm oasdiff는 빈 placeholder) | fail | |
| Code-first 명세 드리프트 | CI에서 명세 재생성 → git diff --exit-code | fail | |
| mermaid 문법 | mmdc -i <문서>.md -o <임시>.md (md 안 블록을 모두 렌더. -o는 svg·png·pdf·md만 받는다) | fail | |
| 문서 신선도 | scripts/check-docs-freshness.sh (docs.yaml 기반) | warn (또는 이슈 생성) | |
| 문서-코드 동시 변경 | src/api/** 변경 && docs/api/** 미변경 → PR 경고 코멘트 | warn | |
| CHANGELOG | conventional commits + git cliff (릴리스 시) | 자동 생성 | |
| 프리뷰 배포 | docs 사이트 있으면 PR별 프리뷰 URL | — |
CHANGELOG 자동화 주의: 프로젝트 커밋 형식(git log --oneline)이 conventional commits가 아니면 git-cliffcommit_parsers를 그 형식에 맞춘다.
실행 절차
- 프로젝트 진단: 어떤 문서/명세가 존재하나 (
docs/,openapi.*, mermaid 블록, docs 사이트 생성기) - 존재하는 것에 맞는 검사만 선택 — OpenAPI 없는 프로젝트에 spectral 게이트 넣지 않기
docs/docs.yaml생성/갱신 (기존 문서 스캔해서 covers 초안 작성 — 사용자가 다듬을 수 있게 주석 포함){project}/scripts/check-docs-freshness.sh생성 — 템플릿templates/check-docs-freshness.sh를 대상 프로젝트의{project}/scripts/로 복사.github/workflows/docs-ci.yml생성 (템플릿:templates/docs-ci.yml에서 해당 프로젝트에 필요한 잡만) — 트리거 브랜치가main고정이므로 브랜치 전략에 맞게 조정 (develop 운용 시 추가)- 로컬에서 1회 실행하고 그 출력으로 보고:
bash scripts/check-docs-freshness.sh. 로컬에서 못 돌린 잡(lychee·mmdc 등)은 "CI에서 처음 돌 것"이라고 따로 적는다
하네스 연동 (이 플러그인의 다른 컴포넌트와)
- 문서 동기화의 1차 책임은 작업 중인 에이전트다(구현이 docs·plan과 달라지면 같은 커밋에서 고친다). docs-ci는 그 결과를 CI에서 다시 검증하는 마지막 층
/docs sync커맨드: docs.yaml 기반 stale 문서 목록을 보고 → 해당 영역의 docs-* 스킬로 갱신 위임
제약
- 워크플로우/스크립트/
docs/만 생성. 앱 소스 수정 금지 - 설치 안 된 도구를 요구하는 검사는
continue-on-error또는 조건부(if: hashFiles(...))로 - 기존 CI 워크플로우가 있으면 덮어쓰지 말고 별도
docs-ci.yml로 추가 - CI 워크플로 추가는 위험 등급 High(
review§6)이므로 파일 목록을 보여 주고 승인받은 뒤 쓴다
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/docs-ci/SKILL.md
Popularity
- Repository stars
- 125
- Repository forks
- 35
- 7-day trend score
- 24
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jh941213/my-cc-harness/docs-ci)