FS

Full-Stack Engineer Engineering specialist role system prompt

Engineering & Architecture · Top-25 Rank #12 (91/100)

Ships thin vertical slices across database, API, and UI while keeping shared types, error contracts, and end-to-end checks aligned.

8 operating rules (5–15 sweet spot) 1,281 chars · ~320 tokens 0 instruction-linter issues ChatGPT 1,500-char & CLAUDE.md ready
Step 1 · Copy or export

Use this Full-Stack Engineer role in your app.

Pick ChatGPT, Claude, Claude Code (CLAUDE.md), Codex (AGENTS.md), Cursor, Meta Muse Soul.md, Gemini Gems, or API JSON, review or edit, then copy.

Platform walkthroughs: 25 AI model profiles · Claude Code · AGENTS.md templates · ChatGPT · Meta Muse Soul.md · Cursor & Rules Matrix

Step 2 · Canonical MIT Markdown

The complete full-stack-engineer.md template.

Behavioral rubric syntax without theatrical persona fluff. Edit any line to match your repository, stack, or team boundaries.

Read-only template · ~/.agenttune/roles/full-stack-engineer.md
# Specialist Role: Full-Stack Engineer

## Mission
Ship complete vertical slices from schema through API to UI without contract drift or premature frameworks.

## Operating rules
- Lead line 1 with the end-to-end slice plan or concrete fix; skip preamble and closing offers.
- Trace the full data path (schema -> server validation -> API contract -> UI states) before editing files so layers stay synced.
- Prefer boring local solutions and existing repo helpers over new packages or speculative wrappers.
- Enforce auth, validation, and data invariants server-side even when client validation exists.
- Run local reads, dev migrations, builds, and end-to-end tests directly without permission loops.
- Pause and confirm with blast radius before touching prod data, billing, external webhooks, auth providers, or root lockfiles.
- Report exact edited files per layer, commands run, and observed pass/fail output; flag any unverified layer explicitly.

## Output contract
- Return: (1) Slice Summary, (2) Layer Changes (DB / API / UI / Tests), (3) Verification Output, (4) Follow-up Risks.

## Boundaries & escalation
Stay within authorized scope, preserve repo scripts and env boundaries, and state material uncertainty when deployment targets or external contracts are unverified.
● full-stack-engineer.md 1281 chars · 8 rules · MIT
Multi-turn anti-drift anchor hook (~18 tokens)

Paste this 1-line reminder on Turn 6–8 of heavy threads or tool loops. In AgentTune's Persona Half-Life study (n = 192), inline hooks held adherence at 93.8%–98.4% vs 78.1% for system prose alone.

[Full-Stack anchor: sync DB->API->UI contracts, prefer boring local code, gate prod/billing/auth changes, report observed test output.]
§ I · See the difference

Same Full-Stack Engineer task. Two outputs.

Side-by-side comparison showing how explicit role boundaries fix default assistant failure modes.

Real-world prompt

"Add a 'save draft' toggle to our settings form so users don't lose edits."

Generic AI assistant

Awesome feature idea! To implement auto-saving drafts, we can set up a Redux slice, debounce user keystrokes, store drafts in localStorage, and add a new GraphQL mutation with optimistic updates. Let's start by installing lodash.debounce and creating a DraftContext provider...

Full-Stack Engineer template

Slice Summary: Add a lightweight local draft + explicit server save path using existing repo patterns, with zero new dependencies. Layer Changes: - DB/API: Confirm whether drafts must sync across devices (`settings_drafts` JSONB column + `PUT /api/settings/draft` with server-side schema validation) or stay single-browser (`localStorage` versioned key with expiry). - UI: Dirty-state indicator, native Save Draft `<button type="button">`, restore/discard banner on reload, and non-blocking error toast if save fails. - Tests: Unit test draft serialization/expiry plus API auth test ensuring users only overwrite their own draft. Scope check: Do drafts need cross-device sync (DB + API endpoint), or is browser-local persistence enough for v1?

What changed: Generic AI jumps straight into heavy libraries (Redux, GraphQL, lodash) without clarifying persistence scope. The Full-Stack Engineer maps all layers cleanly, avoids dependency bloat, and asks the one scoping question that changes the architecture.
§ II · Operating rules & lint audit

Every rule in plain English, and its budget score.

Audited automatically with AgentTune's Instruction Checker against our 72-role taxonomy rubric and 5–15 rule recall sweet spot.

#12 / 72
Taxonomy rank (91/100)
8 rules
Optimal 5–15 budget
1281 ch
Fits 1,500-char ChatGPT cap
0 issues
Verified by core.check()
  • Lead line 1 with the end-to-end slice plan or concrete fix; skip preamble and closing offers.
  • Trace the full data path (schema -> server validation -> API contract -> UI states) before editing files so layers stay synced.
  • Prefer boring local solutions and existing repo helpers over new packages or speculative wrappers.
  • Enforce auth, validation, and data invariants server-side even when client validation exists.
  • Run local reads, dev migrations, builds, and end-to-end tests directly without permission loops.
  • Pause and confirm with blast radius before touching prod data, billing, external webhooks, auth providers, or root lockfiles.
  • Report exact edited files per layer, commands run, and observed pass/fail output; flag any unverified layer explicitly.
§ III · Original research & empirical data

Why default models drift as Full-Stack Engineer.

Every clause in this template traces back to measured failure rates in AgentTune's frozen Wave 1–4 studies and 25-family Personality Atlas.

Solo founders and full-stack developers switch constantly between Claude Code, Codex CLI, Cursor, and open-weight models like DeepSeek or Qwen. AgentTune's Cross-Model Prompt Portability benchmark (n = 200 across 5 model lineages) showed that vague style adjectives left a 60.0 percentage-point gap in cap compliance (Qwen 20%, Opus 5.5 30% vs DeepSeek 80%) and failed destructive Git safety checks on 3 of 5 unprompted models. Replacing adjectives with a compact numbered Markdown contract lifted portability to 98.0% with a 5.0 pp spread (6x tighter) and 100.0% safety gating across every tested lineage.

Cross-Model Prompt Portability Across 5 Lineages (n = 200)AgentTune Cross-Model Portability study (n = 200 across 5 model lineages) comparing mean portability score and cross-model spread in percentage points. Mean Portability % (higher better): Default 79.5, Trait Adjectives 82.0, Numbered Checklist 98.0, Calibrated Spec 97.5; Cross-Model Spread pp (lower better): Default 30.0, Trait Adjectives 22.5, Numbered Checklist 5.0, Calibrated Spec 5.0.Mean Portability % (higher better)Cross-Model Spread pp (lower better)scale 0 to 10079.530.0Default82.022.5Trait Adjectives98.05.0Numbered Checklist97.55.0Calibrated Spec
From AgentTune's Cross-Model Portability study across GPT-6.2 Sol, Claude Opus 5.5, Gemini 4 Neon, DeepSeek V4 Pro, and Qwen 4 Max (n = 200). Numbered Markdown checklists cut cross-model spread 6x (30.0 pp -> 5.0 pp) at 98.0% mean compliance.

Primary evidence: Cross-Model Prompt Portability Across 5 Lineages (n = 200) · Secondary evidence: Agent Autonomy Calibration (Over-Asking vs. Reckless) & Reasoning Effort Shift (n = 240) · Raw role dataset: specialist-roles-analysis.json.

25-family AI model baseline alignment for Full-Stack Engineer

Computed deterministically from AgentTune's frozen 25-family Personality Atlas (Big Five 10–50 sums, IPIP-HEXACO Honesty-Humility 1–5, DISC Dominance 0–20, Shannon entropy bits) and dedicated 8-model AI Slop Fingerprint benchmark (n = 10/model; Track B fallback elsewhere). Cohere Command A (100% midpoint clamp) is excluded from relative min-max rankings and disclosed in our analysis JSON.

Model family Baseline fit Big Five C / A HEXACO H DISC D Entropy Slop/100w Rule priority when deploying
Muse Wonder Top fit #1 75.8/100 C 49.2 · A 49.5 4.91/5 5.12/20 0.33b 0.62 High Agreeableness (49.5/50): enforce pushback rule
Gemini Flash & Hydrogen Top fit #2 73.1/100 C 49.96 · A 44.78 4.9/5 4/20 0.19b 0.3 Low DISC D (4/20): keep verdict-first rule
Claude Sonnet Top fit #3 72.8/100 C 48.96 · A 45.5 4.89/5 4.34/20 0.14b 0.29 High Agreeableness (45.5/50): enforce pushback rule
Gemma Top fit #4 71.3/100 C 46.26 · A 43.4 4.71/5 6.22/20 0.58b 0 Balanced baseline; keep output contract intact
Claude Fable Top fit #5 68.5/100 C 45 · A 47.12 4.84/5 4/20 0.08b 0.25 High Agreeableness (47.12/50): enforce pushback rule
Qwen Coder Watch / Override 22.2/100 C 37.98 · A 39.92 4.07/5 8.14/20 1.04b 2.34 Elevated slop (2.34/100w): keep anti-slop bans
Claude Haiku Watch / Override 31.7/100 C 36.49 · A 38.04 3.89/5 10.12/20 0.95b 0.41 Fluid entropy (0.95b): use 18-tok anchor + numbered rules
Nemotron Watch / Override 32.2/100 C 39.28 · A 37.52 3.97/5 8.34/20 1.22b 0.4 Fluid entropy (1.22b): use 18-tok anchor + numbered rules

Evidence note: Baseline fit scores summarize empirical survey and behavioral profiles from frozen AgentTune datasets, not guaranteed job-task rankings. Treat this template as an editable starting contract and test 2–3 real tasks before and after pasting.

§ IV · Agentic team handoffs

How Full-Stack Engineer fits inside an agentic pod.

Define crisp upstream artifacts, downstream consumers, and stop gates so multi-agent seats do not step on each other.

Upstream inputs required

What to hand this agent first

Scoped feature brief from Product Manager or founder, existing repository architecture, and target verification commands.

Downstream handoffs

Which specialist seats consume this output

  • Code Reviewer: Cross-layer diff mapping schema, API, and UI updates in one reviewable PR.
  • QA & Test Engineer: Happy-path and failure-path verification steps across backend and frontend.
  • Technical Writer: User-visible behavior changes, new config flags, and release-note bullets.
Stop & escalation gates

When this role pauses for human sign-off

  • Cross-cutting schema or auth changes that affect sibling services or external API consumers.
  • Adding paid third-party SaaS integrations, billing flows, or root lockfile upgrades.
  • Ambiguous persistence guarantees (local browser state vs server-synced multi-device state).
§ V · Questions

Common questions on the Full-Stack Engineer template.

When should I use Full-Stack Engineer instead of separate Backend and Frontend roles?

Use Full-Stack Engineer for solo-founder repos, rapid prototypes, and tightly coupled vertical slices where one agent edits schema, API, and UI together. Split into Backend + Frontend specialists when separate teams or repos own each layer.

Does this template fit inside ChatGPT Custom Instructions?

Yes. At under 1,080 characters, it stays comfortably inside ChatGPT's 1,500-character Custom Instructions cap as well as CLAUDE.md, AGENTS.md, and Cursor .mdc files.

How does it work across different AI models?

Because it uses concrete behavioral rules rather than trait adjectives, our 5-lineage portability study showed numbered Markdown contracts hold ~98.0% compliance across GPT, Claude, Gemini, DeepSeek, and Qwen.

For AI agents Machine-readable install protocol & raw .md URL — click to expand

Fetch the canonical Markdown file with YAML install metadata at /library/roles/full-stack-engineer.md, the clean body-only copy-paste block at /resources/roles/full-stack-engineer.md, or the ready-to-save Claude Code subagent definition at /subagents/full-stack-engineer.md.

curl -fsSL https://agent-tune.com/subagents/full-stack-engineer.md -o .claude/agents/full-stack-engineer.md

Full 25-role machine catalog: /library/roles/index.json · Subagents pack: /subagents/index.json · Empirical dataset: /research/data/specialist-roles-analysis.json · MCP server: https://agent-tune.com/mcp (get_role, get_pod).

Copied ✓