AGENT SKILL

devex-principles-and-feedback-loops

Use when deciding what to improve first in a developer-facing product or codebase, weighing developer-experience (DevEx / DX) advice by how strong its evidence is, shortening build, test, lint and review feedback loops, cutting cognitive load, making local setup one command, adding a doctor command, quarantining flaky tests, keeping pre-commit hooks fast, or writing architecture decision records. Triggers on developer experience, DX, DevEx, feedback loops, flow state, cognitive load, build time, flaky tests, onboarding setup, SPACE framework, DX Core 4. Companion to the other developer-experience skills.

License 许可
MIT
最近更新
2026-11-15
Stars
★ 5
Forks
3

01 前言 Front Matter

name
devex-principles-and-feedback-loops
description
Use when deciding what to improve first in a developer-facing product or codebase, weighing developer-experience (DevEx / DX) advice by how strong its evidence is, shortening build, test, lint and review feedback loops, cutting cognitive load, making local setup one command, adding a doctor command, quarantining flaky tests, keeping pre-commit hooks fast, or writing architecture decision records. Triggers on developer experience, DX, DevEx, feedback loops, flow state, cognitive load, build time, flaky tests, onboarding setup, SPACE framework, DX Core 4. Companion to the other developer-experience skills.

03 SKILL.md 正文

Developer Experience: Principles, Evidence, and Feedback Loops

Part 1 of 9 of the Developer Experience Blueprint (plugin developer-experience), covering: Principles; Evidence base; Codebase and feedback loops. Sibling skills: devex-cli-and-errors, devex-api-sdk-and-docs, devex-interfaces-onboarding-and-agents, devex-surface-placement, devex-editor-and-desktop-surfaces, devex-mobile-and-web-surfaces, devex-non-developers-and-visual-design, devex-reference. A reference into a sibling is written Section name → skill.

Currency: the blueprint is dated Oct 23, 2026; its evidence base and the AI-tooling claims age fastest, so re-check those first.

Evidence grades used throughout: A = peer-reviewed or large study, B = credible practitioner or single study, C = vendor or opinion. Thin evidence is flagged where it occurs, and collected under Where the evidence is weak or conflicting in devex-reference.

Oct 23, 2026 · @Adam Matthew Steinberger

The best developer experience comes from short, trustworthy feedback loops, low cognitive load, and interfaces that behave predictably for humans and for AI agents; each rule below carries an evidence grade, and thin evidence is flagged.

Principles

These ten rules are the synthesis; each ends with an evidence grade (A = peer-reviewed or large study, B = credible practitioner or single study, C = vendor or opinion).

  1. Shorten and protect feedback loops. Build, test, lint and review latency decide how often developers stay in flow. Grade B: DevEx (ACM Queue) names feedback loops, cognitive load and flow state as the three core dimensions.
  2. Make behavior predictable. Predictable build times and stable tests matter more than a magic speed threshold. Grade B (Google internal studies; DX newsletter on build times).
  3. Put the next step in every output. Help text, errors and docs all say what to do next, with a runnable example. Grade B (CLI guidelines, Rust diagnostics).
  4. Be consistent before being clever. Same names, same flags, same placement across the whole surface. Grade A for APIs (Myers & Stylos).
  5. Choose safe defaults; make danger explicit. Dry-run, confirmation and non-interactive modes. Grade C (practitioner consensus).
  6. Separate human output from machine output. Data to stdout, messages to stderr, stable JSON on request, meaningful exit codes. Grade B.
  7. Document by purpose. Tutorials, how-tos, reference and explanation are different jobs. Grade C (Diátaxis; read only through secondary sources).
  8. Make local setup one command. Environment setup is the top barrier for newcomers. Grade A (Steinmacher et al. barrier model).
  9. Design for agents too. A root instruction file, structured output and few, well-named tools. Grade C (new, mostly practitioner evidence).
  10. Measure perception and workflow together. Survey developers and pair it with system data; pick one North Star per team. Grade B (DevEx; SPACE).

Evidence base

The field is young and mixes rigorous studies with vendor surveys, so weigh each source by type.

Source What it supports How far to trust it
DevEx, ACM Queue 2023 Feedback loops, cognitive load and flow state as the drivers; measure perception plus workflow Practitioner-researcher framework; widely used
Fagerholm & Münch 2012; Greiler, Storey & Noda (21 interviews) Definitions and factor lists for DX Qualitative, small samples
SPACE framework Productivity has several dimensions; no single metric Conceptual
DX Core 4 A bundled metric set Vendor-affiliated; treat figures cautiously
METR randomized trial, 2025 Experienced developers were 19% slower with AI tools in one narrow setting Small sample, early-2025 tools; do not generalize
Google internal studies Code quality is the strongest causal factor found; build latency has no single threshold; predictability matters Single organization
Steinmacher et al. 57 barriers for OSS newcomers in 7 categories; local setup ranks first Peer-reviewed
Barik et al. / compiler-error studies Developers spend 13–25% of task time reading errors (eye tracking) Small lab studies
Interruption research (Mark) Recovery from interruptions is slow; the often-quoted 23 minutes is contested See the weak-evidence section

Two cautions apply throughout: perception surveys can disagree with telemetry, and the AI-tooling literature is moving faster than the evidence.

Codebase and feedback loops

Code quality and loop speed are the two levers with the best support; everything here serves them.

Structure

  • Keep one obvious entry point per concern, with module names that match the domain vocabulary used in docs and errors.
  • Prefer small, boring, consistently formatted code; enforce style with an autoformatter so review never debates it.
  • Put architecture decisions in short records (ADRs) so "why" survives staff turnover.
  • Keep the public surface small; mark internals private so autocomplete shows only supported choices.

Local setup

  • One command to a working environment (a reproducible shell such as Devbox, a dev container, or a documented make setup). Local setup is the top newcomer barrier in the OSS literature.
  • Seed data and sample config included; secrets via a documented dev-only path.
  • A doctor command that checks versions, ports and credentials and says how to fix each failure.

Build, test, review

  • Track median and tail latency for build, test and CI separately; predictability matters as much as the median.
  • Fast tests run by default; slow suites are opt-in and parallelized. Quarantine flaky tests quickly, because they erode trust in every red build (the commonly quoted figures are secondary-sourced).
  • Pre-commit hooks stay under a few seconds; heavy checks move to CI.
  • Small pull requests, a review-turnaround target, and clear ownership files keep review from becoming the queue everyone waits in.
  • CI failures link to the exact log line and a one-line reproduction command.

04 同仓库更多 Skills

the-vibey-project
the-vibey-project/vibey

white-paper-writing

Use when writing white papers, technical reports, policy documents, thought leadership pieces, or any long-form authoritative document. Triggers on requests to write, structure, outline, or review white papers, technical reports, position papers, policy briefs, or evidence-driven arguments. Also use for B2B content marketing strategy, technical documentation requiring authority, academic-style reports, or any document that must educate while persuading. Use when someone asks "how should I structure this" for a long-form document.

★ 5
the-vibey-project
the-vibey-project/vibey

prose-technical-mechanics

Use when editing or writing prose at a technical/mechanical level: choosing between Anglo-Saxon and Latinate diction, placing information in topic vs stress positions, writing periodic vs cumulative sentences, handling sentence rhythm, punctuation as logic, transitions, paragraph structure, or phonesthetics. Use when someone wants to understand WHY prose works or doesn't, not just surface-level style advice. Triggers on word choice, sentence structure, emphasis, rhythm, diction, or any deep writing mechanics question.

★ 5
the-vibey-project
the-vibey-project/vibey

prose-mechanics

Use when writing, editing, or analyzing prose style; when trying to avoid generic AI-sounding writing; when applying specific prose styles such as journalistic, academic, narrative, KJV biblical, Hemingway plain, Latinate/Jamesian, Orwellian, Augustan, Victorian, Early Modern (Bacon, Browne, Milton), or free indirect discourse; or when coaching someone on writing voice and mechanics. Triggers on any request to improve, analyze, or write in a specific prose style, to fix "AI-sounding" writing, to make prose more vivid or concrete, to vary sentence rhythm, or to understand how a particular writer achieves their effects.

★ 5
the-vibey-project
the-vibey-project/vibey

narrative-structure

Use when structuring stories, pitches, presentations, white papers, or any persuasive narrative; analyzing the hero's journey in fiction or non-fiction; applying StoryBrand for business communication; designing narrative arcs for thought leadership; or understanding Vogler, Snyder, Propp, or Campbell frameworks. Triggers on any narrative structure, storytelling, pitch structure, StoryBrand, hero's journey, three-act structure, Freytag, Save the Cat, narrative arc, or "how should I structure this story/pitch/presentation" request.

★ 5
the-vibey-project
the-vibey-project/vibey

legal-brief-writing

Use when writing legal briefs, motions, or any court filing; when analyzing judicial cognition and persuasion; when applying elite brief-writing techniques from Roberts, Clement, Kagan, Garner; or when structuring legal arguments for maximum persuasion. Also use for autistic/neurodivergent advocates who need to understand how their natural communication style maps to elite legal advocacy. Triggers on any legal writing, brief drafting, motion preparation, or legal argument structuring request.

★ 5
the-vibey-project
the-vibey-project/vibey

journal-publishability-criteria

Use whenever a research paper, article or preprint is being written, revised, reviewed or published, and specifically before every publication of docs/paper.md. Covers what legitimate journals actually gate on, in order of gating — the editor's desk screen (scope, novelty, package problems), what reviewers judge (methodological soundness, claims the evidence can carry, statistical and qualitative reporting), EQUATOR reporting guidelines, the ICMJE authorship criteria, COPE's view of text recycling, the near-universal generative-AI policy (no AI author, disclosure, author responsibility), TOP 2025 transparency standards, how to verify a journal is legitimate, submitting without an institution, and a pre-submission checklist. Triggers on requests to evaluate, review, prepare or submit a paper, to judge publishability, to write a declarations or data-availability section, to disclose AI use, or to check a journal.

★ 5