agentleFS
fusebase-devfusebase-dev/fusebase-flow/.agents/skills/app-quality-patterns/SKILL.md

app-quality-patterns

Skill9 starsChanged 27 days agoMITView on GitHub

Use when drafting a spec/ACs for an app feature, planning or building UI views with filters/search/reports, implementing delete/mutation flows, or reviewing feature work — routes to the cross-project behavioral quality patterns (QP-xx) that recurring consumer-app defects proved necessary (URL reflects view state; deletes define cascade/orphan policy; empty/loading/error states; chevron alignment; double-submit guards...). Patterns become spec ACs by ID and carry copy-ready smoke recipes. Do NOT use for process/lifecycle questions (FLOW_RULES owns those), for stack-specific HOW guidance (CLI skills like app-ui-design own that), or to gate semantically by regex.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 4 are distinctive, and 0 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈4

    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
  1. Distinctive:

    Do NOT paste pattern bodies into specs/handoffs — cite the QP ID (FR-23.

    line 53
  2. Distinctive:

    Do NOT turn QPs into regex/lint gates — behavioral requirements verify at smoke/review (FR-25 lesson, inverse case).

    line 54
  3. Distinctive:

    Do NOT load all categories for every feature — the index exists to scope the read.

    line 55
  4. Distinctive:

    Do NOT use QPs to override stack-specific CLI guidance — QP says WHAT, CLI skills say HOW.

    line 56

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

App Quality Patterns (QP library)

Style: Mode-B-lite router. The patterns live in references/<category>.md — load ONLY the categories the feature touches. Each pattern: ID · Trigger · Requirement · Verify (copy-ready smoke recipe) · Anti-pattern.

Purpose

Cross-project behavioral "definition of done" requirements that LLM-built apps repeatedly miss. They are not stack guidance (CLI skills own HOW) and not process rules (FLOW_RULES owns those) — they are WHAT must be true of the built feature. Distilled from recurring consumer-project defects; the library grows one table row at a time.

Category index (load on trigger match)

CategoryFileLoad when the feature involvesIDs
State & navigationreferences/state-and-navigation.mdviews with filters / search / sort / pagination / tabs / reports / deep links / browser navigationQP-01..QP-04
Data integrityreferences/data-integrity.mdcreate / update / delete flows, related records, caching, retriesQP-10..QP-14
UI polishreferences/ui-polish.mdany user-facing UI: lists, forms, dropdowns, datesQP-20..QP-24

Integration contract (how patterns reach the lifecycle)

PhaseWhat happensOwner
Specifyrequirements-specification scans this index; every matching pattern becomes a spec AC citing the QP ID (e.g., "AC4 — filter/report state encoded in URL; refresh restores exact view (QP-01)"). The AC then flows through tasks → gate → smoke → review on the existing machinery — no new gates.PO
Plandesign brief lists the applicable QP IDs (one line)PO
Implementthe AI Developer reads the cited reference category before building the touching surfaceAI Developer
Gate/Smokethe pattern's Verify line is a copy-ready S<n> smoke recipePO defines, Deploy executes
Reviewcode-review checks QP-cited ACs were honored (semantic, by reading)reviewer

Growth rule

A defect observed across ≥2 projects (or once with clear generality) → add ONE row to the matching category file (new category file only when none fits) via skill-authoring; ship in the next release. Project-specific patterns go in that project's docs/skills/, never here. Keep rows dense — this library is loaded mid-spec.

Anti-patterns

  • Do NOT paste pattern bodies into specs/handoffs — cite the QP ID (FR-23; the AC text carries the requirement one line).
  • Do NOT turn QPs into regex/lint gates — behavioral requirements verify at smoke/review (FR-25 lesson, inverse case).
  • Do NOT load all categories for every feature — the index exists to scope the read.
  • Do NOT use QPs to override stack-specific CLI guidance — QP says WHAT, CLI skills say HOW.

Clean-room note

Original Fusebase Flow content. The patterns codify widely-known web/app engineering practice observed failing in LLM-generated apps; no third-party code, prompts, skill files, or hook scripts are copied. See docs/source-map.md.

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.