Loading...
Loading...
Responds to unanswered GitHub discussions and issues with codebase-informed replies. Use when clearing community question backlog.
npx skill4agent add levnikolaevich/claude-code-skills ln-914-community-responderPaths: File paths (,shared/,references/) are relative to skills repo root. If not found at CWD, locate this SKILL.md directory and go up one level for repo root. If../ln-*is missing, fetch files via WebFetch fromshared/.https://raw.githubusercontent.com/levnikolaevich/claude-code-skills/master/skills/{path}
| Aspect | Details |
|---|---|
| Input | |
| Output | Response comment(s) published to GitHub |
| Pattern | Read question → Search codebase → Compose response → Fact-check → Publish |
shared/references/community_github_discovery.md{owner}/{repo}repo.idmaintainerdocs/community_engagement_strategy.mdshared/references/community_strategy_template.mdshared/references/community_discussion_formatting.mdshared/references/humanizer_checklist.md$ARGUMENTS42#42# For discussions
gh api graphql -f query='query($owner: String!, $name: String!) {
repository(owner: $owner, name: $name) {
discussion(number: {N}) {
id number title body
category { name }
author { login }
createdAt
answerChosenAt
comments(first: 20) {
totalCount
nodes { author { login } body createdAt }
}
}
}
}' -f owner="{owner}" -f name="{repo}"# For issues (if discussion not found)
gh issue view {N} --repo {owner}/{repo} --json number,title,body,author,createdAt,comments,labels$ARGUMENTSbatch$ARGUMENTS| Question Type | Search Strategy |
|---|---|
| "How do I..." | Grep for keywords in SKILL.md files, README.md, docs/ |
| Bug report | Grep for mentioned function/file, check git log for recent fixes |
| Configuration | Read docs/tools_config.md, CLAUDE.md, relevant SKILL.md |
| Feature request | Check if feature already exists, grep for related patterns |
| Installation | Read README.md installation section, plugin.json |
FOR each item:
1. Extract keywords from question (function names, skill names, error messages)
2. Grep codebase for keywords (max 5 searches)
3. Read relevant files (max 3 files, prioritize SKILL.md and docs/)
4. Check git log for recent changes related to the topic
5. If answer found → proceed to Phase 3
6. If not found → mark as "needs-manual" and suggest the user respond directlygh api graphql -f query='query($owner: String!, $name: String!) {
repository(owner: $owner, name: $name) {
discussions(first: 100) {
nodes { author { login } }
}
}
}' -f owner="{owner}" -f name="{repo}"| Item Type | Response Style |
|---|---|
| Q&A question with answer found | Technical Answer |
| Bug report | Bug Acknowledgment |
| Feature request / idea | Feature Acknowledgment |
| Question already answered elsewhere | Redirect |
| First-time poster (any type) | Welcome + appropriate content style |
| Stale item with progress update | Status Update |
| Cannot find answer in codebase | Mark |
response_styles.mdls {path}grep -r "{name}"humanizer_checklist.md### Batch Responses — {N} items
| # | Type | Title | Style | Status |
|---|------|-------|-------|--------|
| {number} | {Discussion/Issue} | {title} | {Technical/Bug/Welcome/...} | Ready |
| {number} | ... | ... | ... | needs-manual |gh api graphql -f query='
mutation($discussionId: ID!, $body: String!) {
addDiscussionComment(input: {
discussionId: $discussionId,
body: $body
}) {
comment { url }
}
}
' -f discussionId="{discussion.id}" -f body="{response body}"gh issue comment {number} --repo {owner}/{repo} --body "{response body}"