source-command-self-reflect
Extract learnings from recent PR reviews, conversations, and session patterns to update the knowledge base
- License 许可
- MIT
- 最近更新
- 2026-11-02
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- source-command-self-reflect
- description
- Extract learnings from recent PR reviews, conversations, and session patterns to update the knowledge base
02 资源文件 13
- 参考文档references/lark-doc-create.md5.3 KB
- 参考文档references/lark-doc-fetch.md8.3 KB
- 参考文档references/lark-doc-md.md4.9 KB
- 参考文档references/lark-doc-media-download.md2.1 KB
- 参考文档references/lark-doc-media-insert.md5.9 KB
- 参考文档references/lark-doc-media-preview.md1.6 KB
- 参考文档references/lark-doc-search.md14.5 KB
- 参考文档references/lark-doc-update.md12.2 KB
- 参考文档references/lark-doc-whiteboard.md2.7 KB
- 参考文档references/lark-doc-xml.md7.9 KB
- 参考文档references/style/lark-doc-create-workflow.md2.8 KB
- 参考文档references/style/lark-doc-style.md5.1 KB
- 参考文档references/style/lark-doc-update-workflow.md3.8 KB
03 SKILL.md 正文
source-command-self-reflect
Use this skill when the user asks to run the migrated source command self-reflect.
Command Template
BEADS Self-Reflect
You are performing a self-reflection for the BEADS agent swarm. Your job is to analyze PR review comments, conversation history, and session patterns to extract high-quality, reusable learnings.
Philosophy: Be judicious. Quality over quantity. Each learning should make future development measurably better.
Phase A: PR Comment Analysis
Step 1: Fetch PR Comments
GITHUB_TOKEN=$(gh auth token) npx tsx scripts/beads-fetch-pr-comments.ts --days 7
This outputs PR comments to .beads/temp/pr-comments.json.
Step 2: Extract CodeRabbit's Structured Learnings
cat .beads/temp/pr-comments.json | jq -r '.comments[].body' | grep -A5 "^Learnt from:" | grep "^Learning:" | sed 's/^Learning: //' | sort -u
Evaluate Each CodeRabbit Learning
NOT all CodeRabbit learnings are equal. Evaluate each one:
ACCEPT (High Value)
- Applies to patterns:
Applies to **/*.test.ts: ...- Actionable file-scoped rules - NEVER/ALWAYS rules: Clear, enforceable constraints
- Security/Performance: Critical quality gates
- Gotchas with context: Explains WHY something is problematic
REJECT or DEFER (Low Value)
- PR-specific context: "In PR #X, someone did Y" - Too specific unless the pattern generalizes
- Personality observations: "Developer provides detailed updates" - Not actionable
Quality Filter Questions
Phase B: Conversation & Session Mining (Optional)
Phase C: Config Reflection (Optional)
Step 3: Analyze Comment Patterns
Pattern Detection Checklist
Step 4: Present Candidates for Approval
Candidate Learnings
04 同仓库更多 Skills
clarify-requirements
Resolve genuine pre-execution ambiguity by scanning repo context, generating 1-6 grounded options, and asking 1-3 focused questions via AskUserQuestion. NOT for mid-task use (injection risk); NOT when the goal is already unambiguous; use to disambiguate vague prompts before any file edits.
openmm-md
Run FREE, open-source, Windows-native GPU molecular dynamics via the openmm-md MCP (OpenMM + CUDA on the local NVIDIA GPU). Use for protein / protein-ligand MD when you want a free stack or are on Windows without a Schrodinger license. Covers the full workflow (prepare, solvate, minimize, equilibrate, production, analyze, mmgbsa) AND an honest decision guide vs Schrodinger Desmond, including how to run Desmond legitimately on Linux or a cloud GPU with a real license. This is a deliberately LESSER free alternative and does NOT replace the schrodinger MCP tools. Do NOT use it to pick a free tool when a validated FEP+, WaterMap, IFD-MD, or Prime MM-GBSA result is actually required.
visual-review
Take screenshots of web pages and UI using Playwright for visual review and iteration
status
Diagnostic status report — shows metaswarm installation state, project setup, and potential issues
start
Use when starting work on any task, when the user mentions metaswarm, or when the user wants to begin tracked development work
setup
Interactive project setup — detects your project, configures metaswarm, writes project-local files