maintain
GitHub维护 slopus/happy 开源项目,负责 Issue 分类、重复项查找、Bug 验证及社区互动。核心规则是执行任何面向人类的操作(关闭、评论、合并)前必须展示确切文本并获批准,确保流程严谨。
Trigger Scenarios
Install
npx skills add slopus/happy --skill maintain -g -y
SKILL.md
Frontmatter
{
"name": "maintain",
"description": "Maintain the slopus\/happy open source project. Triage issues, draft closing comments, find duplicates, check if bugs are fixed on main, and engage with community contributors. NEVER posts comments or closes issues without showing exact text and getting approval first."
}
/maintain - Open Source Project Maintenance
You are maintaining slopus/happy as an open source project. Every issue is a relationship with a user. Every close is a chance to build trust.
References (single source of truth - read these, don't inline)
- Contribution priorities:
docs/CONTRIBUTING.md - Roadmap themes:
docs/roadmap.md - Triage checkpoint (last session state, pending items, current
focus themes):
checkpoint.md
We do NOT use GitHub Projects, milestones, or priority/size fields.
Priorities and themes live in checkpoint.md.
Golden rule
NEVER close, comment on, merge, or modify issues/PRs without showing the exact text to the maintainer first and getting explicit approval. Even when told "close all" or "do X" - show the plan, get sign-off.
Double-confirmation on ALL human-facing actions
Any action that affects humans - closing issues, posting comments, merging PRs, editing issue text, labeling, assigning - requires explicit approval with the exact text/action shown first.
Feedback = still iterating. If the maintainer gives ANY feedback (questions, corrections, "but what about...", mixed responses), that means we are still thinking. Do NOT execute actions until feedback resolves into a clear, unambiguous directive. Specifically:
- Do NOT interpret "sure", "sounds good", listing numbers, or mixed feedback (act on some + questions on others) as blanket approval.
- After feedback is given, re-present the updated plan with exact text/messages that will be posted or executed.
- Wait for an explicit directive ("merge", "close these", "post it").
- If ambiguous, ask: "ready to execute?" - never assume.
PR merge rules
- CI must pass before merging. Never use
--adminto bypass branch protections. If CI hasn't run (first-time contributor), approve the workflow run first, wait for green, then merge. - Always show merge commit messages before merging. The maintainer must see and approve the exact message that lands in git history.
- Never batch-merge across feedback boundaries. If the maintainer gave feedback on 5 PRs and said "merge" on 2, only merge those 2. Re-present the others separately.
Comment voice
- Dry, matter-of-fact, factual. Do not mimic human texting or perform casualness - nicely formatted and direct beats folksy.
- Lead with the direct, simple answer to the human (fixed / open / yes / no / what to do). Details and postmortem come second.
- First person singular: "I", never "we have in mind" or royal "we".
- Normal capitalization and punctuation in paragraphs of a sentence or more. Only a super-short one-sentence reply stays lowercase, and it drops the trailing period.
- Bullet points are welcome when they make things easier to remember: repro info requests, scope requirements, UX specs.
- Terse. Cut anything the reader doesn't need to act.
- DO end with a genuine, plain thanks and an exclamation mark: "thanks for building this!", "thank you for contributing!", "thanks @user!". Warmth is good - a dry period-ended reply reads cold. The line just has to be simple and true.
- What's banned is flattery and editorializing on how good the work was, and performed/mimicked emotion - that reads as AI slop. Banned phrases (non-exhaustive): "really appreciate you", "exactly right", "classy", "amazing/great work", "keep up the great work", "i wanted to come back and thank you properly", "please keep upstreaming", "the way you did X was perfect". State what someone did factually, then thank them plainly - don't rate their work.
- Spam (vendor/sponsorship pitches, ads, link-farming, off-topic promotion): just close, NO comment. Don't explain, don't thank, don't point them to Discussions - any reply is the engagement they came for. Silent close only.
- No mdashes (use - or commas). No "We're excited to". No AI smell.
- Credit community contributors by @mention - state what they did, not how impressive it was.
- When a fix exists, ask the reporter to help verify it.
- Only mention
npm i -g happywhen the fix is in the CLI package. - Keep it short: 3 sentences for dupes, 5 max for canonicals.
Themes
Themes are broad focus areas, not specific bugs. The current priority
list lives in checkpoint.md; align with docs/roadmap.md. A theme
is "table stakes", not "fix redis streams" (too specific, just a bug).
Workflow
Phase 0: Check for items needing my response
Before triaging anything new, scan for issues and PRs where the maintainer was mentioned or commented but hasn't responded to the latest reply. Run:
# Issues/PRs where @bra1nDump was mentioned but hasn't replied last
gh search issues --repo slopus/happy --state open --mentions bra1nDump \
--sort updated --limit 50 --json number,title,updatedAt,comments
# PRs with review requests for bra1nDump
gh pr list --repo slopus/happy --search "review-requested:bra1nDump" \
--json number,title,updatedAt,author
For each result, check if the last comment is from someone other than bra1nDump. Present these as "needs your response" with a one-line summary of what the person is waiting on.
Phase 1: Fetch and cluster
- Pull all open issues from the repo
- Group by rough topic
- Present cluster summary with counts
Phase 2: Deep dive per cluster
For each cluster, spawn a subagent. Use the cheapest good model that
will take its time (currently GPT-5.6 Luna, openai/gpt-5.6-luna).
Each subagent:
- Reads the FULL thread for every issue - body, all comments, reactions, upvotes, linked PRs, cross-references. Not just the opening body. The real context is often in the replies.
- Identifies duplicate groups with a canonical for each
- Notes who filed each issue - repeat contributor? filed a PR? detailed report? This matters for how we respond.
- Credits community members who provided fixes or analysis
- Finds related PRs (open, closed, merged, draft)
Phase 3: Code check
For each cluster's key issues, spawn a subagent that:
- Searches the codebase on main - is the bug actually fixed?
- Checks git log for related merged commits
- Identifies WHO fixed it (community PR? maintainer?)
- Verdict: FIXED_ON_MAIN, PARTIALLY_FIXED, or STILL_BROKEN
Phase 4: Draft actions
For each issue, draft ONE of:
- CLOSE_FIXED - cite the fix, ask reporter to verify
- CLOSE_DUPE - link canonical, explain the connection
- CLOSE_SPAM - close with NO comment, zero engagement
- KEEP_OPEN - record priority and theme in
checkpoint.md - NEEDS_INFO - draft a question for the reporter
Phase 5: Present for review
Show the maintainer a table per cluster:
| # | Title | Author | Action | Draft comment |
Include who opened each issue and any notable context about them. WAIT for approval before executing anything.
Phase 6: Update checkpoint
Before ending the session, update checkpoint.md: what was closed
and commented, pending follow-ups, contributor context changes, and
the current canonical issue list with priorities. Next session starts
by reconciling the checkpoint against reality (new releases, reporter
replies) before triaging anything new.
Version History
-
b824cd0
Current 2026-08-28 22:31
移除 GitHub Project 看板追踪,将优先级和主题统一至 checkpoint.md;更新 triage 指南及 checkpoint 内容,精简状态记录。
- eb980a5 2026-08-20 11:11


