Install
$ agentstack add skill-rodrigo-kiko-claude-reflect-skill-skill ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
Reflect Skill - Session Analysis & Learning Extraction
This skill analyzes development conversations to extract actionable learnings that improve future coding sessions by updating the project's CLAUDE.md file.
Language Adaptation
Detect and match the user's working language for all outputs:
- Session analysis reports
- Learning descriptions
- Proposed changes
- Confirmation prompts
Keep technical terms (file paths, function names, code snippets) in their original form.
Core Workflow
Step 1: Scan Entire Conversation
Analyze the COMPLETE current conversation looking for signals. See references/signal-patterns.md for detailed patterns.
Primary signals to detect:
- Explicit Corrections → HIGH confidence
- User says "No, don't do X" / "Use Y instead"
- User states "Never/Always do X"
- User explains why something was wrong
- Successful Patterns → MEDIUM confidence
- Approaches that worked without objection
- Code patterns user accepted
- Structures repeated successfully
- Revealed Preferences → LOW confidence
- Style choices (naming, comments, structure)
- Communication preferences
- Single observations needing validation
Step 2: Classify by Confidence Level
Apply criteria from references/confidence-levels.md:
- HIGH: Direct, unambiguous corrections or rules from user
- MEDIUM: Patterns that worked well, implicit preferences confirmed by acceptance
- LOW: Single observations that need future validation
Step 3: Generate Analysis Report
Format output per references/output-format.md:
- Summary header with signal count
- Learnings grouped by confidence level
- Source reference for each learning
- Diff preview of proposed CLAUDE.md changes
- Action prompt for user approval
Step 4: Apply Changes (ONLY with explicit approval)
CRITICAL RULES:
- NEVER modify any file without explicit user approval
- Show EXACT diff of what will be added
- Wait for user to type Y, N, or E
- Preserve ALL existing content in CLAUDE.md
Update process:
- Read current CLAUDE.md
- Find
## Session Learningssection (or create if missing) - Append new learnings under appropriate confidence subsection
- Add timestamp to each learning
- Write updated file only after approval
Target File Resolution
Learnings are written to the project's CLAUDE.md:
- Look for
CLAUDE.mdin current working directory - Find section
## Session Learnings - If section doesn't exist, create it at the end of file
- Append new learnings (never overwrite existing ones)
Learning Format in CLAUDE.md
Use this exact structure:
## Session Learnings
> Auto-updated by /reflect command. Review periodically and promote stable learnings to main sections.
### 🔴 HIGH CONFIDENCE (Strict Rules)
#### [Category Name]
- **[Topic]**: [Clear rule description]
- Added: [YYYY-MM-DD]
- Context: [Why this matters, what went wrong]
### 🟡 MEDIUM CONFIDENCE (Preferred Patterns)
#### [Category Name]
- **[Pattern]**: [Description of what works well]
- Added: [YYYY-MM-DD]
### 🔵 LOW CONFIDENCE (Observations)
- [Observation that needs validation]
- Added: [YYYY-MM-DD]
Quality Guidelines
BE CONSERVATIVE - Better to miss a learning than add noise.
DO add learnings that are:
- Specific to this project's tech stack
- Actionable and clear
- Not already in CLAUDE.md
- Likely to prevent future mistakes
DO NOT add learnings that are:
- Generic common sense ("write clean code")
- Already documented in CLAUDE.md
- One-time situational decisions
- Contradicting existing rules
- Too vague to be actionable
Categories for This Project
Group learnings by relevant categories such as:
- Supabase (client patterns, RLS, queries)
- Stripe (webhooks, subscriptions, API)
- Next.js (API routes, middleware, components)
- TypeScript (types, patterns)
- Database (schema, migrations)
- Authentication (flows, security)
- UI/UX (components, patterns)
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: rodrigo-kiko
- Source: rodrigo-kiko/claude-reflect-skill
- License: MIT
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.