papc-learn
Bounded, human-approved learning at the end of a larger task - a short reflection in Danish (what we learned), then at most 3 candidate lessons that Phillip approves; project lessons go into that project's CLAUDE.md/AGENTS.md, global ones into PAPcSetup LESSONS.md (max 25). Use when the user types "/papc-learn", says "hvad lærte vi", "husk det her til næste gang", "gem læringen", when a larger task (feature, PR, setup, research) has just finished, or with "review" to prune old lessons.
- License 许可
- MIT
- 最近更新
- 2026-10-07
- Stars
- ★ 0
- Forks
- 0
01 前言 Front Matter
- name
- papc-learn
- description
- Bounded, human-approved learning at the end of a larger task - a short reflection in Danish (what we learned), then at most 3 candidate lessons that Phillip approves; project lessons go into that project's CLAUDE.md/AGENTS.md, global ones into PAPcSetup LESSONS.md (max 25). Use when the user types "/papc-learn", says "hvad lærte vi", "husk det her til næste gang", "gem læringen", when a larger task (feature, PR, setup, research) has just finished, or with "review" to prune old lessons.
03 SKILL.md 正文
PAPc learn
Learning is useful only while it stays small, true and in one place. This skill is the ONLY way lessons are written. No hooks, no background agents, no automatic capture.
1. Reflect (always)
Write 2-4 lines in Danish: what worked, what went wrong, what to do differently. This is the short reflection Phillip wants after larger tasks. If nothing is worth keeping, say so and stop.
2. Propose at most 3 lessons
Each candidate must pass all four:
- Actionable: an instruction ("Do X when Y"), not a story or a fact.
- Recurring: would change behaviour in a future session.
- Not already covered: not in CORE.md, LESSONS.md, the project's CLAUDE.md/AGENTS.md, or a product-studio skill. If it is, skip it (or propose sharpening the existing line).
- Not personal data: facts about Phillip belong in claude.ai memory, not here. Never secrets, customer data or health/financial details.
Classify each one:
- project (default): only true for this repo/product → the project's
AGENTS.md(orCLAUDE.mdif there is no AGENTS.md), under## Lessons. - global: true across projects - only if Phillip says "altid"/"overalt", or the same lesson already appears in another project's Lessons.
Show them as a numbered list with the target file and ask: "Hvilke skal jeg gemme? (fx 1,3 / ingen)". Save nothing without an explicit yes.
3. Save
Line format everywhere: - YYYY-MM-DD | <rule> | <source> | seen 1x
- Project: edit the project file directly (only the
## Lessonssection; create it at the end if missing). Keep it at max 15 lines; at the cap, merge or retire first. - Global: the file is
plugins/papc-core/core/LESSONS.mdin the PAPcSetup repo. Find a local clone ($PAPC_REPO,~/PAPcSetup,~/papcsetup,~/Documents/GitHub/PAPcSetup) or attachphillippasqualato/PAPcSetupif this session can. Edit, then commitlesson: <short rule>and push. If no clone is reachable, print the exact line and tell Phillip to run/papc-learnin the Code tab where the repo is.- Hard cap 25 lessons. At the cap: propose a merge or a retirement first; never append past it.
- Same lesson seen again: bump
seen Nxand the date instead of adding a line. - A lesson that contradicts CORE.md is not saved; point out the conflict.
- Tell Phillip that global lessons reach other sessions after the plugin updates (
/plugin marketplace update papcsetup).
/papc-learn review
List global lessons older than 90 days or seen only once, and propose keep / merge / retire for each. Apply only what Phillip approves.
04 同仓库更多 Skills
writing-skills
Use when creating new skills, editing existing skills, or verifying skills work before deployment [Superpowers; user-invoked. Use to write or pressure-test a skill, e.g. product-studio changes.]
writing-plans
Use when you have a spec or requirements for a multi-step task, before touching code [product-studio: canonical Code-tab execution, entered via build-ticket; user-invoked otherwise]
writing-for-agents
Writing documents for agents. Use when creating or editing skills, or modifying AGENTS.md or CLAUDE.md.
wizard
Generate an interactive bash wizard that walks a human through steps only they can perform. Use when provisioning infrastructure, setting up credentials or CI secrets, walking an unfamiliar third-party dashboard, or running a one-off migration or cutover. Don't invoke this for steps the agent can perform itself.
webapp-testing
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs. [Python alternative to playwright-skill (canonical for scripted browser checks); user-invoked only.]
web-design-guidelines
Review UI code for Web Interface Guidelines compliance. Use when asked to "review my UI", "check accessibility", "audit design", "review UX", or "check my site against best practices".