本文へ移動
cccskills
無料GitHub で公開

docs-update-from-diff

Review local code changes with git diff and update the official docs under docs/ to match. Use when the user asks to document current uncommitted work, sync docs with local changes, update docs after a feature or refactor, or when phrases like "git diff", "local changes", "update docs", or "official docs" appear.

インストール方法を見る

含まれるファイル(2)

  • SKILL.md4.2 KB
  • references/docs-surface.md2.9 KB

SKILL.md(原文)

インストールする前に、エージェントに与えられる指示の中身を確認できます。

Docs Update From Diff

Overview

Inspect local diffs, derive the documentation impact, and update only the repository's docs/ pages. Treat the current code as the source of truth and keep changes scoped, specific, and navigable.

Read references/docs-surface.md before editing if the affected feature does not map cleanly to an existing docs section.

Workflow

1. Build the change set

Start from local Git state, not from assumptions.

  • Inspect git status --short, git diff --stat, and targeted git diff output.
  • Focus on non-doc changes first so the documentation delta is grounded in code.
  • Ignore README.md and other non-docs/ content unless they help confirm intent.

2. Derive the docs impact

For every changed behavior, extract the user-facing or developer-facing facts that documentation must reflect.

  • New command, flag, config key, default, workflow, or limitation
  • Renamed behavior or removed behavior
  • Changed examples, paths, or setup steps
  • New feature that belongs in an existing page but is not mentioned yet

Prefer updating an existing page over creating a new page. Create a new page only when the feature introduces a stable topic that would make an existing page harder to follow.

3. Find the right docs location

Map each change to the smallest correct documentation surface:

  • End-user behavior: docs/users/**
  • Developer internals, SDKs, contributor workflow, tooling: docs/developers/**
  • Shared landing or navigation changes: root docs/** and _meta.ts

If you add a new page, update the nearest _meta.ts in the same docs section so the page is discoverable.

4. Write the update

Edit documentation with the following bar:

  • State the current behavior, not the implementation history
  • Use concrete commands, file paths, setting keys, and defaults from the diff
  • Remove or rewrite stale text instead of stacking caveats on top of it
  • Keep examples aligned with the current CLI and repository layout
  • Preserve the repository's existing docs tone and heading structure

5. Cross-check before finishing

Verify that the updated docs cover the actual delta:

  • Search docs/ for old names, removed flags, or outdated examples
  • Confirm links and relative paths still make sense
  • Confirm any new page is included in the relevant _meta.ts
  • Re-read the changed docs against the code diff, not against memory
  • If the diff added, moved, renamed, or removed a page under docs/users/, verify the qc-helper bundled skill's topic-to-path index tables (packages/core/src/skills/bundled/qc-helper/SKILL.md) are updated to match. This skill ships with the CLI and uses hardcoded doc-path tables at runtime — stale entries cause /qc-helper to miss the right documentation. Also check project-level skills under .qwen/skills/ for hardcoded docs/users/ references that may need updating.

Practical heuristics

  • If a change affects commands, also check quickstart, workflows, and feature pages for drift.
  • If a change affects configuration, also check docs/users/configuration/settings.md, feature pages, and auth/provider docs.
  • If a change affects tools or agent behavior, check both docs/users/features/** and docs/developers/tools/** when relevant.
  • If tests reveal expected behavior more clearly than implementation code, use tests to confirm wording.
  • If the change adds, moves, renames, or removes a docs page, also update hardcoded doc-path consumers: qc-helper's SKILL.md index tables, _meta.ts navigation files, and any project-level skills under .qwen/skills/ that reference docs/users/ paths.

Deliverable

Produce the docs edits under docs/ that make the current local changes understandable to a reader who has not seen the diff. Keep the final summary short and identify which pages were updated.

レビュー

まだレビューはありません。使ってみた感想をお寄せください。

同じリポジトリのスキル

概要と使いどころ

Reference for briefing a subagent or a fork — what to put in the prompt, what not to delegate, and a worked example. Load before writing a delegation prompt; the Agent tool's own description carries the launch rules and the background-agent rules.

日本語の概要は準備中です。原文の説明を表示しています。

QwenLM/qwen-code2.8万2026年10月11日 更新

Use after a Codex or Claude Code feature has been implemented in Qwen Code to run the selected reference agent and Qwen Code under the same scenario, capture HTTP and terminal traces, compare request bodies, tool/function schemas, outputs, and iterate until the reproduced behavior is close enough.

日本語の概要は準備中です。原文の説明を表示しています。

QwenLM/qwen-code2.8万2026年10月11日 更新

Use when reproducing an existing Codex or Claude Code feature in Qwen Code or another agent CLI by choosing a reference agent, capturing HTTP request bodies, prompts, tool/function schemas, terminal output, and then implementing the matching behavior in the target repo.

日本語の概要は準備中です。原文の説明を表示しています。

QwenLM/qwen-code2.8万2026年10月11日 更新

autofix

無料

Review and repair current local changes until they converge, or run Qwen Code Autofix issue and review workflows from GitHub Actions.

日本語の概要は準備中です。原文の説明を表示しています。

QwenLM/qwen-code2.8万2026年10月11日 更新

batch

無料

Execute batch operations on multiple files in parallel. Automatically discovers files, splits into chunks, and processes with parallel worker agents. Use `/batch` followed by operation and file pattern. For many independent single-turn transforms (translate/rewrite/extract each file into a new file) that can wait minutes to hours, you may suggest the user type `/batch-api` themselves for the half-price asynchronous Batch API — you cannot invoke it, and it is not suited to in-place edits or tasks needing tool feedback.

日本語の概要は準備中です。原文の説明を表示しています。

QwenLM/qwen-code2.8万2026年10月11日 更新

batch-api

無料

Prepare a many-file, single-turn transform (translate, rewrite, extract) as a plan and submit it to the asynchronous, half-price DashScope Batch API; results are delivered as new files hours later. Invoke explicitly with /batch-api.

日本語の概要は準備中です。原文の説明を表示しています。

QwenLM/qwen-code2.8万2026年10月11日 更新

QwenLM のスキルをすべて見る

このスキルの問題を報告する