AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Reflect

skill-rodrigo-kiko-claude-reflect-skill-skill · by rodrigo-kiko

Analyzes development sessions to extract learnings from corrections, successful patterns, and revealed preferences. Use when the user wants to reflect on a coding session, extract lessons learned, or update project knowledge. Triggered by /reflect command or phrases like "reflect on this session", "what did we learn today", "extract learnings".

No reviews yet
0 installs
7 views
0.0% view→install

Install

$ agentstack add skill-rodrigo-kiko-claude-reflect-skill-skill

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No 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.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-rodrigo-kiko-claude-reflect-skill-skill)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
7mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

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 →
Are you the author of Reflect? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

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:

  1. 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
  1. Successful Patterns → MEDIUM confidence
  • Approaches that worked without objection
  • Code patterns user accepted
  • Structures repeated successfully
  1. 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:

  1. Summary header with signal count
  2. Learnings grouped by confidence level
  3. Source reference for each learning
  4. Diff preview of proposed CLAUDE.md changes
  5. 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:

  1. Read current CLAUDE.md
  2. Find ## Session Learnings section (or create if missing)
  3. Append new learnings under appropriate confidence subsection
  4. Add timestamp to each learning
  5. Write updated file only after approval

Target File Resolution

Learnings are written to the project's CLAUDE.md:

  1. Look for CLAUDE.md in current working directory
  2. Find section ## Session Learnings
  3. If section doesn't exist, create it at the end of file
  4. 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.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.