agentleFS
SvampenSvampen/claude-skills/skills/insight-capture/SKILL.md

insight-capture

Skill0 starsChanged 9 months agoMITView on GitHub

Quick lightweight insight logging. Use when you notice something interesting during implementation, have a "shower thought" about architecture, or want to capture observations without heavyweight discovery process.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

14 rules. About 0 are common, 11 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Read .claude/project-config.md if it exists

    line 36
  2. Distinctive:

    Use default path listed above

    line 42
  3. Distinctive:

    Ask user to describe the insight using AskUserQuestion:

    line 48
  4. Distinctive:

    Ask user using AskUserQuestion:

    line 62
  5. Distinctive:

    Look for "## Insight Tags" section

    line 73
  6. Distinctive:

    If found, use those tags as suggestions

    line 74
  7. Distinctive:

    If not found, use default tags

    line 75
  8. Distinctive:

    Create filename from insight title:

    line 111
  9. Very specific:

    Ensure folder exists: [insights-path] (from config)

    line 123
  10. Distinctive:

    Ask follow-up questions to flesh it out

    line 267
  11. Distinctive:

    Don't create document until sufficient detail

    line 269
  12. Distinctive:

    Ask: "Would you prefer to create a full discovery doc?"

    line 274
  13. Very specific:

    Check [insights-path] for similar titles/topics

    line 277
  14. Distinctive:

    Ask: "Create new insight or update existing one?"

    line 279

≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Insight Capture Skill

Automates the capture of quick observations, learnings, and insights without requiring a full discovery process.

When to Use

Activate this skill when:

  • User says "capture insight", "log this observation", "note this down"
  • Just noticed something interesting during implementation
  • "Shower thought" about architecture or patterns
  • Quick learning or observation that should be documented
  • Pattern recognition across sessions
  • User says "I just realized..." or "Interesting that..."
  • Want to document something for later exploration

Purpose

Provides lightweight alternative to discovery docs for:

  • Quick observations (1-3 paragraphs)
  • Learnings during implementation
  • Ideas that might become discoveries later
  • Breadcrumb trail for future decisions
  • Supporting evidence for ADRs

Instructions

Step 0: Read Project Config

  1. Read .claude/project-config.md if it exists
  2. Parse ## Documentation Paths section to get:
    • Insights path (default: docs/insights/)
  3. Parse ## Insight Tags section for project-specific tags

If no config exists:

  • Use default path listed above
  • Use default tags
  • Continue with skill execution

Step 1: Gather Insight Information

Ask user to describe the insight using AskUserQuestion:

Question 1: "What did you observe or realize?"

  • Prompt for: 1-3 sentence description of the observation
  • Focus on WHAT was noticed, not necessarily the solution
  • Example: "Caching at the service layer causes stale data issues"

Question 2: "What context led to this insight?"

  • Get brief context (what were you working on?)
  • Example: "While implementing the user profile API"
  • Example: "Reviewing authentication code"

Step 2: Prompt for Why It Matters

Ask user using AskUserQuestion:

Question: "Why does this observation matter? What are the implications?"

  • Prompt for 1-2 sentences explaining impact
  • Example: "Makes debugging harder, could cause production issues"
  • Example: "Could improve performance by 2x if addressed"
  • Example: "Affects how we design future features"

Step 3: Suggest Tags

First, check for project-specific tags in .claude/project-config.md:

  • Look for "## Insight Tags" section
  • If found, use those tags as suggestions
  • If not found, use default tags

Default tags (used if no project config):

  • architecture - Architectural patterns or decisions
  • performance - Performance considerations
  • developer-experience - DX improvements
  • technical-debt - Accumulated debt
  • patterns - Design patterns
  • security - Security considerations
  • testing - Testing approaches
  • api - API design
  • database - Database considerations

Example project config section:

## Insight Tags

Common tags for this project:

- architecture
- performance
- ecs
- bevy
- weapon-system
- combat
- upgrade-system

Ask user:

Suggested tags based on content: [tag1, tag2, tag3]
Would you like to add/remove any tags?

Step 4: Generate Filename

Create filename from insight title:

  • Format: YYYY-MM-DD-brief-title.md
  • Use current date
  • Convert title to kebab-case
  • Max 50 characters for title portion

Example transformations:

  • "Caching causes stale data" -> 2026-01-11-caching-stale-data.md
  • "API versioning approach" -> 2026-01-11-api-versioning-approach.md

Step 5: Create Insight Document

Ensure folder exists: [insights-path] (from config)

Write to [insights-path]/YYYY-MM-DD-title.md:

# [Insight Title]

**Date**: YYYY-MM-DD
**Context**: [What were you working on when you noticed this?]
**Tags**: tag1, tag2, tag3

## Observation

[1-3 paragraphs describing what you noticed. Include:]
- What did you observe?
- What specific examples demonstrate this?
- What patterns did you recognize?

## Why This Matters

[Brief explanation of implications or impact. Include:]
- Why is this observation important?
- What does it affect (performance, DX, architecture, etc.)?
- What problems does it reveal or solve?

## Possible Actions

- [ ] Create discovery doc to explore further
- [ ] Create ADR if decision needed
- [ ] Share with team / discuss
- [ ] Archive (interesting but not actionable)
- [ ] Reference in future work
- [ ] Implement quick fix/improvement

## Follow-up

[Links to discovery docs, ADRs, or work streams that resulted from this insight]
[This section starts empty - updated later when actions are taken]

Step 6: Confirm Creation

Display summary:

Insight captured!

Location: [insights-path]/YYYY-MM-DD-title.md

Title: [Insight Title]
Context: [Context]
Tags: [tag1, tag2, tag3]

The insight has been documented and can be:
- Referenced in future ADRs
- Graduated to a discovery doc if needs deeper exploration
- Archived when actioned or no longer relevant

Step 7: Suggest Next Actions

Based on the insight content, suggest appropriate next actions:

If insight is actionable immediately:

This insight seems actionable. Consider:
- Creating a quick task to address it
- Adding to current session's goals
- Filing as a known issue for later

Would you like to take action now or defer?

If insight needs deeper exploration:

This insight might benefit from deeper exploration. Consider:
- Using /discovery-start to create full discovery doc
- Discussing before committing to approach

Would you like to start a discovery session?

If insight is a candidate for ADR:

This insight suggests a decision point. Consider:
- Creating ADR to document the decision
- Linking this insight as supporting evidence

Ready to create an ADR?

Examples

Example 1: Quick Observation During Implementation

User: "Capture this insight - I noticed our caching is causing issues"

Skill Actions:

  1. Asks: "What did you observe?"
    • User: "Service layer caching causes stale data when database updates"
  2. Asks: "What context?"
    • User: "While debugging user profile updates"
  3. Asks: "Why does it matter?"
    • User: "Users see outdated data, causes confusion and support tickets"
  4. Suggests tags: architecture, performance, technical-debt
  5. Creates insight at [insights-path]/2026-01-11-caching-stale-data.md
  6. Suggests: "This seems actionable. Create a task to investigate cache invalidation?"

Example 2: Architecture Observation

User: "I want to capture an insight about our API design"

Skill Actions:

  1. Asks: "What did you observe?"
    • User: "Our API responses are inconsistent - some return arrays, some objects"
  2. Asks: "What context?"
    • User: "Reviewing frontend API integration code"
  3. Asks: "Why does it matter?"
    • User: "Frontend needs special handling for each endpoint, adds complexity"
  4. Suggests tags: api, developer-experience, patterns
  5. Creates insight at [insights-path]/2026-01-11-inconsistent-api-responses.md
  6. Suggests: "This might warrant an ADR for API response standards. Create ADR?"

Example 3: Pattern Recognition

User: "capture insight"

Skill Actions:

  1. Asks: "What did you observe?"
    • User: "Every time we add a new feature, we forget to add logging"
  2. Asks: "What context?"
    • User: "After debugging a production issue with no logs"
  3. Asks: "Why does it matter?"
    • User: "Debugging takes 3x longer without proper logging"
  4. Suggests tags: developer-experience, patterns, technical-debt
  5. Creates insight at [insights-path]/2026-01-11-missing-logging-pattern.md
  6. Suggests: "Consider creating a checklist or template that includes logging"

Error Handling

If user provides very brief insight:

  • Ask follow-up questions to flesh it out
  • Prompt with examples: "For instance, what specific code demonstrates this?"
  • Don't create document until sufficient detail

If insight seems like it should be a discovery:

  • Warn: "This seems complex enough for a discovery doc rather than quick insight"
  • Suggest: "Consider using /discovery-start skill instead?"
  • Ask: "Would you prefer to create a full discovery doc?"

If similar insight already exists:

  • Check [insights-path] for similar titles/topics
  • Inform user: "Found similar insight: [filename]"
  • Ask: "Create new insight or update existing one?"

If insights folder doesn't exist:

  • Create it: mkdir -p [insights-path]
  • Continue with creation

Quality Checks

Before finalizing, verify:

  • Clear observation stated (what was noticed?)
  • Context provided (when/where/during what?)
  • Impact explained (why it matters)
  • Appropriate tags applied
  • Filename follows convention (YYYY-MM-DD-title.md)
  • Possible actions listed

Notes

  • Insights are lightweight - don't overthink them
  • Better to capture something brief than lose the thought
  • Insights can always be expanded to discoveries later
  • Multiple insights on same general topic are OK (different angles)
  • Review insights periodically to decide: action, archive, or expand
  • Link insights from ADRs as supporting evidence when relevant
  • Insights provide historical context for why decisions were made

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.