tp-design-learn

tp-design-learn is a skill for Claude Code from CurtisThe/three-pillars-plugin. It costs 34 tokens per session (5,154 once invoked), scanned A, original, Apache-2.0.

A follow-up skill that records what a completed design taught the project and identifies related designs that may be affected.

In plain words
What is it for?
It is for reviewing completed design documents and audits, proposing updates to the product roadmap and project documentation, and checking for affected sibling designs.
Why use it?
It helps keep project documentation and connected design work aligned after implementation is finished.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Part of the three-pillars plugin — 40 skills, 58 agents shipped together

Good fit It is for reviewing completed design documents and audits, proposing updates to the product roadmap and project documentation, and checking for affected sibling designs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/curtisthe/three-pillars-plugin/tp-design-learn
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add CurtisThe/three-pillars-plugin --skill tp-design-learn
Clone the repo
git clone --depth 1 https://github.com/CurtisThe/three-pillars-plugin

Made for: Claude Code.

Or install three-pillars, the plugin that ships this one along with the rest of its 40 skills, 58 agents.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tp-design-learn

README.md
[![agentmods](https://agentmods.dev/badge/skills/curtisthe/three-pillars-plugin/tp-design-learn/github.svg)](https://agentmods.dev/skills/curtisthe/three-pillars-plugin/tp-design-learn)
Your own site
<a href="https://agentmods.dev/skills/curtisthe/three-pillars-plugin/tp-design-learn"><img src="https://agentmods.dev/badge/skills/curtisthe/three-pillars-plugin/tp-design-learn/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tp-design-learn

Your own site · 80×15
<a href="https://agentmods.dev/skills/curtisthe/three-pillars-plugin/tp-design-learn"><img src="https://agentmods.dev/badge/skills/curtisthe/three-pillars-plugin/tp-design-learn.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 5,154 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00034 $0.05154
Opus 5.5 $0.00014 $0.02062
Sonnet 5.5 $0.00007 $0.01031
Haiku 4.5 $0.00003 $0.00515

Measured 1mo ago against content hash 579ffbdb9c88, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tp-design-learn scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/tp-design-learn/SKILL.md · 94 lines

How it starts

The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Design Learn

Read a completed design's artifacts and synthesize what was built into proposed updates for project docs and downstream designs. Doc updates go into the design's fragment (skills/_shared/living-doc-fragments.md), never a living doc.

Argument: {design-name} (required) — must match an existing directory under three-pillars-docs/tp-designs/ or three-pillars-docs/completed-tp-designs/. --cheap-tier[=ab] (optional, deprecated) changes nothing: the step-7 cheap-tier drafts run in every invocation, per skills/_shared/cheap-dispatch.md, and <mode> is on (/tp-run-full-design forwards bare --cheap-tier).

Prerequisites

  • design.md and implementation-audit.md (or at minimum plan.md with all tasks Done) must exist. If not, tell the user what's missing and stop.

Steps

  1. Run first-run preflight per skills/_shared/first-run.md.

  2. Validate {design-name} per skills/_shared/validate-name.md.

  3. Locate the design directory: check three-pillars-docs/tp-designs/{design-name}/ first, then three-pillars-docs/completed-tp-designs/{design-name}/.

  4. Read the full design directory: design.md, detailed-design.md, plan.md, implementation-audit.md, and any review.md files.

  5. Read project docs per skills/_shared/read-project-docs.md.

  6. Design Inventory row → the fragment: write the doc changes into three-pillars-docs/changes/{design-name}.md: create it when absent (frontmatter slug, kind: design, date), else edit it in place (rewrite a registration + row, never - it), and set date and learned to today. Under ## Roadmap, in the ### <heading holding the row> block, replace the {design-name} row (- <old>, + <new>; a row not in the table is a lone +) with a short label + link per skills/_shared/living-doc-format.md (e.g., Done — PR #NN — [design](completed-tp-designs/…/design.md)). Until the completion PR opens, write Completion PR pending (never free prose) in the Design Inventory status cell only (placement per skills/_shared/living-doc-format.md); Recent completions uses Done — {pr}.

  7. Current Focus → the fragment: if the roadmap has a ## Current Focus table, propose -/+ lines in a ### Current Focus block under ## Roadmap:

    • Remove the completed design's row.
    • Update "Blocked By" on any row that listed this design as a blocker (clear it if this was the only one) and "Next Action" on any row whose next step changed (e.g., a dependent design can now proceed to /tp-design-detail).
    • Promote the next logical item if removing the row leaves a priority gap, from the Design Inventory designs whose dependencies are now satisfied.
  8. Propose updates into the fragment's other sections, following skills/_shared/propose-doc-edits.md (show the lines, get confirmation): ## Architecture (### <heading in architecture.md> blocks), ## Known issues — add (a new Low is an L-new- block) and — resolve, and the History line (+ - YYYY-MM-DD — summary. under 800 non-ws chars, below that doc's History heading). Explain why the completed design motivates each. The compile bumps *Last updated:* and rolls History and caps over. A design with no doc change still writes the fragment, frontmatter only. Then run python3 "$TP_ROOT"/skills/_shared/changes_fragment.py validate three-pillars-docs/changes/{design-name}.md --repo-root . --require-learned; on exit 1 fix the section it names and re-run.

    • Legacy slug (in .three-pillars/living-doc-legacy.txt; its PR already edits the docs): edit the docs directly, keep the fragment frontmatter-only, update *Last updated:* and add the History line at the top per skills/_shared/living-doc-format.md. In the same commit run python3 "$TP_ROOT"/skills/_shared/history_rollover.py --doc <repo-relative doc> (keep 15), then python3 "$TP_ROOT"/skills/_shared/doc_rollover.py --doc <repo-relative doc> keeping the condensed form per skills/_shared/living-doc-format.md §Condensed shape and caps, and stage each doc's archive in the same commit. File a new Low with python3 "$TP_ROOT"/skills/_shared/low_doc_parts.py target --chars <entry-chars> --create (it names the part, creating known_issues_low_2.md when part 1 is near full), then set the N Low issues → line in known_issues.md to what python3 "$TP_ROOT"/skills/_shared/low_doc_parts.py count prints.
    • Consumer-repo behaviour: if design.md has a ## Consumer-repo behaviour section, propose an architecture.md entry (an ## Architecture block) recording what ships and how it behaves in a user's repo, so the floor this design shipped stays visible after archival.
    • Fragility-class findings → rule proposal: when the design's review, audit or PR-loop trail holds a finding whose fragility_class is in finding_fields.FRAGILE_CLASSES (per skills/_shared/test-fragility.md), draft a per-repo fragility rule proposal (kind, params, reason) alongside a drafted ## Known issues — add block, and put both in this step's approval: a call maps to forbidden-call, a named collection literal to forbidden-literal-name, a file read and asserted on to forbidden-read-assert. Interactive: on approval, run python3 "$TP_ROOT"/skills/_shared/fragility_repo_rules.py add --kind <kind> --params <json> --reason <text> --approved-by <operator> and stage .three-pillars/fragility-rules.json with the step-11 learn commit. --auto: never run add — write the proposal as a Decision Entry (Confidence: Low, "needs operator approval") instead, since an approval cannot be self-granted.

    Cheap-tier proposal drafts (never for vision.md; the loop is skills/_shared/cheap-dispatch.md). Before writing each step-7 proposal, run python3 "$TP_ROOT"/skills/_shared/cheap_tier_cli.py spec --slot docs_draft --root . --cheap-tier <mode> --probe --design {design-name} in Bash with timeout 300000; a null rung means the proposal is written as today. Otherwise write a facts payload JSON (the doc, the section's current text, what changed and why, and every PR number and SHA it may cite), never the session context, and spawn Agent(subagent_type=<spec.agent_ref>, model=<spec.model>, …) to write one scratch file from it: the diff-style proposal as **Before**, **After** and **Why**. Check it with the prose_shape oracle: python3 "$TP_ROOT"/skills/_shared/cheap_oracle_run.py check --slot docs_draft --artifact <A.json> --ctx <C.json> (artifact path; ctx kind docs_draft, root ., facts). On accept the draft is the proposal, which the operator approves as today. A dropped draft means the proposal is written as today. Then run python3 "$TP_ROOT"/skills/_shared/prose_oracle.py save-draft --root <design dir> --slot docs_draft --draft <draft> --final <a file holding the final text> --reviewed <operator approved>; --auto means --reviewed false. Record the attempt per the dispatch doc; under ab, run its pure-slot pair and use neither arm.

    Cheap-tier History line (never for vision.md; the loop is skills/_shared/cheap-dispatch.md). For each History line, run python3 "$TP_ROOT"/skills/_shared/cheap_tier_cli.py spec --slot history_line --root . --cheap-tier <mode> --probe --design {design-name} in Bash with timeout 300000; a null rung means the line is written as today. Otherwise spawn Agent(subagent_type=<spec.agent_ref>, model=<spec.model>, …) on a facts payload JSON (today's date, the doc, the one change to summarize, and every PR number and SHA it may cite), never the session context, to write one scratch file: the dated History line, shown with its doc's proposal. Check it with the prose_shape oracle: python3 "$TP_ROOT"/skills/_shared/cheap_oracle_run.py check --slot history_line --artifact <A.json> --ctx <C.json> (artifact path; ctx kind history_line, root ., facts). On accept it is the proposed line. A dropped draft means the line is written as today. Then run python3 "$TP_ROOT"/skills/_shared/prose_oracle.py save-draft --root <design dir> --slot history_line --draft <draft> --final <a file holding the final text> --reviewed <operator approved>; --auto means --reviewed false. Record the attempt per the dispatch doc; under ab, run its pure-slot pair and use neither arm.

  9. Learn-verification (advisory): run python3 "$TP_ROOT"/skills/_shared/verify_learn.py --range {default}...tp/{design-name} --json (where {default} is the base branch — usually master). It reports three-pillars-docs/** lines (living and completed-tp-designs/) that still name a symbol or file this design retired (deleted/renamed in the diff) — the "learn ran ≠ docs match as-built" gap. Treat any hit as a propagation miss: fold the scrub into the step-7 doc updates. Advisory only — the helper always exits 0 and fails open; never block on it. Surface any remaining hits in the step-12 report (and, in --auto, append them to decisions.md). The three-dot range diffs merge-base→tp/{design-name}, surfacing this design's deletions, not the base side's.

Read the full file on GitHub · 94 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago Changed · -2 lines 579ffbdb9c88
  2. 1mo ago Changed · +1 lines 29588d04f6b7
  3. 1mo ago Changed · +23 lines ba1d3b7efa6f
  4. 3mo ago First seen · 72 lines · 34 tokens per session scan A c9f6922da59a

Subscribe to this mod's changes

tp-design-learn is a skill published in the GitHub repository CurtisThe/three-pillars-plugin (5 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 34 tokens to every session and 5,154 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

tp-design-learn compared with skills from other repositories

tp-design-learn next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tp-design-learnCurtisThe/three-pillars-pluginSkill51mo agoApache-2.0A34Claude Code
nw-diverger-review-criterianWave-ai/nWaveSkill63713d agoMITA43Claude Code
nw-css-implementation-recipesnWave-ai/nWaveSkill63713d agoMITA33Claude Code
nw-fp-usable-designnWave-ai/nWaveSkill63713d agoMITA20Claude Code
nw-futuristic-color-typographynWave-ai/nWaveSkill63713d agoMITA27Claude Code
nw-taste-evaluationnWave-ai/nWaveSkill63713d agoMITA41Claude Code
nw-ux-desktop-patternsnWave-ai/nWaveSkill63713d agoMITA40Claude Code