Reflecting on Learnings
Analyzes conversations to identify learnings, patterns, and techniques for capture in skills/snippets. Proposes updates or new skills, shows preview before changes. Use when user says "reflect", "what did we learn", or after complex tasks.
What this skill does
# REFLECT: Capture Learnings from Conversations
## Triggers
- User says "REFLECT" or "what did we learn?"
- End of complex task with new techniques
- After solving tricky problems with insights
- After using multiple skills in a session
## Core Principle
**Learn from doing.** Capture discoveries (techniques, approaches, patterns) into skills/snippets for future sessions.
## Workflow
### 1. Track Skills Used
Before analyzing, document all skills invoked during the session:
- Which skills were executed (e.g., "using-github-cli", "building-artifacts")
- When they were invoked (early, middle, late in session)
- How effective they were for the task
- Any patterns in skill usage
- Skills that worked well together vs. conflicts
Create or update eval file in `evals/` with this metadata.
### 2. Analyze Conversation
Identify:
- Tasks completed, problems solved, techniques used
- New approaches that worked, mistakes/lessons learned
- Patterns, effective tool combinations
- Knowledge gaps filled, misunderstandings corrected
- How invoked skills contributed to the solutions
### 2.5. Analyze Quibbler Interactions
Consider what rules could improve Quibbler's behavior:
- What patterns did you notice that Quibbler missed or could have caught earlier?
- Are there project-specific checks Quibbler should enforce (e.g., "always run X test before claiming completion")?
- What guidance would help Quibbler make better decisions about code quality in this project?
- Are there false positives where Quibbler flagged something unnecessarily?
**Decision**: Plan rules for `.quibbler/rules.md` that guide Quibbler to be more effective and accurate.
### 3. Categorize Discoveries
For each discovery:
**Update existing?** → Which skill/snippet? Which section? Correction/addition/clarification?
**Create new?** → Distinct topic? Independent invocation? Fills gap?
**Skip?** → Too specific? Already covered? Adds noise?
### 4. Store Evaluation Data
Save findings to `~/.claude/plugins/marketplaces/warren-claude-code-plugin-marketplace/claude-context-orchestrator/evals/`:
**File format:** `evals/{date}_{session_name}_{context}.md`
Example: `evals/2025-10-22_main_database-optimization.md`
**Evaluation file structure:**
```json
{
"date": "YYYY-MM-DD",
"session_name": "[name]",
"context": "[brief_description]",
"reproducible_prompt": "[original user prompt]",
"skills_invoked": [
"skill-name-1",
"skill-name-2"
]
}
```
### 5. Present Report
```
# Reflection Report: [Topic]
## Summary
[What was accomplished and key learnings]
## Discoveries
### [Discovery Name]
**Learned:** [Description]
**Matters:** [Value]
**Action:** Update `skills/[name]/SKILL.md` [section] OR Create `skills/[new]/SKILL.md`
## Proposed Changes
**Updates:**
`skills/existing/SKILL.md`
```diff
+ Add section on [technique]
+ Include example: [from conversation]
! Correct misconception
```
**New:**
`skills/new-skill/SKILL.md` - [Purpose], [Triggers], [Content]
**Summary:** [N] updates, [N] new, [Impact]
---
**Proceed? (yes/no)**
```
### 6. Get Confirmation
**CRITICAL:** No changes without explicit approval. Ask: "Review above. Proceed?"
### 7. Apply Changes (After Approval)
**Update existing:**
- Read file → Edit tool → Preserve structure → Add to appropriate sections
**Create new:**
- Use templates → YAML frontmatter → Clear description/triggers → Add examples
**Verify:**
- Confirm changes → Show summary → Provide paths
### 8. Report Completion
```
✅ Reflection complete!
Eval stored: evals/2025-10-22_main_database-optimization.md
Updated: skills/skill-1/SKILL.md (added X)
Created: skills/new-skill/SKILL.md
Skills tracked: [skill-1, skill-2, skill-3]
Learnings captured for future sessions.
```
## Analysis Strategies
**Look for:**
- Explicit learnings ("I discovered...", "key insight was...")
- Problem → Solution patterns (reusable workflows)
- Comparisons ("X didn't work, Y did")
- User corrections (misunderstandings to document)
- Repeated patterns (done multiple times = pattern)
- Tool/technique combinations
**Identify:**
- Before/After states, decision points
- Debugging journeys, integration patterns
- Error corrections → insights
**Prioritize (✅) vs Skip (❌):**
- ✅ High reusability, fills gaps, corrects misconceptions, simplifies complexity, from real problem-solving
- ❌ Edge cases, already documented, obvious, adds noise
## Best Practices
**Analyzing:** Be selective. Focus on "aha moments" not procedures. Prioritize future value. Patterns > single instances.
**Proposing:** Be specific (exact files/sections). Show value. Use examples. Clear preview.
**Updating:** Minimal edits. Preserve structure. Add, don't replace (unless correcting). Match existing style.
## File Locations
**Skills directory:**
```
/Users/wz/.claude/plugins/marketplaces/warren-claude-code-plugin-marketplace/claude-context-orchestrator/skills/{skill-name}/SKILL.md
```
**Snippets directory:**
```
/Users/wz/.claude/plugins/marketplaces/warren-claude-code-plugin-marketplace/claude-context-orchestrator/snippets/local/{category}/{snippet-name}/SKILL.md
```
**Evals directory:**
```
/Users/wz/.claude/plugins/marketplaces/warren-claude-code-plugin-marketplace/claude-context-orchestrator/evals/{date}_{session}_{context}.md
```
**Finding files:**
```bash
# Find a skill
find /Users/wz/.claude/plugins/marketplaces/warren-claude-code-plugin-marketplace/claude-context-orchestrator/skills -name "*keyword*"
# Find a snippet
find /Users/wz/.claude/plugins/marketplaces/warren-claude-code-plugin-marketplace/claude-context-orchestrator/snippets -name "*keyword*"
# Search for content
grep -r "search term" /Users/wz/.claude/plugins/marketplaces/warren-claude-code-plugin-marketplace/claude-context-orchestrator --include="*.md"
```
**Common snippet categories:**
- `documentation/` - Guides, references, how-tos
- `development/` - Code patterns, debugging
- `communication/` - Email, writing templates
- `productivity/` - Workflow, automation
- `utilities/` - Tools, scripts
## Example
```
User: "REFLECT on embedding images"
Session eval created:
```json
{
"date": "2025-10-22",
"session_name": "main",
"context": "Learned proper workflow for embedding Wikimedia Commons images",
"reproducible_prompt": "Help me create an artifact with images from Wikimedia Commons",
"skills_invoked": [
"fetching-images",
"building-artifacts",
"making-clearer"
]
}
```
# Reflection Report: Wikimedia Commons Images
## Summary
Learned proper workflow: WebSearch → WebFetch → verify → embed. Key: don't guess URL structures.
Skills combination (fetching + building) was highly effective.
## Discoveries
### Proper Workflow
**Learned:** WebSearch for file page → WebFetch for URL → curl verify → use in HTML
**Matters:** Prevents broken links, ensures attribution
**Action:** Update `skills/building-artifacts/SKILL.md` "External Resources" section
### Common Mistake
**Learned:** Wikimedia uses hash directories (/commons/7/72/Image.jpg) - can't guess
**Matters:** Prevents 404 errors
**Action:** Create `snippets/workflows/fetching-images/SNIPPET.md`
## Proposed Changes
**Update:** `skills/building-artifacts/SKILL.md`
+ Add "Embedding Images" section with 4-step workflow
! Note pitfall: Don't guess URL structures
**New:** `snippets/workflows/fetching-images/SNIPPET.md`
Purpose: Image embedding reference
Triggers: "embed image", "wikimedia commons"
Content: WebSearch patterns, WebFetch prompts, verification, attribution
**Summary:** 1 update, 1 new. Impact: Prevents common embedding mistakes.
---
**Proceed? (yes/no)**
User: "yes"
✅ Reflection complete!
Eval stored: evals/2025-10-22_main_image-embedding.md
Updated: skills/building-artifacts/SKILL.md (image embedding)
Created: snippets/workflows/fetching-images/SNIPPET.md
```
## Decision Guide
**Add when:**
- ✅ Concrete workflows from practice, corrections, proven patterns, actual examples, common pitfalls
**Skip when:**
- ❌ Theoretical/untested, edge caseRelated in General
modeling-omnistudio-epc-catalog
IncludedSalesforce Industries CME EPC product-modeling skill for Product2-based catalog creation. Use when creating EPC products, configuring product attributes, building offer bundles with Product Child Items, or reviewing EPC DataPack JSON metadata for product catalog changes. TRIGGER when: user creates or updates Product2 EPC records, AttributeAssignment payloads, AttributeMetadata/AttributeDefaultValues, Offer bundles, or ProductChildItem relationships. DO NOT TRIGGER when: designing OmniScripts/FlexCards/Integration Procedures (use building-omnistudio-omniscript, building-omnistudio-flexcard, or building-omnistudio-integration-procedure), implementing Apex business logic (use generating-apex), or troubleshooting deployment pipelines (use deploying-metadata).
relationship-science-coach
IncludedUse this skill for direct, practical adult relationship coaching: couples conflict, repair, trust, marriage, dating, flirting, attachment patterns, emotional connection, sex, desire differences, eroticism, kink negotiation, affection, love languages, breakups, and long-term passion. Draw on Gottman, EFT and Hold Me Tight, attachment science, modern sex research, Perel, Nagoski, Kerner, Schnarch, Love and Stosny, and flexible love-language tools. Be concrete and low-hedge. Redirect only for imminent danger, abuse, coercive control, minors, non-consent, self-harm, stalking, or medical/legal/psychiatric decisions.
building-sf-integrations
IncludedSalesforce integration architecture and runtime plumbing with 120-point scoring. Use this skill to set up Named Credentials, External Credentials, External Services, REST/SOAP callout patterns, Platform Events, and Change Data Capture. TRIGGER when: user sets up Named Credentials, External Services, REST/SOAP callouts, Platform Events, CDC, or touches .namedCredential-meta.xml files. DO NOT TRIGGER when: Connected App/OAuth config (use configuring-connected-apps), Apex-only logic (use generating-apex), or data import/export (use handling-sf-data).
venue-templates
IncludedAccess comprehensive LaTeX templates, formatting requirements, and submission guidelines for major scientific publication venues (Nature, Science, PLOS, IEEE, ACM), academic conferences (NeurIPS, ICML, CVPR, CHI), research posters, and grant proposals (NSF, NIH, DOE, DARPA). This skill should be used when preparing manuscripts for journal submission, conference papers, research posters, or grant proposals and need venue-specific formatting requirements and templates.
let-fate-decide
IncludedDraws the 12 Houses of the Zodiac Tarot spread to inject entropy into planning when prompts are vague, ambiguous, or casually delegated. Interprets the spread to guide next steps. Use when the user says 'let fate decide', 'YOLO', 'whatever', 'idk', or other nonchalant phrases, makes Yu-Gi-Oh references, or when you are about to arbitrarily pick between multiple reasonable approaches. Prefer over ask-questions-if-underspecified when the user's tone is casual or playful rather than precision-seeking.
net-ops
IncludedCross-platform network troubleshooting (Windows, macOS, Linux) via local or remote shell. Use for: DNS broken, can't resolve hostnames, nslookup/dig works but apps fail, NRPT, WFP, scutil, /etc/resolver, systemd-resolved, /etc/resolv.conf, NetworkManager, VPN DNS leak residue (ProtonVPN/Mullvad/WireGuard/AnyConnect), AV/firewall blocking DNS or DoH, Tailscale DNS interaction, intermittent connectivity, remote diagnostics over SSH.