pm-design-absorption
Skill1 starsChanged 4 months agoMITView on GitHub
Turn screenshots, design mockups, and prototype references into stable component, page-skeleton, and rule updates for the PM + React workflow instead of one-off imitation.
In this repository17 other files it gives its agents.
- audience-judgment-framingSkill
- embedded-prd-auditSkill
- freeze-readiness-checkSkill
- memory-export-summarySkill
- pm-demo-designSkill
- pm-devil-advocateSkill
- pm-embedded-prdSkill
- pm-prd-writerSkill
- pm-project-opsSkill
- pm-react-prototype-executionSkill
- pm-requirement-intakeSkill
- pm-requirement-reverse-auditSkill
- pm-value-anchorSkill
- prototype-export-intakeSkill
- request-triageSkill
- rule-change-signalSkill
- state-auditSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
21 rules. About 0 are common, 13 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈13
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
When the user provides screenshots, mockups, prototype images, or says "照着这个继续做", do four things:
- Distinctive: line 17
update formal assets so future rounds improve instead of repeating guesswork
- Distinctive: line 34
Read only the minimum useful set:
- Distinctive: line 56
Before changing anything, classify the reference:
- Distinctive: line 79
Do not start from colors or decoration if the structural pattern is still unclear.
- Distinctive: line 90
If you only edited one preview page, the absorption round is incomplete.
- Distinctive: line 101
When a screenshot or prototype reference reveals a possible reusable component:
- Very specific: line 103
Check whether an active component already covers it.
- Very specific: line 104
If yes, mark or use mapped-active and name the existing component.
- Very specific: line 105
If not covered but the pattern is stable, register it as candidate.
- Very specific: line 106
If the pattern looks reusable but key boundaries are unclear, register it as needs-confirmation and list the missing confirmations.
- Very specific: line 107
If it is only a single weak case, use deferred or wait_for_more_screens instead of pretending it is ready.
- Very specific: line 108
If it should not be reused, mark drop or remove it from tracking.
- Very specific: line 109
Only mark active after formal component source, README/docs, and a reusable reference exist.
- Distinctive: line 132
Always keep a clear boundary between:
- Distinctive: line 137
Do not silently convert design intention into shipped truth.
- Distinctive: line 141
When the user says:
- Distinctive: line 165
When the reference is a real Chinese B-end backend page:
- Very specific: line 166
do not treat DESIGN.md as sufficient by itself
- Distinctive: line 172
prefer updating reusable backend components before celebrating page-level polish
- Distinctive: line 173
if the page only becomes "more polished" but still does not read like a backend workbench, the absorption round is not complete yet
≈ “Common” is an estimate: at least 1 in 5 of the 372,429 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.
Files
PM Design Absorption
Act as a design-absorption skill, not as a generic screenshot summarizer.
Core job
When the user provides screenshots, mockups, prototype images, or says "照着这个继续做", do four things:
- classify what kind of reference this is
- extract reusable structure instead of only visual imitation
- decide whether the change belongs to component, page skeleton, or rule layer
- update formal assets so future rounds improve instead of repeating guesswork
Use this skill when
- the user sends real product screenshots
- the user sends design-phase prototype images
- the user says the current output still does not look like the real product
- a page correction should change the component library, not only one page
Do not use this skill when
- the task is only requirement clarification
- there is no visual reference and no existing design baseline to compare
- the user only wants a quick verbal explanation
Read order
Read only the minimum useful set:
- the new image references
- shared component registry when available:
<projectsRoot>\_component-library\docs\registry\component-registry.md
- current relevant component docs
- current representative preview pages
- component evolution log if there is a likely repeated mismatch
Recommended project files:
src/docs/design-absorption/design-absorption-workflow.mdsrc/docs/design-absorption/incoming-reference-template.mdsrc/docs/design-absorption/component-evolution-log.mdsrc/docs/components/component-baseline.md
Recommended shared component-library files:
<projectsRoot>\_component-library\README.md<projectsRoot>\_component-library\docs\registry\component-registry.md<projectsRoot>\_component-library\docs\absorption\
Classification step
Before changing anything, classify the reference:
Reference truth level
- online reality
- design-stage proposal
- local partial reference
Change type
- new component
- known component new state
- page skeleton change
- only visual polish
Extraction rule
Extract in this order:
- page structure
- information hierarchy
- repeated interaction entry points
- state differences
- visual detail
Do not start from colors or decoration if the structural pattern is still unclear.
Update targets
A useful absorption round should update at least two of:
- component code
- component docs
- preview html
- page skeleton docs
- evolution log
If you only edited one preview page, the absorption round is incomplete.
For PM workflow projects under <projectsRoot>, if the reference reveals a stable reusable control or shell, update the shared component library first or record why it should remain project-local:
- component code under
<projectsRoot>\_component-library\src\ - registry under
<projectsRoot>\_component-library\docs\registry\component-registry.md - absorption note under
<projectsRoot>\_component-library\docs\absorption\
Registry state rule
The registry is a component maturity map, not a parking lot. planned may only be a temporary entry and must carry next_action.
When a screenshot or prototype reference reveals a possible reusable component:
- Check whether an
activecomponent already covers it. - If yes, mark or use
mapped-activeand name the existing component. - If not covered but the pattern is stable, register it as
candidate. - If the pattern looks reusable but key boundaries are unclear, register it as
needs-confirmationand list the missing confirmations. - If it is only a single weak case, use
deferredorwait_for_more_screensinstead of pretending it is ready. - If it should not be reused, mark
dropor remove it from tracking. - Only mark
activeafter formal component source, README/docs, and a reusable reference exist.
Allowed statuses:
planned: newly discovered possible reusable component; must includenext_action.candidate: stable reusable pattern confirmed, but no formal component source yet.needs-confirmation: likely reusable, but missing interaction boundary, naming, or scope confirmation.mapped-active: covered by an existing active component; do not create a duplicate.active: formal component source and docs exist; can be directly reused.external-template: capability lives in a workflow template or embedded shell, not component-library source.deferred: intentionally postponed until more scenarios appear.drop: not worth tracking as reusable.
Allowed next_action values:
extract_component: implement component source and README next.wait_for_more_screens: wait for more references before extracting.merge_with_existing: map to an existing component.defer: postpone.drop: stop tracking.
Absorption output must state which registry entries changed and why.
Trust labeling
Always keep a clear boundary between:
- confirmed from online screenshot
- inferred from design mockup
- temporary assumption still needing confirmation
Do not silently convert design intention into shipped truth.
Iteration rule
When the user says:
- "还是不像"
- "这个细节不对"
- "我们平常不是这个页面"
do not just patch the current page.
You must also ask:
- which component definition was wrong
- which page skeleton was wrong
- whether a stable rule should be added
Current high-priority examples
For this user's current workflow, prioritize absorption for:
- backend resource workspace
- album detail page
- landscape player
- purchase bar continuity
- exercise entry overlay
- playback marker strip
Backend workspace reminder
When the reference is a real Chinese B-end backend page:
- do not treat
DESIGN.mdas sufficient by itself - extract exact component grammar when visible, especially:
- label-left filter rows
- compact toolbar/button placement
- tree/list/table density
- row-level action wording and spacing
- prefer updating reusable backend components before celebrating page-level polish
- if the page only becomes "more polished" but still does not read like a backend workbench, the absorption round is not complete yet
For backend edit forms, check backend/edit in the shared component library before patching a page directly. Label-left rows, input counters, selects, radio groups, switches, number inputs, upload fields, hints, and error states should become or reuse shared edit components.
Change Log
- 2026-04-27: Added shared component library read/write targets so screenshot absorption updates
<projectsRoot>\_component-libraryinstead of remaining chat-only or page-local.
Output expectation
Structure work around:
- what was learned
- what became a reusable asset
- what was updated
- what still needs confirmation
Practical reminder
The goal is not "copy this screenshot once".
The goal is:
- next time the user sends another screenshot, the system starts from stronger assets
- next time a similar page is built, it is closer by default
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
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.

