跳到正文
cccskills
免费在 GitHub 公开

pr-writing

Use whenever writing a PR title/description, a commit message body, a code review comment, or an issue — in Hedgehog's own repo or any consuming project. Triggers on "open a PR", "write the PR description", "comment on this PR", "file an issue". Covers writing style (terse, info-dense, Simplified Technical English), the Why/What shape, folding deep reasoning under `<details>`, and the pre-open checklist (CI status, scope, verified claims only).

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(1)

  • SKILL.md4.7 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

PR Writing

A PR description, commit message, or review comment is read by a human deciding whether to trust and merge the change. Write for that reader, not as a record of the work session.

Style rules

  • Brief. State the change and the reason. Skip the narrative of how you got there.
  • Info-dense, not verbose. Every sentence carries a fact. Cut sentences that restate the diff, the title, or each other.
  • Don't write what's inferable. A reviewer can read the diff — don't describe what a line change does if the code already says so. State only what the diff can't show: intent, a non-obvious constraint, a fact you verified.
  • Simplified Technical English. One claim per sentence. Concrete subjects, active voice, present tense for current behavior. No hedging ("might", "could potentially", "it seems"), no filler ("simply", "basically", "just"), no marketing language. Say "X fails when Y" — not "there might be an issue where X could fail if Y happens."
  • Write for a human, not an AI reviewer. No emoji, no "Generated by", no restating the obvious for machine parsing. Plain prose a teammate would send in Slack.

Pre-open checklist

  • CI must pass before you ask for review. Run the project's checks locally first — lint, tests, build. If a check is red after pushing, fix it or say plainly in the PR why it's expected (a known, unrelated flake), never leave it unexplained.
  • One PR, one change. A second unrelated fix noticed along the way is a separate PR, not scope creep on this one.
  • State only what you verified. "Ran X, confirmed Y" — never "this should work" or "this probably fixes it." An unverified claim in a test plan is itself a defect; a reviewer trusts it and later finds it was false.
  • Cite file:line for claims about existing behavior. An uncited claim is a hypothesis the reviewer has to re-derive themselves.
  • Reference the issue it closes, if any (Fixes #123), instead of restating the issue's content.

Shape

  • PR title: <type>(<scope>): <summary>, imperative mood, under ~70 chars.
  • PR description: 1-3 bullets — what changed, why. A test plan section listing what you actually ran, not what should theoretically pass.
  • Issue title: plain English a non-technical reader would say out loud, not a commit-style <type>(<scope>): <summary>. Name the outcome, not the mechanism — "Improve how Hedgehog tracks and enforces a project's architecture", not "feat(core): add pattern field".
  • Comments: lead with the concrete finding, then (if needed) the fix requested. No preamble.

Why/What for issues

An issue proposing a change — a feature, a fix worth explaining, a roadmap item being picked up — states Why before What:

  • Why: the problem, as a short list of plain-language facts. Each bullet is one observation a reader can verify or disagree with, not a justification wrapped in caveats. State the problem first, then (if the fix isn't obvious from the problem) a short "to fix this" list of intended outcomes.
  • What: the change itself — the concrete steps, fields, or sub-issues. Numbered if sequenced, bulleted if not.

Skip the Why section only when the title already states the problem in full (a one-line bug report needs no restatement). Never skip What.

Fold deep reasoning under <details>

An issue or PR body written for a human reader stays short. Extended reasoning — architecture rationale, alternatives considered, prior decisions, anything aimed at an AI agent picking up the work or a reader who wants the full trail — goes under a collapsed section, not inline:

<details>
<summary>Full reasoning (for AI agents and anyone who wants the detail)</summary>

...
</details>

Ask first whether that detail needs to exist in the issue at all — a link to an existing doc or prior discussion is often enough. Only fold in content that has no better home.

When NOT to apply

  • Internal scratch notes, planning docs, or anything not read by another person — write those however is fastest for you.
  • The user asks for a different register explicitly (e.g. a detailed design-doc-style PR description for an architectural change that needs the extra context).

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

同一仓库的技能

Push the LLM to reconsider, refine, and improve its recent output. Use when user asks for deeper critique or mentions a known deeper critique method, e.g. socratic, first principles, pre-mortem, red team

中文简介正在准备中。当前显示原文说明。

skyf0xx/hedgehog462026年10月22日 更新

Facilitate a brainstorming session using diverse creative techniques. Use when the user says 'help me brainstorm' or 'help me ideate'

中文简介正在准备中。当前显示原文说明。

skyf0xx/hedgehog462026年10月22日 更新

Research a topic to support a decision, three ways: draft a research prompt for the user to run in their own tool (ChatGPT, Gemini, Grok, Perplexity, …), turn a finished research report into a short summary with cited sources that other skills can use directly, or run the research here with parallel web searches. Built-in research types: market, domain, technical, competitive, user-voice, academic-lit; also supports choosing between candidates, and custom types via overrides. Use when the user says "deep recon", "research this", "draft a research prompt", "process this research report", "market research", "domain research", "technical research", "competitor research", "literature review", or "help me choose between"

中文简介正在准备中。当前显示原文说明。

skyf0xx/hedgehog462026年10月22日 更新

Test a half-formed idea in a questioning conversation, with different personas probing its weak points, until the user can act on it or drop it with confidence. Optionally writes a short brief for planning skills to build on. Use when the user says 'forge an idea', 'pressure-test this idea', 'stress-test my thinking', or 'harden this idea'

中文简介正在准备中。当前显示原文说明。

skyf0xx/hedgehog462026年10月22日 更新

bmad-prd

免费

Create, update, or validate a PRD. Use when the user wants help producing, editing, or validating a PRD

中文简介正在准备中。当前显示原文说明。

skyf0xx/hedgehog462026年10月22日 更新

Test a product concept with Amazon's Working Backwards method: write the press release for the finished product first, then answer hard customer and stakeholder questions, ending in a complete PRFAQ document. Use when the user requests to 'create a PRFAQ', 'work backwards', or 'run the PRFAQ challenge'

中文简介正在准备中。当前显示原文说明。

skyf0xx/hedgehog462026年10月22日 更新

查看 skyf0xx 的全部技能

报告此技能的问题