본문으로 건너뛰기
cccskills
무료GitHub에 공개

documentation-sync

After any significant code change — new feature, API modification, config change, or architectural refactor — run this skill to identify which documentation files are now stale and update them. Keeps docs and code from drifting apart.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

설치 방법 보기

포함된 파일(1)

  • SKILL.md4.9 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

<!-- TÜRKÇE AÇIKLAMA ─────────────── Bu skill, kodda yapılan önemli değişikliklerden sonra hangi dokümantasyon dosyalarının eskidiğini tespit edip günceller. README, API docs, .env.example, CHANGELOG ve mimari diyagramlar incelenerek eski bilgiler düzeltilir. "Docs ile kod arasındaki uçurum" problemini kapatır. NE ZAMAN: API eklendiğinde/değiştiğinde, yeni env variable eklendiğinde, büyük refactor sonrası, merge öncesi veya sonrası. ÇIKTI: Güncellenmiş doc dosyaları + değişim özet raporu. -->

Documentation Sync Skill

When to Trigger

Run after:

  • A public API endpoint is added, changed, or removed
  • A CLI command or flag is modified
  • A new environment variable or config key is introduced
  • A major component or module is refactored
  • A new npm/pip/etc. package is added or removed from dependencies
  • Any README.md reference becomes inaccurate

Step-by-Step Process

1. Identify What Changed

Review the git diff of the work just completed:

git diff main --name-only          # Files changed vs main
git diff HEAD~1 --name-only        # Files changed in last commit

Categorize changes:

  • API changes → affects docs/api/, OpenAPI/Swagger specs, README.md
  • Config changes → affects .env.example, docs/configuration.md
  • Dependency changes → affects README.md (setup section), docs/getting-started.md
  • Architecture changes → affects docs/architecture.md, diagrams
  • New features → affects docs/features/, changelogs

2. Audit Existing Docs

For each affected category, check whether corresponding docs exist:

docs/
  api/             ← REST/GraphQL endpoint docs
  architecture.md  ← System design, component diagram
  configuration.md ← All env vars and config options
  getting-started.md ← Local setup guide
  features/        ← Per-feature descriptions
CHANGELOG.md       ← Version history
README.md          ← Project overview + quickstart

For each doc file that touches the changed area, read it and flag stale sections.

3. Update Docs — Priority Order

Update in this order (highest impact first):

A. README.md

  • Setup instructions still accurate?
  • Tech stack section reflects current stack?
  • Any removed features still mentioned?

B. .env.example / Configuration Docs

For every new env variable added to code, add a corresponding entry:

# Description of what this does
NEW_VAR_NAME=example_value

Document in docs/configuration.md:

| Variable | Required | Default | Description |
|----------|----------|---------|-------------|
| NEW_VAR_NAME | Yes | — | What it controls |

C. API Docs

For every endpoint change, update the relevant doc:

### POST /api/resource

**Changed in:** <date or version>
**Description:** ...
**Request Body:** ...
**Response:** ...
**Breaking Change:** Yes/No

D. CHANGELOG.md

Append an entry under ## [Unreleased]:

### Added
- <new feature description>

### Changed
- <what was modified and why>

### Fixed
- <bug fixed>

### Removed
- <what was removed>

Follow Keep a Changelog format.

E. Architecture Docs

If a new service, module, or significant component was added:

  • Update the component list in docs/architecture.md
  • Note any new external dependencies or integrations
  • If a diagram exists (Mermaid, Draw.io), update it

4. Verify Internal Links

After editing, do a quick check for broken internal references:

# Find markdown links pointing to non-existent files
grep -r "\[.*\](.*\.md)" docs/ README.md | grep -v "http"

Manually verify the top 5 most-used internal links still resolve.

5. Report Changes

Output a summary:

## Documentation Sync Complete

**Files Updated:**
- README.md — updated setup section
- docs/configuration.md — added NEW_VAR_NAME
- CHANGELOG.md — added unreleased entry

**Files That May Need Manual Review:**
- docs/architecture.md — diagram may be outdated (manual update needed)

**No changes needed:**
- docs/api/ — no endpoint changes detected

Rules

  • Never delete documentation without confirming with the user. Archive or mark as deprecated instead.
  • Don't invent information. If you're unsure what a config variable does, write # TODO: document this and flag it.
  • Keep CHANGELOG.md under [Unreleased] until an explicit version bump/release.
  • Every new env variable must appear in .env.example — no exceptions.
  • Docs first is fine, but docs-never is not. Even minimal docs are better than none.

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Before committing to an implementation plan, run this skill to stress-test the proposed architecture. Catches over-engineering, circular dependencies, missing failure modes, security gaps, and scalability cliffs — before any code is written. Acts as a "second eye" on the plan.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

omergocmen/vibe-coder-kit942026년 6월 4일 업데이트

Systematic code review skill covering both requesting a review (pre-commit checklist) and receiving and responding to review feedback. Checks code quality, security, test coverage, architectural alignment, and documentation before any code is committed.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

omergocmen/vibe-coder-kit942026년 6월 4일 업데이트

Periodically scan project dependencies for security vulnerabilities, outdated packages, and unused dependencies. Produces a prioritized action report. Run before every major release and at least once per month.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

omergocmen/vibe-coder-kit942026년 6월 4일 업데이트

github

무료

Manages all git operations (commit, push, branch management, PR creation) in a standardized, safe, and consistent way. Automatically runs the code-review skill before any commit. Enforces Conventional Commits standard. Handles the full lifecycle: branch → review → commit → push → PR.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

omergocmen/vibe-coder-kit942026년 6월 4일 업데이트

When something breaks in production: triage the severity, gather evidence, identify root cause, deploy a fix or mitigation, and write a post-mortem. Provides a calm, structured process for high-stress moments.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

omergocmen/vibe-coder-kit942026년 6월 4일 업데이트

Use this skill whenever you learn something important during a conversation: a key architectural decision, a project-specific convention, a bug root-cause, a 3rd-party API quirk, or any fact that would help a future agent avoid re-doing the same research. Writes structured entries to the project's knowledge base so that context persists across conversations and agents.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

omergocmen/vibe-coder-kit942026년 6월 4일 업데이트

omergocmen의 스킬 모두 보기

이 스킬의 문제 신고