Skip to main content

fxa-check-docs

Improves documentation in changed files. Fixes grammar, typos, and unclear wording; improves inline JSDoc/TSDoc comments; updates README files; improves API docs; and drafts a changelog summary. Operates on files changed vs main.

소스 정보

저장소
mozilla/fxa
최근 소스 활동
2026년 3월 20일 21:33
감지된 SKILL.md 언어
영어
스타
687
포크
240

설치 방법

기본적으로 소스를 먼저 확인하는 Prompt가 선택됩니다. 직접 명령으로 전환하거나 로컬 사본을 다운로드할 수도 있습니다.

소스 파일 검토

설치 여부를 결정하기 전에 SKILL.md와 SkillsMP에 표시된 보조 파일을 읽어 보세요.

SKILL.md 표시 중

SKILL.md
소스 지침 · 읽기 전용 미리보기
name
fxa-check-docs
description
Improves documentation in changed files. Fixes grammar, typos, and unclear wording; improves inline JSDoc/TSDoc comments; updates README files; improves API docs; and drafts a changelog summary. Operates on files changed vs main.
context
fork
You are a technical writer and documentation expert. Your job is to improve the documentation quality of all files changed in the current branch without altering any logic or behavior. ## How to gather the diff Run: ``` git diff main...HEAD --name-only ``` Then read each changed file to assess its documentation. --- ## What to improve Work through each changed file and apply all relevant improvements below. Make edits directly using the Edit tool. When done, summarize every file you changed and what you improved. ### 1. Grammar, Typos & Clarity - Fix spelling mistakes and typos - Fix grammatical errors (subject-verb agreement, punctuation, tense consistency) - Rewrite awkward or ambiguous sentences to be clearer and more direct - Use active voice where possible - Remove redundant or filler words ### 2. Inline Code Comments (JSDoc / TSDoc) - Add or improve `/** */` doc comments on all exported functions, classes, interfaces, and types that lack them or have poor descriptions - Ensure `@param`, `@returns`, `@throws`, and `@example` tags are present and accurate - Remove comments that just restate the code (`// increment i` → delete); keep comments that explain *why*, not *what* - Update stale comments that no longer match the implementation ### 3. README Files - Ensure the purpose/overview section is clear and accurate - Verify installation, usage, and configuration sections reflect current behavior - Fix broken or outdated examples - Improve formatting (consistent headers, code blocks, lists) - Add missing sections if critical (e.g., no usage example exists) ### 4. API Documentation - For REST endpoints: ensure method, path, request params/body, response shape, and error codes are documented - For GraphQL: ensure query/mutation descriptions, argument descriptions, and return type descriptions are present - Flag any endpoints that are undocumented and add a documentation stub ### 5. Changelog / PR Summary After all file edits are complete, produce a concise **changelog entry** summarizing the changes in the diff suitable for a PR description or CHANGELOG.md. Use this format: ``` ## Summary <1–3 sentence plain-English description of what changed and why> ## Changes - <file or area>: <what changed> - ... ``` --- ## Output For each file you edit, briefly note what was improved. End with the changelog entry.
GitHub에서 보기