Loading...
Loading...
Compare original and translation side by side
Paths: 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}
路径: 文件路径(、shared/、references/)是相对于skills仓库根目录的。如果当前工作目录下找不到,请定位到该SKILL.md文件所在目录,向上一级即为仓库根目录。如果../ln-*目录缺失,通过WebFetch从shared/拉取对应文件。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 |
| 维度 | 详情 |
|---|---|
| 输入 | |
| 输出 | 发布到GitHub的回复评论 |
| 流程 | 读取问题 → 检索代码库 → 编写回复 → 事实校验 → 发布 |
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.mdshared/references/community_github_discovery.md{owner}/{repo}repo.iddocs/community_engagement_strategy.mdshared/references/community_strategy_template.mdshared/references/community_discussion_formatting.mdshared/references/humanizer_checklist.md$ARGUMENTS42#42undefined$ARGUMENTS42#42undefined
```bash
```bashundefinedundefined$ARGUMENTSbatch$ARGUMENTSbatch$ARGUMENTS$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 directly| 问题类型 | 检索策略 |
|---|---|
| "如何实现..."类问题 | 在SKILL.md文件、README.md、docs/目录中检索关键词 |
| Bug反馈 | 检索提到的函数/文件,查看git log确认是否已有近期修复 |
| 配置相关问题 | 读取docs/tools_config.md、CLAUDE.md、相关SKILL.md文件 |
| 功能请求 | 校验该功能是否已存在,检索相关实现逻辑 |
| 安装相关问题 | 读取README.md安装章节、plugin.json文件 |
针对每个条目:
1. 从问题中提取关键词(函数名、skill名称、错误信息)
2. 在代码库中检索关键词,最多执行5次检索
3. 读取相关文件,最多读取3个,优先选择SKILL.md和docs/目录下文件
4. 查看git log中与该主题相关的近期变更
5. 如果找到答案 → 进入阶段3
6. 如果未找到答案 → 标记为"需要人工处理",建议用户直接回复gh 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}"gh 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 |
| 条目类型 | 回复风格 |
|---|---|
| 可找到答案的问答问题 | 技术解答 |
| Bug反馈 | Bug确认 |
| 功能请求/创意 | 功能反馈 |
| 已在其他位置答复的问题 | 跳转引导 |
| 首次发布者(任意类型) | 欢迎 + 对应内容风格 |
| 有进度更新的陈旧条目 | 状态同步 |
| 代码库中未找到答案 | 标记为 |
response_styles.mdresponse_styles.mdls {path}grep -r "{name}"humanizer_checklist.mdls {path}grep -r "{name}"humanizer_checklist.mdundefinedundefined| # | Type | Title | Style | Status |
|---|---|---|---|---|
| {number} | {Discussion/Issue} | {title} | {Technical/Bug/Welcome/...} | Ready |
| {number} | ... | ... | ... | needs-manual |
Then show each response body. User can approve all, approve selectively, or edit individual responses.| 编号 | 类型 | 标题 | 风格 | 状态 |
|---|---|---|---|---|
| {number} | {讨论/Issue} | {title} | {技术解答/Bug确认/欢迎/...} | 准备就绪 |
| {number} | ... | ... | ... | 需要人工处理 |
随后展示每个回复的正文,用户可以选择全部批准、选择性批准、或编辑单个回复。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 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}"gh issue comment {number} --repo {owner}/{repo} --body "{response body}"