agentleFS
rahmanef63rahmanef63/si-coder-agent/skills/sc-dx/SKILL.md

sc-dx

Skill13 starsChanged 2 months agoMITView on GitHub

SI-Coder developer experience skill for frontend codebases: fast orientation, predictable project structure, coherent component APIs, design-token reuse, actionable build/test errors, safe local changes, debugging ergonomics, documentation, and low-friction verification.

The file

We split this skill into the rules it gives an agent

9 rules. About 0 are common, 7 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈7

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 2

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Keep durable instructions in English.

    line 15
  2. Distinctive:

    Do not reorganize a functioning project merely to match a favorite template.

    line 33
  3. Distinctive:

    Prefer semantic component APIs over prop soups and boolean combinations that can represent impossible states.

    line 38
  4. Very specific:

    Keep naming boring and searchable.

    line 39
  5. Distinctive:

    Keep layout/style primitives composable.

    line 40
  6. Distinctive:

    Do not hide important side effects behind innocent-looking helpers.

    line 45
  7. Distinctive:

    Document unusual constraints close to the code or canonical project knowledge, not in tribal memory.

    line 46
  8. Distinctive:

    Do not mark work complete because compilation passed.

    line 66
  9. Very specific:

    When reporting DX issues, use friction → evidence → proposed contract → migration risk → verification.

    line 69

≈ “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.

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

sc-dx — make the frontend easy to understand, change, debug, and verify

Language

Keep durable instructions in English. Reply in the user's language unless requested otherwise.

DX objective

Minimize four times without sacrificing correctness: time-to-understand → time-to-change → time-to-debug → time-to-verify.

Inspect first

Before refactoring, identify:

  • framework/runtime/package manager,
  • source/layout boundaries,
  • component and design-system locations,
  • state/data ownership,
  • CSS/token strategy,
  • build/test/lint/typecheck commands,
  • local environment requirements,
  • generated files and canonical sources,
  • ownership or scope constraints.

Do not reorganize a functioning project merely to match a favorite template.

Frontend DX rules

  1. Canonical source is explicit. Generated copies/artifacts must say how they are regenerated.
  2. Reuse tokens/components before creating near-duplicates.
  3. Prefer semantic component APIs over prop soups and boolean combinations that can represent impossible states.
  4. Keep naming boring and searchable. File/component/action names should reveal purpose.
  5. Keep layout/style primitives composable; avoid scattered magic numbers and repeated one-off values when a token/variable already exists.
  6. Separate product state, view state, and transient interaction state when that distinction improves debugging.
  7. Errors are actionable: state what failed, where, why when known, and the next recovery action.
  8. Commands are predictable, scriptable, and non-destructive by default.
  9. Build/test feedback should identify the smallest useful failure boundary.
  10. Do not hide important side effects behind innocent-looking helpers.
  11. Document unusual constraints close to the code or canonical project knowledge, not in tribal memory.
  12. Preserve existing conventions unless changing them measurably improves the repository.

Component contract

For reusable UI components, prefer:

  • clear required vs optional inputs,
  • controlled/uncontrolled behavior only when needed and documented,
  • semantic variants rather than arbitrary style knobs,
  • typed/validated events and state transitions,
  • accessible defaults,
  • testable deterministic behavior,
  • escape hatches that are explicit rather than accidental.

Design-system DX

A design system should reduce decisions, not create another layer to fight. Keep token roles small and semantic. Prefer existing CSS custom properties/theme tokens. Avoid hard-coded colors, radius, spacing, z-index, and animation values repeated across features when a shared role exists.

Change workflow

For substantial frontend work: inspect → smallest coherent plan → edit → format/lint/typecheck → targeted tests → build → rendered/interaction verification.

Do not mark work complete because compilation passed; DX verification and user-facing verification are separate.

Output

When reporting DX issues, use friction → evidence → proposed contract → migration risk → verification. Prioritize fixes that remove repeated future cost.

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.