From thinking
Capture, categorise, and recall learnings from work sessions. Use after completing work, when something unexpected happens, or when explicitly asked to remember something.
npx claudepluginhub hpsgd/turtlestack --plugin thinkingThis skill is limited to using the following tools:
Capture or recall learnings. Use `$ARGUMENTS` to either record a new learning or review existing ones.
Provides UI/UX resources: 50+ styles, color palettes, font pairings, guidelines, charts for web/mobile across React, Next.js, Vue, Svelte, Tailwind, React Native, Flutter. Aids planning, building, reviewing interfaces.
Fetches up-to-date documentation from Context7 for libraries and frameworks like React, Next.js, Prisma. Use for setup questions, API references, and code examples.
Calculates TAM/SAM/SOM using top-down, bottom-up, and value theory methodologies for market sizing, revenue estimation, and startup validation.
Capture or recall learnings. Use $ARGUMENTS to either record a new learning or review existing ones.
Determine the category:
| Category | What it covers | Example |
|---|---|---|
| SYSTEM | Infrastructure, tooling, configuration, environment | "The CI pipeline silently ignores test failures in the linting stage" |
| METHOD | Approach, technique, process improvements | "Splitting the PR into schema-first and logic-second reduced review time" |
| DOMAIN | Business logic, domain knowledge, project-specific insights | "Refunds must be processed within 14 days per the merchant agreement" |
| FEEDBACK | Direct corrections or preferences from the user | "User prefers single bundled PRs for refactors, not multiple small ones" |
Output: Category assignment with reasoning.
Save to the project's memory system using this exact format:
---
name: [short-descriptive-name]
description: [one-line summary — specific enough for future matching]
type: feedback
---
[What happened — the specific situation that triggered this learning]
**Learning:** [The insight or rule extracted — stated as an imperative]
**Why:** [Why this matters — what goes wrong if ignored]
**How to apply:** [When and where to apply this in future work]
**Severity:** [Critical / Important / Minor]
**Category:** [SYSTEM / METHOD / DOMAIN / FEEDBACK]
Rules for writing learnings:
Output: Learning file written to memory.
| Severity | Criteria | Example |
|---|---|---|
| Critical | Caused visible damage, data loss, or significant rework. Must not happen again | "Force-pushed to main and lost 3 commits" |
| Important | Wasted significant time or produced wrong output. Should be avoided | "Spent 2 hours debugging a config issue that was documented in CLAUDE.md" |
| Minor | Suboptimal but not harmful. Nice to improve | "Could have used a glob pattern instead of manual file listing" |
Output: Severity rating with justification.
When something goes notably wrong (user frustration, rework needed, significant mistake), capture additional detail:
### Failure Analysis
**What happened:** [specific failure — not a general category]
**Root cause:** [why it happened — the actual reason, not symptoms]
**What was tried:** [approaches attempted before resolution]
**What worked:** [the eventual fix or resolution]
**Prevention rule:** [what check or rule would prevent recurrence]
Save as a learning with Critical severity. The prevention rule is the most important field — it becomes a future guardrail.
Output: Failure analysis with prevention rule.
When asked to recall, or at the start of work that relates to past learnings:
### Relevant Learnings
| # | Learning | Category | Severity | Applied to current task? |
|---|---|---|---|---|
| 1 | [rule — imperative form] | [category] | [severity] | [Yes — how / No — why not] |
When there are 5+ learnings in a category, synthesise patterns:
### Pattern: [name]
**Observed in:** [count] learnings over [time period]
**Common root cause:** [what keeps causing this]
**Proposed rule:** [generalised imperative that would prevent recurrence]
**Confidence:** [High / Medium / Low — based on evidence count]
When patterns crystallise into high-confidence principles (85%+), promote them to wisdom frames using /wisdom.
## Learning Captured
**Name:** [short name]
**Category:** [SYSTEM/METHOD/DOMAIN/FEEDBACK]
**Severity:** [Critical/Important/Minor]
**Rule:** [the learning as an imperative]
**Saved to:** [file path]
## Relevant Learnings for [context]
| # | Rule | Category | Severity | Applies here? |
|---|---|---|---|---|
| 1 | [learning] | [cat] | [sev] | [yes/no + reason] |
### Patterns detected
[Any patterns from 5+ related learnings]
/wisdom — promote crystallised learnings (85%+ confidence patterns) to wisdom frames for cross-domain synthesis./health-check — audit the learning system's coverage and identify blind spots.