跳到正文
cccskills
免费在 GitHub 公开

hedgehog-contributing

Use when the user wants to contribute a fix or roadmap item back to the Hedgehog project itself (skyf0xx/hedgehog) rather than their own project. Triggers on "let's fix that in Hedgehog", "I want to contribute", "let's pick up a roadmap item", or when `tweaker` offers this at the end of a build and the user says yes. Covers forking/branching, making the change under Hedgehog's own repo rules, committing with Conventional Commits, and opening the PR.

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

集成工具GitHub
查看安装方法

包含的文件(1)

  • SKILL.md5.0 KB

SKILL.md(原文)

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

Contributing to Hedgehog

Walks a user from "I want to fix/build this in Hedgehog itself" to an open pull request against skyf0xx/hedgehog. This is for changes to the discipline — src/agents/, src/skills/, src/templates/, bin/cli.mjs, README.md — never for changes to the user's own project, which is a different repo with different rules.

When this runs

  • The user names a specific gap (a bug they hit, a roadmap item) and wants to fix it in Hedgehog rather than work around it locally.
  • tweaker offered this at the end of a build and the user said yes.

If the user hasn't picked a target yet, browse issues labeled roadmap with them and let them choose one — prefer an issue also labeled good-first-issue for a first contribution, since those are scoped to one file or one narrow addition.

Before starting

Confirm where the Hedgehog source actually lives on this machine. A project that ran npx @skyf0xx/hedgehog init has a copy of the payload (.claude/agents/, .claude/skills/), not the Hedgehog repo itself — editing those files changes nothing upstream. Ask the user:

  • If they already have a local clone of skyf0xx/hedgehog, use it.
  • If not, offer to clone it: gh repo fork skyf0xx/hedgehog --clone (forks under their account and clones the fork), or git clone https://github.com/skyf0xx/hedgehog if they'd rather push directly to a branch on a repo they already have write access to.

Do this in a separate directory from the user's own project — never inside it.

Writing the issue or PR

Use the pr-writing skill for style: brief, info-dense, Simplified Technical English, only verified claims. Most of Hedgehog's inbound queue is read first by inbound-triage, an agent, before a human ever sees it — the same register inbound-triage uses when it comments back (see that skill's "Comment style" section) — so write plainly for both readers at once.

Fill every field the bug-report template asks for as its own labeled fact (symptom, expected behavior, exact repro steps) rather than one collapsed paragraph.

Workflow

  1. Read CONTRIBUTING.md at the Hedgehog repo root before touching anything. It defines the rules this repo's content has to follow: current-state-only files (no changelog narration inside the content itself), one owning file per rule (nothing load-bearing lives outside src/agents/ or src/skills/), and PRs scoped to one agent, one skill, or one template at a time.
  2. Branch. git checkout -b <type>/<short-description> off master — feat/, fix/, or docs/ prefix matching the change, e.g. feat/windsurf-host or fix/tweaker-job2-wording.
  3. Make the change, scoped to what CONTRIBUTING.md and the target roadmap issue actually call for — resist scope creep onto adjacent files even if you notice something else worth fixing; that's a separate PR.
  4. Verify the install path locally before committing, per CONTRIBUTING.md:
    mkdir -p /tmp/hedgehog-smoke && cd /tmp/hedgehog-smoke
    node /path/to/hedgehog/bin/cli.mjs init
    
    Confirm .claude/agents/, .claude/skills/, and the root templates land correctly, and that the specific thing you changed shows up as expected (a new skill directory copied over, a new host's files in the right place, a new blueprint reachable from hedgehog-core-design).
  5. Commit with Conventional Commits, in the format the conventional-commits skill states. If the change is already one logical unit, commit it directly. If the working tree has accumulated several unrelated changes that need splitting into atomic commits, use the conventional-commits skill rather than hand-rolling the split.
  6. Push and open the PR, following pr-writing's checklist and shape (CI passing, one change, only verified claims):
    git push -u origin <branch-name>
    gh pr create --repo skyf0xx/hedgehog --title "<type>(<scope>): <summary>" --body "..."
    
    The body follows pr-writing's shape (a short Summary, a Test plan listing what was actually run — for this repo, node bin/cli.mjs init in a scratch dir, confirming the change lands correctly). If the PR closes or addresses a roadmap issue, reference it (Fixes #<n>).
  7. Check CI with gh pr checks <number> --repo skyf0xx/hedgehog after opening. Fix a red check before asking for review.
  8. Report the PR URL gh returns and stop — don't merge, don't push further commits without being asked.

评价

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

评论

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

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

提交后会立即公开。请勿填写邮箱、电话等个人信息。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月20日 更新

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

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

skyf0xx/hedgehog462026年10月20日 更新

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月20日 更新

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月20日 更新

bmad-prd

免费

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

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

skyf0xx/hedgehog462026年10月20日 更新

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月20日 更新

查看 skyf0xx 的全部技能

报告此技能的问题