Repository navigation
docs: add agent rules for issues and pull requests - #29
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Oct 18, 2026
kalaspuff
pushed a commit
to hyperstructure/fctl-site
that referenced
this pull request
Oct 18, 2026
The rules from hyperstructure/fctl#29, for this repository: how agents handle issues, and what they do after opening a pull request. - **`.claude/skills/issues/SKILL.md`** covers: - reading an issue and the pull requests that mention it before starting; - `Fixes` versus `Refs`; - ticking checklists only once done and verified, and status comments for partial progress; - when an issue may close, and moving leftovers to new issues; - new issues in the shape of hyperstructure/fctl#12 and #13, with this repository's component labels; - adding to other people's issues instead of rewriting them; - naming what fctl (where the docs' text lives) or design need. - **`.claude/skills/pull-requests/SKILL.md`** covers: - waiting for CI in the same turn and fixing failures, including `shellcheck` for the installer; - answering each review comment in its thread; - after the merge: not pushing to the merged branch, recording the merge in the issue, and checking that fctl.sh deployed. - **AGENTS.md** gets "Issues" and "After opening a pull request" sections. - **The `commit` skill** says `Fixes` only for a pull request that finishes the issue. New labels for issues: `landing`, `docs-pages`, `legal`, `install`, `worker` and `agents`. Claude Code's `system/init` in this branch lists `commit`, `issues` and `pull-requests`. Refs hyperstructure/fctl#20 Co-authored-by: fctl-sh[bot] <343971779+fctl-sh[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <[email protected]>
kalaspuff
pushed a commit
to hyperstructure/design
that referenced
this pull request
Oct 18, 2026
The rules from hyperstructure/fctl#29, for this repository: how agents handle issues, and what they do after opening a pull request. - **`.claude/skills/issues/SKILL.md`** covers: - reading an issue and the pull requests that mention it before starting; - `Fixes` versus `Refs`; - ticking checklists only once done and verified, and status comments for partial progress; - when an issue may close, and moving leftovers to new issues; - new issues in the shape of hyperstructure/fctl#12 and #13, with this repository's component labels; - adding to other people's issues instead of rewriting them; - naming what fctl or fctl-site need. - **`.claude/skills/pull-requests/SKILL.md`** covers: - waiting for CI in the same turn and fixing failures; - answering each review comment in its thread; - after the merge: not pushing to the merged branch, recording the merge in the issue, and saying whether the change is released and whether the consumers moved their pin. - **AGENTS.md** gets "Issues" and "After opening a pull request" sections. - **The `commit` skill** says `Fixes` only for a pull request that finishes the issue. New labels for issues: `tokens`, `gl`, `brand`, `playground`, `release` and `agents`. Claude Code's `system/init` in this branch lists `commit`, `issues`, `pull-requests` and `release`. Refs hyperstructure/fctl#20 Co-authored-by: fctl-sh[bot] <343971779+fctl-sh[bot]@users.noreply.github.com> Co-authored-by: Claude Opus 5.5 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agents now have written rules for issues and for what to do after opening a pull request. The rules go in AGENTS.md, which any agent reads, and the step-by-step procedures go in two new Claude Code skills next to
commitandrelease. Skills load only when needed..claude/skills/issues/SKILL.mdcovers:gh api …/issues/N/timeline, so you see only real cross-references);Fixes #Nonly for a pull request that does everything the issue asks,Refs #Notherwise;.claude/skills/pull-requests/SKILL.mdcovers:gh pr checks N --watch --fail-fast, since nothing wakes a session afterwards until React to CI failures and review comments #8;gh run view --log-failed, fixing title failures withgh pr edit --title, and rerunning infrastructure failures once;mainmoves;git tag --contains).commitskill now saysFixesonly when the pull request finishes the issue andRefsotherwise, and points topull-requestsafter opening one.The same rules go to hyperstructure/design and hyperstructure/fctl-site in their own pull requests, adapted to their checks and labels. Those repositories now have component labels like fctl's.
#20's "decision for later" (whether fctl's prompt gives every project these rules) is now #28, together with #20's two checks that need real sessions.
How I verified it
Claude Code 2.1.296's
system/initevent, started in this branch, listscommit,release,issuesandpull-requestsunderskills. That's #20's first check. I also checked theghcommands against the API, for example the timeline query on #1, which lists #14, #15, #20 and #24.Fixes #20