context-first-design-execution
Skill1 starsChanged 3 months agoMITView on GitHub
Reconstruct the intended outcome of an ongoing design task from the current request, recent confirmed context, active artifacts, and the last accepted or rejected result, then execute with minimal rereading and an early representative checkpoint. Use for short or referential follow-ups such as “继续”, “按前面改”, “这些页面”, “同一个 Section”, “收敛一下”, or “自己看对比”; when the user says Codex is slow, repeats questions, or misunderstands their real intent; and before a specialist design Skill when continuity matters. Preserve the newest explicit instruction and never expand scope from history alone.
In this repository16 other files it gives its agents.
- analyze-brand-web-experienceSkill
- audit-public-report-languageSkill
- build-before-after-change-deckSkill
- build-design-skill-packageSkill
- build-html-sharing-reportSkill
- content-source-truth-auditorSkill
- cross-device-recomposition-specSkill
- design-feedback-to-ruleSkill
- design-qa-evidence-packSkill
- design-system-contract-lockSkill
- enforce-ui-visual-restraintSkill
- extract-design-systemSkill
- html-to-figma-workflowSkill
- interaction-specimen-builderSkill
- sync-responsive-figma-from-webSkill
- web-design-guidelinesSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
15 rules. About 0 are common, 15 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈15
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Keep ongoing design work fast and continuous.
- Distinctive: line 10
Read intent-resolution-contract.md when the request is short, referential, names an uncertain capability, contradicts an earlier result, or …
- Distinctive: line 14
Before planning or using tools, reconstruct these fields privately:
- Distinctive: line 36
Treat new negative feedback as an immediate invalidation of the affected completion claim.
- Distinctive: line 44
Ask only when an unresolved choice would materially change scope, overwrite important work, cause an external side effect, or produce …
- Distinctive: line 45
Prefer a labeled assumption for low-risk details that can be corrected locally.
- Distinctive: line 58
Keep proxy improvements secondary until the primary delta passes.
- Distinctive: line 62
Read indexed memory and the relevant project note first.
- Distinctive: line 78
Do not narrate every tool call or restate the full plan after each milestone.
- Distinctive: line 79
Do not reopen confirmed scope questions because a tool call failed.
- Distinctive: line 80
Use one documented recovery path for a tool failure.
- Distinctive: line 83
Prefer targeted inspection over rereading entire repositories, Figma pages, or long session histories.
- Distinctive: line 84
Stop collecting evidence once one authoritative signal proves the fact and no direct contradiction remains.
- Distinctive: line 96
If any gate fails, report the exact open item and continue when an in-scope corrective action remains.
- Distinctive: line 107
Do not make the user reconstruct the result from process commentary.
≈ “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.
Files
Context-First Design Execution
Keep ongoing design work fast and continuous. Infer from evidence already available, state the working interpretation briefly, validate the primary requested change early, and avoid reopening settled questions.
Read intent-resolution-contract.md when the request is short, referential, names an uncertain capability, contradicts an earlier result, or could route to several design Skills. Use it to resolve intent from context without silently expanding scope.
Build the intent frame
Before planning or using tools, reconstruct these fields privately:
| Field | Required answer |
| Object | Which exact page, frame, component, deck, or state is being discussed? |
| Source of truth | Which latest accepted artifact or version controls the result? |
| Requested delta | What should visibly or behaviorally change now? |
| Locked decisions | What content, structure, style, naming, or scope must remain? |
| Rejected result | Which earlier interpretation or output is invalid? |
| Deliverable | What concrete artifact or mutation is expected? |
| Proof | What direct evidence will demonstrate success? |
Apply this precedence:
current explicit instruction
→ current attached artifact or named node
→ latest confirmed decision in the active task
→ latest user-accepted result
→ older plans and historical notesTreat new negative feedback as an immediate invalidation of the affected completion claim. Do not keep using a rejected result as the baseline.
Resolve references from context
- Resolve “这个、这些、上面、前面、同一个、继续” to the most recent compatible object in the active task.
- Reuse already supplied URLs, node IDs, filenames, viewports, and scope decisions. Do not ask the user to repeat them.
- Infer the narrowest action that satisfies the current request and stays within confirmed scope.
- State one short working interpretation when the request is referential, then act.
- Ask only when an unresolved choice would materially change scope, overwrite important work, cause an external side effect, or produce meaningfully different deliverables.
- Prefer a labeled assumption for low-risk details that can be corrected locally.
Protect the user's real priority
Translate feedback into the primary acceptance delta before making changes.
Examples:
- “间距没调” means geometry and vertical rhythm are the primary delta; token binding or color cleanup cannot prove completion.
- “莫名其妙的灰线” means every visible divider needs a source or semantic justification; a style audit alone is insufficient.
- “太乱” in a change deck means object, action, and Before/After relation need clearer hierarchy; adding more explanatory text usually increases the problem.
- “空白的” in a presentation means editor and thumbnail first frames must show complete content; embedded media presence is not proof of usability.
Keep proxy improvements secondary until the primary delta passes.
Execute with a fast checkpoint
- Read indexed memory and the relevant project note first. Search raw session evidence only for a missing detail.
- Inventory target artifacts and identifiers once. Reuse the inventory unless the source changes.
- Group work by shared rule, not by file count.
- Choose one difficult representative specimen for each rule family.
- Apply the change to the specimen, render or capture direct evidence, and compare it with the source of truth.
- Correct the rule before batching. After the specimen passes, reuse the rule across the remaining targets.
- Revalidate only affected surfaces plus a small regression set. Do not repeat a full baseline audit after every micro-change.
For large tasks, prefer this sequence:
intent frame → one representative specimen → direct comparison → batch reuse → final exception scanAvoid slow or repetitive behavior
- Do not narrate every tool call or restate the full plan after each milestone.
- Do not reopen confirmed scope questions because a tool call failed.
- Use one documented recovery path for a tool failure; stop looping after the bounded retry fails.
- Cache semantic mappings, node IDs, file lists, and validation criteria in the active task.
- Batch independent reads and validations when safe.
- Prefer targeted inspection over rereading entire repositories, Figma pages, or long session histories.
- Stop collecting evidence once one authoritative signal proves the fact and no direct contradiction remains.
Completion gate
Claim completion only when:
- the primary requested delta has direct visual or structural proof;
- rejected patterns no longer appear in the affected scope;
- locked content and decisions remain unchanged;
- representative results were checked before batch propagation;
- remaining exceptions are named and kept open.
If any gate fails, report the exact open item and continue when an in-scope corrective action remains.
Return a compact handoff
Lead with the outcome. Include only:
- the interpretation used;
- the artifacts or surfaces changed;
- the direct validation result;
- any open exception or next decision.
Do not make the user reconstruct the result from process commentary.
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.

