agentleFS
Dragoon0xDragoon0x/10x-interface/skills/interface-forensics/SKILL.md

interface-forensics

Skill0 starsChanged 3 months agoMITView on GitHub

Reconstruct the design logic and grammar behind an existing interface from live UI, screenshots, source, or DOM. Use when analyzing why an interface works, rebuilding a reference, or extracting a system from an existing product.

The file

Show its rules and text

We split this skill into the rules it gives an agent

13 rules. About 0 are common, 12 are distinctive, and 1 is very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈12

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 1

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Do not copy the surface. Reconstruct the decisions beneath it.

    line 12
  2. Distinctive:

    Use available live UI, screenshots, recordings, source, DOM, computed styles, assets, and interaction behavior.

    line 16
  3. Distinctive:

    When source is unavailable, label likely mechanisms such as grid/flex, positioning, transforms, transitions, native controls, or …

    line 57
  4. Distinctive:

    If rebuilding, identify which decisions define the interface's character.

    line 67
  5. Distinctive:

    Avoid pixel tracing without hierarchy understanding, invented implementation claims, assuming one screenshot reveals responsiveness, and …

    line 71
  6. Very specific:

    Use references/interface-dna.md to record reconstructed interface grammar with explicit confidence levels.

    line 75
  7. Distinctive:

    Before changing anything, identify the actual user outcome, the existing system, the relevant constraints, and the evidence available.

    line 85
  8. Distinctive:

    Do not begin by choosing a visual treatment.

    line 87
  9. Distinctive:

    Do not review only the happy path.

    line 104
  10. Distinctive:

    Use only scenarios that are relevant to the surface.

    line 121
  11. Distinctive:

    When code exists, verify that the implementation preserves the interface decision.

    line 125
  12. Distinctive:

    If a change improves none of these and only adds decoration, treat it as suspect.

    line 167
  13. Distinctive:

    Do not claim a check that did not occur.

    line 183

≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Interface Forensics

Mission

Understand why an existing interface feels the way it does.

Do not copy the surface. Reconstruct the decisions beneath it.

Evidence

Use available live UI, screenshots, recordings, source, DOM, computed styles, assets, and interaction behavior. Label conclusions by evidence strength.

Interface DNA

Reconstruct:

  • hierarchy
  • typography
  • spacing
  • shape
  • color
  • surface/material
  • density
  • component grammar
  • interaction grammar
  • motion grammar
  • responsive logic
  • state language

Composition

Infer container hierarchy, alignment anchors, spacing groups, repeated modules, visual centers, and content boundaries.

Typography

Determine how family, weight, size, line height, measure, wrapping, and hierarchy create the visual voice.

Material

Determine whether depth comes from tonal difference, border, shadow, blur, overlap, or shape. Do not assume every layer represents elevation.

Interaction

Identify trigger, response, state change, feedback, motion, interruption, and cancellation.

Responsive logic

Determine invariants, adaptive rules, substitutions, collapsing behavior, and priority changes. Do not infer unseen behavior as fact.

Implementation hypotheses

When source is unavailable, label likely mechanisms such as grid/flex, positioning, transforms, transitions, native controls, or state-driven rendering as hypotheses.

Rebuild specification

When useful, produce:

Interface DNA → Structure → Tokens → Components → States → Interaction → Motion → Responsive rules → Implementation hypotheses

Preserve intent

If rebuilding, identify which decisions define the interface's character. Do not blindly reproduce incidental artifacts.

Anti-patterns

Avoid pixel tracing without hierarchy understanding, invented implementation claims, assuming one screenshot reveals responsiveness, and treating visual similarity as functional equivalence.

Reference artifact

Use references/interface-dna.md to record reconstructed interface grammar with explicit confidence levels.

Completion criteria

The underlying grammar can be explained well enough to reproduce the interface's intent without merely tracing its pixels.

Expert Review Protocol

First pass: understand

Before changing anything, identify the actual user outcome, the existing system, the relevant constraints, and the evidence available.

Do not begin by choosing a visual treatment.

Second pass: compare

Ask:

  • What is the simplest credible solution?
  • What is the strongest alternative?
  • What does the current solution cost?
  • What behavior does each option teach the user?
  • Which decision is easiest to reverse?
  • Which failure would be most expensive?

Choose deliberately.

Third pass: stress

Do not review only the happy path.

Apply pressure through:

  • repetition
  • interruption
  • missing content
  • long content
  • slow operations
  • narrow space
  • large text
  • keyboard use
  • touch use
  • focus changes
  • error recovery
  • restoration

Use only scenarios that are relevant to the surface.

Fourth pass: inspect the implementation

When code exists, verify that the implementation preserves the interface decision.

Look for:

  • duplicated sources of truth
  • styling that bypasses the system
  • state that can become stale
  • behavior that differs from adjacent components
  • abstractions that obscure rather than simplify
  • dependencies that are not earning their cost
  • performance work performed without evidence

Fifth pass: critique the result

Ask:

If this were shipped tomorrow, what would users notice that the builder has stopped noticing?

Look for:

  • friction
  • ambiguity
  • inconsistency
  • unnecessary movement
  • weak recovery
  • hidden state
  • visual noise
  • inaccessible behavior
  • fragile edge cases

Sixth pass: distinguish polish from substance

A useful change improves one or more of:

  • understanding
  • speed
  • confidence
  • recovery
  • accessibility
  • consistency
  • maintainability

If a change improves none of these and only adds decoration, treat it as suspect.

Seventh pass: verify

A claim is complete only when an appropriate form of evidence supports it.

Use:

  • direct interaction
  • tests
  • runtime inspection
  • visual comparison
  • accessibility checks
  • performance measurement
  • source inspection

Do not claim a check that did not occur.

Completion standard

Stop when:

  1. the intended outcome is achieved
  2. important states are handled
  3. meaningful failure modes were considered
  4. the interface fits its surrounding system
  5. important claims are verified
  6. remaining imperfections are lower-value than the risk of further change

The goal is not maximal polish.

The goal is a result that is difficult to improve without changing the underlying decision.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.