by Humaan

DNA Workbench

Prompt stem library — copy, paste, ship

Prompt stem packs for Cursor/Claude. Baseline quality: checklist + artifact paths + failure modes, dense guidelines, 2–3 examples per stem.

Install DNA first (no cloning)

Ask Cursor, a Cloud Agent, or Claude to install @superhumaan/dna-by-humaan from npm, or run npx @superhumaan/dna-by-humaan init -y yourself. Stems install on npx @superhumaan/dna-by-humaan doctor.

See install prompts →

127 stem packs — each includes:

  • Copy-paste prompts for Cursor chat
  • guidelines.md — MUST / NEVER rules the AI must follow
  • expectations.md — output format and definition of done
  • Installed to .DNA/stems/<id>/ on npx @superhumaan/dna-by-humaan doctor

Prompt stem packs

Each stem is a copy-paste prompt plus guidelines, expectations, context, and examples — installed to .DNA/stems/ so the AI sticks to the workflow.

127

Stem packs

npx dna doctor installs all stems

Copy a prompt → paste in Cursor → AI reads stem guidelines

Session

Bootstrap, context, health checks

Work with DNA

`.DNA/stems/work-with-dna/`

/work-with-dna

Start any DNA-aware session — plain language, DNA runs CLI and loads context.

Copy into Cursor

Help me with this project using DNA

I just ran dna init — what should we do first?

Use DNA to figure out what this repo needs

Load context

`.DNA/stems/load-context/`

/load-context

Load domain DNA context — security, backend, frontend, QA, compliance.

Copy into Cursor

Load security context for this session

Give yourself full backend DNA context

Load QA and testing context from DNA

Health check

`.DNA/stems/health-check/`

/health-check

Doctor + validate — scaffold health, hooks, CI, rules, with plain-English results.

Copy into Cursor

Is DNA healthy?

Check if DNA is set up correctly

Fix my git hooks and CI scaffolding

Keep DNA current

`.DNA/stems/keep-dna-current/`

/dna-update

Upgrade DNA CLI and refresh workbench stems + knowledge packs.

Copy into Cursor

Update DNA to the latest version

Refresh prompt stems and knowledge packs

Is there a newer DNA CLI?

Analysis

Understand codebase, gaps, audits

Analyze project

`.DNA/stems/analyze-project/`

/analyze-project

Deep analysis — stack, auth, integrations, P1–P3 gaps, ordered next steps.

Copy into Cursor

Run a full analysis on my project

Analyze this codebase and tell me what's missing for DNA maturity

What are the P1 gaps in this repo?

What next after analyze?

`.DNA/stems/what-next-after-analyze/`

/what-next

Turn analyze output into an actionable plan — P1 gaps, IVF, shared library, features.

Copy into Cursor

I ran analyze. React, 80 API routes, P1 shared library gap, P1 build rules missing. What do I do next?

Here's my analyze output — what should we tackle first?

What do I do next with this analysis?

Scan project

`.DNA/stems/scan-project/`

/scan-project

Quick stack scan — dependencies, tests, CI, Impressions drift score.

Copy into Cursor

Quick scan of this project

Check for Impressions drift

What's the drift score?

Stack & hosting

`.DNA/stems/stack-hosting/`

/stack-hosting

Show detected stack, hosting, and which CI workflows DNA scaffolds.

Copy into Cursor

What stack did DNA detect?

Are we on Vercel — will preview CI install?

Show hosting and database detection

Recommend architecture

`.DNA/stems/recommend-architecture/`

/recommend-stack

Solution architecture and stack recommendations from DNA.

Copy into Cursor

Recommend a stack for this greenfield project

What architecture should we use?

Run DNA recommend for this app

Security audit

`.DNA/stems/security-audit/`

/security-audit

Security-focused analysis — auth patterns, secrets, OWASP alignment.

Copy into Cursor

Run a security audit on this codebase

Check auth patterns and secrets handling

Are we following DNA security behaviour?

Plan fleet scan

`.DNA/stems/plan-fleet-scan/`

/plan-fleet-scan

Plan multi-project scan with cache, care signals, and kit/DNA health across a portfolio.

Copy into Cursor

Plan a fleet scan across all products

Multi-project DNA health and care signals

Scan the portfolio with cache and kit status

Expo architect

`.DNA/stems/expo-architect/`

/expo-architect

Architecture decision record for Expo iOS/Android — workflow, Router, BFF, state, auth storage, and what must stay native.

Copy into Cursor

Architect this Expo app for iOS and Android

Decide Expo vs bare, BFF, and navigation before we code

Write an ADR for our React Native architecture

Expo workflow decision

`.DNA/stems/expo-workflow-decision/`

/expo-workflow-decision

Choose Expo Go vs development build vs CNG prebuild vs bare — and when a native rebuild is mandatory.

Copy into Cursor

Should we use Expo Go or a dev client?

Do we need prebuild / bare workflow?

When must we leave Expo Go?

Expo native modules

`.DNA/stems/expo-native-modules/`

/expo-native-modules

When to add a config plugin or custom native module — autolinking, CNG, and the binary/OTA impact.

Copy into Cursor

Do we need a config plugin for this SDK?

Add a custom native module to Expo

Why Expo Go broke after we added this library

Features

Plan and ship through agent loop

Ship a feature

`.DNA/stems/ship-feature/`

/ship-feature

Plain-language feature → agent loop → plan approval → implement → quality → push.

Copy into Cursor

Add an admin portal for support staff

Build RBAC for managers and HR

I want providers to record phone calls and transcribe notes

Plan feature

`.DNA/stems/plan-feature/`

/plan-feature

Plan a platform feature from requirements — no implementation yet.

Copy into Cursor

Plan the audit logging feature

DNA plan feature for notifications

Scope this feature before we build

Plan RBAC

`.DNA/stems/plan-rbac/`

/plan-rbac

Plan RBAC and zero-trust from plain-language requirements.

Copy into Cursor

Plan RBAC for admin and support roles

Design zero-trust access for this API

Who should see what in the admin portal?

Generate feature scaffold

`.DNA/stems/generate-feature/`

/generate-feature

Generate code scaffold for a DNA platform feature (audit-logging, etc.).

Copy into Cursor

Generate audit logging scaffold

Scaffold the notifications platform feature

Platform codegen

`.DNA/stems/platform-codegen/`

/platform-codegen

Scaffold SSO, multi-tenant, feature flags, gradual rollout, or audit logging.

Copy into Cursor

Scaffold SSO for this app

Add multi-tenant middleware

Generate feature flags scaffold

Set up gradual rollout per tenant

Plan admin portal

`.DNA/stems/plan-admin-portal/`

/plan-admin-portal

Plan /admin as a new-tab route tree with RBAC-wrapped link, route guards, and requireAdmin APIs.

Copy into Cursor

Plan an admin portal for support staff

Add a backoffice in a new tab with RBAC

Design /admin with requireAdmin on APIs

Build analytics dashboard

`.DNA/stems/build-analytics-dashboard/`

/build-analytics-dashboard

Plan/build a KPI grid with panels and hot lists — Issues/Projects style density.

Copy into Cursor

Build a KPI dashboard with hot lists

Add analytics panels like Issues and Projects

Design an ops dashboard with KPI grid

Design onboarding

`.DNA/stems/design-onboarding/`

/design-onboarding

Design first-run, kit install, and Continue-to-dashboard onboarding flows.

Copy into Cursor

Design first-run onboarding for kit install

Plan Continue-to-dashboard after setup

Shape the new-user onboarding flow

Plan MCP server

`.DNA/stems/plan-mcp-server/`

/plan-mcp-server

Plan an MCP server for Cursor/Claude — tools, security, and client wiring.

Copy into Cursor

Plan an MCP server for this project

Design MCP tools for Cursor

Scope a Model Context Protocol server

Implement i18n

`.DNA/stems/implement-i18n/`

/implement-i18n

Add locales, RTL, and copy — locale routing, translation files, fallback locale.

Copy into Cursor

Add i18n with English and Thai

Implement RTL and locale routing

Localise UI copy for this app

Expo backend for frontend

`.DNA/stems/expo-bff/`

/expo-bff

Plan a mobile Backend-for-Frontend — aggregation, auth token exchange, payload shaping, versioning, and offline-friendly APIs.

Copy into Cursor

Design a BFF for our Expo app

Don't let the phone talk to six microservices

Plan backend-for-frontend for iOS and Android

Expo init

`.DNA/stems/expo-init/`

/expo-init

Scaffold or repair an Expo app — TypeScript, Expo Router, EAS, theme, and DNA mobile UI patterns.

Copy into Cursor

Scaffold an Expo app with Router

Init React Native Expo TypeScript

Create the iOS and Android Expo project

Expo Router navigation

`.DNA/stems/expo-router-navigation/`

/expo-router-navigation

File-based Expo Router — groups, auth gates, tabs, stacks, deep links, and iOS/Android back behaviour.

Copy into Cursor

Set up Expo Router with auth groups

Fix our mobile navigation and deep links

Plan tabs vs stacks for iOS and Android

Expo app config

`.DNA/stems/expo-app-config/`

/expo-app-config

Dynamic app.config.ts — per-flavor names, bundle IDs, plugins, and env. No secrets in the config that ships to the client.

Copy into Cursor

Set up dynamic Expo app.config

Different bundle IDs for preview vs production

Configure Expo plugins in app.config.ts

Expo iOS permissions

`.DNA/stems/expo-ios-permissions/`

/expo-ios-permissions

iOS permission usage strings, privacy manifest, ATT, and config plugins — rationale before request.

Copy into Cursor

Add iOS camera and photos permission strings

Fix App Store privacy manifest for Expo

Do we need App Tracking Transparency?

Expo Android permissions

`.DNA/stems/expo-android-permissions/`

/expo-android-permissions

Android runtime permissions, 13+ notifications/photos, Play policy, and in-context requests.

Copy into Cursor

Add Android 13 notification permission

Fix Play photo permission for Expo

Runtime permissions checklist for Android

Expo auth secure storage

`.DNA/stems/expo-auth-secure/`

/expo-auth-secure

Mobile auth — secure token storage, biometric lock, refresh, and logout on both iOS and Android.

Copy into Cursor

Store JWT in expo-secure-store

Add biometric unlock to the Expo app

Fix tokens in AsyncStorage

Expo offline sync

`.DNA/stems/expo-offline-sync/`

/expo-offline-sync

Offline-first Expo — NetInfo, durable queues, conflict policy, and honest UX on iOS and Android.

Copy into Cursor

Make the Expo app work offline

Queue API writes when the phone is offline

Conflict policy for mobile sync

Expo push notifications

`.DNA/stems/expo-notifications/`

/expo-notifications

expo-notifications — APNs + FCM, permissions, channels, cold start, and no PII in payloads.

Copy into Cursor

Add push notifications to Expo

Fix FCM and APNs for our React Native app

Notification tap should open the right screen

Agent loop

Per-role feature factory prompts — PA, SA, BE, FE, UX, QA, ship

Product Analyst

`.DNA/stems/role-product-analyst/`

/product-analyst

Refine the feature ask — problem, users, acceptance criteria in feature-request.md.

Copy into Cursor

Run Product Analyst on this feature request

Refine the feature ask — who's affected and what does done look like?

Update feature-request.md from what I just described

Solution Architect

`.DNA/stems/role-solution-architect/`

/solution-architect

Implementation plan — scope, files, API, security, risks. STOP for user approval before code.

Copy into Cursor

Run Solution Architect — give me a plan before any code

Design the implementation for this feature

What's the architecture for this change?

Backend Engineer

`.DNA/stems/role-backend-engineer/`

/backend-engineer

Implement routes, services, validation, auth/RBAC, database, tests.

Copy into Cursor

Run Backend Engineer on the approved plan

Implement the API layer for this feature

Build backend for this feature per the architect plan

Frontend Engineer

`.DNA/stems/role-frontend-engineer/`

/frontend-engineer

Pages, components, API integration, loading/error/empty states.

Copy into Cursor

Run Frontend Engineer — build the UI for this feature

Implement the frontend per the approved plan

Wire up the pages and components

UX Reviewer

`.DNA/stems/role-ux-reviewer/`

/ux-reviewer

Review flow clarity, labels, friction, design system consistency.

Copy into Cursor

Run UX Reviewer on this feature

Review the UX flow and fix friction

Check labels, errors, and design consistency

QA Engineer

`.DNA/stems/role-qa-engineer/`

/qa-engineer

Happy path, permissions, edge cases, regression tests.

Copy into Cursor

Run QA Engineer — test this feature end-to-end

Write and run tests for happy path and edge cases

QA this feature before we ship

Code Quality Analyst

`.DNA/stems/role-code-quality/`

/code-quality

Run quality report until PASS — lint, coverage, SAST.

Copy into Cursor

Run Code Quality Analyst — quality gate must PASS

Fix quality blockers until PASS

Run dna quality report on this feature

Refactor Reviewer

`.DNA/stems/role-refactor-reviewer/`

/refactor-reviewer

No duplication, repo patterns, no dead code.

Copy into Cursor

Run Refactor Reviewer on this feature branch

Check for duplication and dead code

Final code review before release

Final Release Reviewer

`.DNA/stems/role-final-release/`

/final-release

Quality PASS → docker build → github push. Feature complete.

Copy into Cursor

Run Final Release Reviewer — ship this feature

Close out: quality, docker, push

Feature is done — run the ship workflow

Run full agent loop

`.DNA/stems/agent-loop-full/`

/agent-loop

Execute all nine roles in order — stop at architect for approval, then build through ship.

Copy into Cursor

Run the full agent loop for this feature

Execute feature factory role by role

Product Analyst through Final Release — full loop

Quality

Gates, scans, pre-push review

Quality gate

`.DNA/stems/quality-gate/`

/quality-gate

Pre-ship lint, coverage, SAST — must PASS before push.

Copy into Cursor

Are we ready to push?

Run the quality gate on my changes

Check if this feature passes DNA quality

Quality scan

`.DNA/stems/quality-scan/`

/quality-scan

Quick quality scan to stdout — no report file.

Copy into Cursor

Quick quality scan

Any SAST issues right now?

Pre-push review

`.DNA/stems/pre-push-review/`

/pre-push-review

Final review before push — quality, scope, secrets, commit hygiene.

Copy into Cursor

Review my changes before I push

Pre-push checklist

Accessibility audit

`.DNA/stems/a11y-audit/`

/a11y-audit

Audit keyboard access, labels, contrast, and prefers-reduced-motion.

Copy into Cursor

Run an a11y audit on the dashboard

Check keyboard and contrast for Lab

Audit reduced-motion and labels

Performance audit

`.DNA/stems/perf-audit/`

/perf-audit

Core Web Vitals, Tauri cold start, and scan/jank budgets.

Copy into Cursor

Audit Core Web Vitals for the dashboard

Check Tauri cold start and jank

Perf budget for fleet scan UI

Security patch dependencies

`.DNA/stems/security-patch-deps/`

/security-patch-deps

OWASP/dependency audit triage with minimal safe upgrades.

Copy into Cursor

Triage npm audit and patch safely

OWASP dependency audit — minimal upgrades

Fix high vulnerabilities with smallest bumps

Visual QA pass

`.DNA/stems/visual-qa-pass/`

/visual-qa-pass

Screenshot/layout consistency across Dashboard, Lab, and Settings.

Copy into Cursor

Visual QA across Dashboard Lab Settings

Check layout consistency on main shells

Screenshot pass for the three primary surfaces

Expo mobile performance

`.DNA/stems/expo-perf-mobile/`

/expo-perf-mobile

Mobile perf — FlashList/FlatList, images, Reanimated UI thread, JS jank, and iOS/Android profiling.

Copy into Cursor

Fix jank on our Expo list screens

React Native performance audit

Why is the Android app slow?

Expo mobile accessibility

`.DNA/stems/expo-a11y-mobile/`

/expo-a11y-mobile

VoiceOver, TalkBack, hit targets, Dynamic Type / font scaling, and labels on iOS and Android.

Copy into Cursor

Accessibility pass on the Expo app

VoiceOver and TalkBack audit

Fix tiny hit targets on mobile

Expo mobile testing

`.DNA/stems/expo-testing-mobile/`

/expo-testing-mobile

Jest + RNTL unit tests, Maestro/Detox E2E, and device checks for deep links, push cold start, and permissions.

Copy into Cursor

Add React Native Testing Library tests

Maestro flows for Expo iOS and Android

E2E the login and deep link on device

Compliance

GDPR, HIPAA, documents, engineering

Plan compliance

`.DNA/stems/plan-compliance/`

/plan-compliance

Tiered GDPR, HIPAA, ISO 27001, SOC 2, PCI — plan, packs, checklist.

Copy into Cursor

Are we GDPR ready?

Plan HIPAA controls for this app

What compliance do we need for EU B2B SaaS?

Compliance documents

`.DNA/stems/compliance-documents/`

/compliance-documents

UK GDPR document catalog and scrubbed templates.

Copy into Cursor

List required GDPR documents

Generate compliance document pack

GDPR engineering checklist

`.DNA/stems/gdpr-engineering/`

/gdpr-engineering

Engineering checklist for GDPR — consent, retention, DSAR, logging.

Copy into Cursor

GDPR engineering checklist for this feature

Check consent and retention on this flow

Legal

Jurisdiction law, banking, healthcare, IP, legal advisor

Debug

Runtime issues, AI repair

Debug issue

`.DNA/stems/debug-issue/`

/debug-issue

Runtime error → classify → fix → test → quality → push.

Copy into Cursor

Users get 403 on the admin API — debug it

Fix this production error with DNA context

AI repair

`.DNA/stems/ai-repair/`

/ai-repair

DNA AI repair workflow for classified runtime issues.

Copy into Cursor

Run DNA AI repair on this issue

Classify and propose fix for this runtime error

Runtime investigate

`.DNA/stems/runtime-investigate/`

/runtime-investigate

Investigate runtime observer data and immune system classifications.

Copy into Cursor

What errors has DNA captured?

Show runtime incidents from DNA observer

Dashboard monitor

`.DNA/stems/dashboard-monitor/`

/dashboard-monitor

Open DNA Lab — runtime feed, performance, and quality at /labs.

Copy into Cursor

Open the DNA dashboard

Show quality trends and runtime feed

Monitor DNA observer data live

Incident postmortem

`.DNA/stems/incident-postmortem/`

/incident-postmortem

Runtime fingerprint → root cause → fix → regression test → push.

Copy into Cursor

Postmortem this production error

Runtime fingerprint to fix and regression

Close the incident with root cause and push

Documentation

Impressions sync and generation

Sync Impressions

`.DNA/stems/sync-impressions/`

/sync-impressions

Reconcile DNA/Impressions/ with codebase when docs drift.

Copy into Cursor

Our docs are out of date with the code

Sync Impressions with the codebase

Impressions drift PR

`.DNA/stems/impressions-drift-pr/`

/drift-pr

Open a draft GitHub PR when Impressions drift exceeds threshold.

Copy into Cursor

Open a PR to fix doc drift

Impressions are stale — automate a sync PR

Scan and open PR if drift is critical

Document from code

`.DNA/stems/document-from-code/`

/document-code

Generate or update documentation from codebase analysis.

Copy into Cursor

Generate docs from this codebase

Update architecture docs from code

Write release notes

`.DNA/stems/write-release-notes/`

/write-release-notes

User-facing changelog from commits and Impressions — not raw commit dumps.

Copy into Cursor

Write release notes for 1.2.0

Draft user-facing changelog from commits

Release notes from Impressions and git log

IVF

Brownfield integration and shared library

Plan IVF

`.DNA/stems/plan-ivf/`

/plan-ivf

Integrating Vertical Functions plan — phased brownfield integration.

Copy into Cursor

Create an IVF plan for this monolith

How do we integrate DNA without a rewrite?

Run IVF

`.DNA/stems/ivf-run/`

/ivf-run

Brownfield IVF — analyze, document, plan, wire DNA into existing projects.

Copy into Cursor

Run IVF on this brownfield project

Integrate DNA into this legacy codebase

IVF shared library

`.DNA/stems/ivf-shared-library/`

/ivf-shared-library

Shared library extraction — analyze, dry-run, scaffold packages/humaan-ui.

Copy into Cursor

Extract a shared UI library

Dry-run shared library extraction to packages/humaan-ui

We have no shared component library — fix that

IVF shared library execute

`.DNA/stems/ivf-shared-library-execute/`

/ivf-execute

Execute shared library extraction — copy, rewire imports, test, rollback on failure.

Copy into Cursor

Execute the shared library migration

Run ivf shared-library --execute

Migrate duplicate UI components into packages/humaan-ui

Delivery

Docker, GitHub, CI

Docker build

`.DNA/stems/docker-build/`

/docker-build

Build Docker image — mandatory feature factory close-out gate.

Copy into Cursor

Build the Docker image

Run docker build gate

GitHub push

`.DNA/stems/github-push/`

/github-push

Commit and push feature branch after quality PASS.

Copy into Cursor

Push this feature to GitHub

Commit and push the branch

CI install

`.DNA/stems/ci-install/`

/ci-install

Scaffold GitHub Actions — lint, test, coverage, security.

Copy into Cursor

Install DNA CI workflows

Set up GitHub Actions for this project

Ship Tauri release

`.DNA/stems/ship-tauri-release/`

/ship-tauri-release

Desktop packaging, notarization, auto-update, and signed builds for Tauri apps.

Copy into Cursor

Ship a signed Tauri release

Package desktop app with notarization and auto-update

Prepare Tauri release builds

Create pull request

`.DNA/stems/create-pr/`

/create-pr

Summarize the branch, draft a test plan, and open a PR with gh pr create.

Copy into Cursor

Open a PR for this branch

Create a pull request with a test plan

Draft PR summary from our commits

Ship preview

`.DNA/stems/ship-preview/`

/ship-preview

Explicit-user-only: quality → docker → push current trunk for CI preview. Never invent feature remotes.

Copy into Cursor

Push this to preview

Quality gate then preview deploy

Ship a preview build without full feature factory

Trunk-based delivery

`.DNA/stems/trunk-based-delivery/`

/trunk-based-delivery

Default ship mode: stay on trunk, small merges, no preview-branch hopping, no invented remotes.

Copy into Cursor

Ship on trunk — no feature branch hop

Keep us on main and push this fix

Enforce trunk-based delivery for this work

Expo dynamic builds

`.DNA/stems/expo-dynamic-builds/`

/expo-dynamic-builds

EAS Update / OTA dynamic builds — channels, runtimeVersion, what may ship over the air vs what needs a new iOS/Android binary.

Copy into Cursor

Set up EAS Update dynamic builds

OTA JS updates for iOS and Android

When do we need a new binary vs an Expo update?

Expo EAS Build

`.DNA/stems/expo-eas-build/`

/expo-eas-build

EAS Build profiles for development, preview, and production iOS/Android binaries — credentials named, never printed.

Copy into Cursor

Configure EAS Build for iOS and Android

Make development, preview, and production profiles

Run EAS builds for TestFlight and Play internal

Expo dev client

`.DNA/stems/expo-dev-client/`

/expo-dev-client

Custom development builds — expo-dev-client, internal distribution, and why Expo Go is not enough.

Copy into Cursor

Create an Expo development build

Install expo-dev-client for the team

Replace Expo Go with a custom dev client

Expo iOS ship

`.DNA/stems/expo-ios-ship/`

/expo-ios-ship

Ship Expo to TestFlight and App Store — signing, privacy nutrition, review notes, and iOS-only gates.

Copy into Cursor

Ship the Expo app to TestFlight

Prepare App Store submission for our React Native app

iOS release checklist for Expo

Expo Android ship

`.DNA/stems/expo-android-ship/`

/expo-android-ship

Ship Expo to Play Console — AAB, Play App Signing, tracks, target SDK, and Android-only policy.

Copy into Cursor

Ship the Expo app to Play internal testing

Play Console checklist for React Native

Android AAB and target SDK for Expo

Expo store submit

`.DNA/stems/expo-store-submit/`

/expo-store-submit

EAS Submit to App Store Connect and Play Console — both stores, metadata, and no secret leakage.

Copy into Cursor

eas submit iOS and Android

Upload our Expo binaries to both stores

Store metadata checklist for Expo

Expo CI EAS

`.DNA/stems/expo-ci-eas/`

/expo-ci-eas

GitHub Actions + EAS — PR JS checks, fingerprint native diffs, preview updates, and production submit gates.

Copy into Cursor

Add EAS to GitHub Actions

CI for Expo preview updates

Fingerprint native changes on PRs

Methodology

Tickets, specs, and org delivery models

Methodology setup

`.DNA/stems/methodology-setup/`

/methodology-setup

Configure how your team plans, documents, and tickets work.

Copy into Cursor

We work in Scrum with Jira — configure DNA for that

Set up DNA for tribe/squad delivery like Agoda

Configure methodology for Shape Up

Create ticket

`.DNA/stems/create-ticket/`

/create-ticket

Write work items in org-correct format (Jira, Linear, GitHub, Azure DevOps).

Copy into Cursor

Write Jira tickets for this feature

Create stories for the checkout epic

Draft Linear issues for this work

Write spec

`.DNA/stems/write-spec/`

/write-spec

Write PRD, design doc, RFC, or pitch per methodology and doc system.

Copy into Cursor

Write a design doc for this feature

Draft a PRD for the admin portal

Shape Up pitch for search improvements

Break down work

`.DNA/stems/break-down-work/`

/break-down-work

Decompose initiative/epic into stories or scopes per methodology hierarchy.

Copy into Cursor

Break this epic into stories

Split the initiative into squad work

Decompose for sprint planning

Align delivery

`.DNA/stems/align-delivery/`

/align-delivery

Audit a plan or artifact against how this team actually works.

Copy into Cursor

Does this plan match how we work?

Check if these tickets fit our Scrum process

Align this spec with our tribe model

Discovery

Product research, UX, PMF, and opportunity shaping

Discovery setup

`.DNA/stems/discovery-setup/`

/discovery-setup

Configure product discovery — lifecycle, team model, methods, and processes.

Copy into Cursor

Set up DNA for continuous discovery

We're an innovation lab — configure discovery

Configure discovery for dual-track agile

Plan research

`.DNA/stems/plan-research/`

/plan-research

Plan a user research study using the correct method pack.

Copy into Cursor

Plan user interviews for checkout abandonment

Design a usability test for the new onboarding

How should we run a PMF survey?

Synthesize research

`.DNA/stems/synthesize-research/`

/synthesize-research

Turn raw research into opportunities and update DNA Impressions.

Copy into Cursor

Synthesise our interview findings

Cluster insights into opportunities

What did we learn from last week's research?

Prioritize opportunities

`.DNA/stems/prioritize-opportunities/`

/prioritize-opportunities

Rank opportunities on the OST using ICE, RICE, or team framework.

Copy into Cursor

Prioritise our discovery backlog

Which opportunity should we pursue next?

Rank these opportunities for next quarter

PMF check

`.DNA/stems/pmf-check/`

/pmf-check

Review product–market fit signals and recommend persevere, pivot, or kill.

Copy into Cursor

Do we have product market fit?

Review our PMF signals

Run a Sean Ellis survey analysis

Handoff to engineering

`.DNA/stems/handoff-to-engineering/`

/handoff-to-engineering

Move a validated opportunity into feature factory and delivery.

Copy into Cursor

This opportunity is validated — start building

Hand off checkout fix to engineering

Turn this discovery into a feature request

Strategy

Golden Circle, canvases, North Star, OKRs, KPIs, product intelligence (diagnose/SWOT/competitors/upgrades), initiatives, features, and Now/Next/Later roadmaps

Strategy ladder

`.DNA/stems/strategy-ladder/`

/strategy-ladder

Run the full strategy → canvas → goals (North Star/OKRs/KPIs) → initiative → product → feature → Now-Next-Later ladder.

Copy into Cursor

Run the strategy ladder for this product

From golden circle through roadmap — do it all

Shape vision down to OKRs, KPIs, and Now / Next / Later

Golden Circle

`.DNA/stems/golden-circle/`

/golden-circle

Clarify Why, How, and What for the product or company (Simon Sinek).

Copy into Cursor

Run the golden circle for this product

What's our Why / How / What?

Clarify purpose before we roadmap

Business strategy canvas

`.DNA/stems/business-strategy-canvas/`

/business-strategy-canvas

Map vision, pillars, positioning, bets, and success metrics for the business.

Copy into Cursor

Fill the business strategy canvas

What are our strategic pillars and bets?

Positioning and go-to-market canvas

Product canvas

`.DNA/stems/product-canvas/`

/product-canvas

Map users, problems, value proposition, channels, and metrics for the product.

Copy into Cursor

Fill the product canvas

Map users, problems, and metrics

Product canvas for this app

Define initiative

`.DNA/stems/define-initiative/`

/define-initiative

Define an outcome-shaped initiative with bets, metrics, and child products/features.

Copy into Cursor

Define an initiative for reducing onboarding drop-off

Turn this bet into an initiative

Shape initiatives from the strategy canvas

Define product

`.DNA/stems/define-product/`

/define-product

Define product scope, ICP, surfaces, and non-goals before feature work.

Copy into Cursor

Define the product scope and ICP

What is this product — and what is it not?

Product definition for the new admin console

Shape feature

`.DNA/stems/shape-feature/`

/shape-feature

Shape a feature brief from strategy — then hand off to plan-feature / agent loop.

Copy into Cursor

Shape a feature brief for call transcription

Turn this initiative into a feature request

Write the feature brief before we plan

Roadmap Now / Next / Later

`.DNA/stems/roadmap-now-next-later/`

/roadmap-now-next-later

Build an outcome roadmap across Now, Next, and Later horizons.

Copy into Cursor

Build a Now / Next / Later roadmap

Roadmap our initiatives and features

What should we ship now vs later?

North Star metric

`.DNA/stems/north-star-metric/`

/north-star-metric

Choose one primary product success metric and the supporting input metrics.

Copy into Cursor

What's our North Star metric?

Pick a North Star for this product

Define North Star and input metrics

Define OKRs

`.DNA/stems/define-okrs/`

/define-okrs

Write Objectives and Key Results for a period — outcomes, not task lists.

Copy into Cursor

Write OKRs for this quarter

Define company and product OKRs

Turn our strategy into OKRs

Define KPIs

`.DNA/stems/define-kpis/`

/define-kpis

Define operational and health KPIs with owners, thresholds, and review cadence.

Copy into Cursor

Define our product KPIs

Build a KPI scorecard

What health metrics should we watch weekly?

Goal cascade

`.DNA/stems/goal-cascade/`

/goal-cascade

Align company → product → team goals so OKRs, KPIs, and initiatives connect.

Copy into Cursor

Cascade goals from company to teams

Are our OKRs and initiatives aligned?

Build a goal cascade map

Product diagnose

`.DNA/stems/product-diagnose/`

/product-diagnose

Orchestrate purpose → SWOT → value → JTBD from real architecture and debt, then hand off to competitor and upgrade stems.

Copy into Cursor

Diagnose this product — what is it for, strengths, weaknesses

Run a full product intelligence pass on this repo

Ground a product diagnosis in code and debt, not stub Impressions

Product purpose audit

`.DNA/stems/product-purpose-audit/`

/product-purpose-audit

Derive Why / How / What and jobs-to-be-done from real surfaces in the codebase — not from stub canvases.

Copy into Cursor

What is this product actually for?

Audit purpose and jobs from the codebase

JTBD + Golden Circle grounded in routes and APIs

Product SWOT

`.DNA/stems/product-swot/`

/product-swot

SWOT analysis where S/W come from architecture and debt; O/T are labeled when not evidenced.

Copy into Cursor

Run a SWOT on this product from the codebase

Strengths and weaknesses grounded in architecture debt

SWOT — no stub Impression nonsense

Product value proposition

`.DNA/stems/product-value-proposition/`

/product-value-proposition

Value Proposition Canvas — customer jobs/pains/gains vs what the product actually delivers in code.

Copy into Cursor

Map our value proposition from what we actually ship

Value proposition canvas grounded in the product

Pains and gains vs real features in code

Product Kano scan

`.DNA/stems/product-kano-scan/`

/product-kano-scan

Classify capabilities as must-be, performance, or delighters using shipped features and obvious gaps.

Copy into Cursor

Run a Kano scan on our features

Which features are must-have vs delighters?

Kano model from what we shipped

Competitor landscape

`.DNA/stems/competitor-landscape/`

/competitor-landscape

Map category alternatives, do-nothing, and positioning axes — assumptions labeled; our side grounded in code.

Copy into Cursor

Map the competitive landscape for this product

Who are we competing with — including do-nothing?

Competitor landscape from our actual category

Competitor feature matrix

`.DNA/stems/competitor-feature-matrix/`

/competitor-feature-matrix

Battlecard-style feature matrix — our rows proven in code; competitor cells researched or assumed.

Copy into Cursor

Build a competitor feature matrix

Battlecard us vs competitors on capabilities

Feature comparison grounded in what we actually ship

Competitor positioning

`.DNA/stems/competitor-positioning/`

/competitor-positioning

Positioning statement and perceptual map — our proof points from architecture; competitor placement labeled.

Copy into Cursor

Write our competitive positioning

Where do we sit vs alternatives?

Positioning map and statement from product truth

Upgrade leverage map

`.DNA/stems/upgrade-leverage-map/`

/upgrade-leverage-map

Effort × impact map for major upgrades with minimal effort — scored from debt, SWOT, and competitor gaps.

Copy into Cursor

Map high-leverage upgrades for this project

Effort vs impact — major gains, minimal effort

Where can we upgrade with the least work for the most effect?

Upgrade modernization

`.DNA/stems/upgrade-modernization/`

/upgrade-modernization

Sequence upgrades as thin slices / strangler steps — quick wins, platform bets, later — without boiling the ocean.

Copy into Cursor

Sequence a modernization plan with thin slices

Strangler-style upgrade plan from our leverage map

Major upgrade path with minimal disruption

Upgrade recommend

`.DNA/stems/upgrade-recommend/`

/upgrade-recommend

Top upgrade recommendations with why, evidence, effort, and handoff into shape-feature — major impact, minimal effort.

Copy into Cursor

Recommend what we should change and why

Top upgrades for maximum impact, minimum effort

What should we change next — with evidence?

Marketplace

Search and install knowledge packs

Marketplace install

`.DNA/stems/marketplace-install/`

/marketplace-install

Install a knowledge pack into .DNA/knowledge/.

Copy into Cursor

Install the React knowledge pack

Add GDPR compliance pack to DNA

Memory

CellularMemory export and import

Memory export

`.DNA/stems/memory-export/`

/memory-export

Export CellularMemory segments to JSON.

Copy into Cursor

Export CellularMemory

Backup DNA memory to JSON

Memory import

`.DNA/stems/memory-import/`

/memory-import

Import CellularMemory from export file with merge.

Copy into Cursor

Import DNA memory from backup

Merge CellularMemory from export file

Memory sync

`.DNA/stems/memory-sync/`

/memory-sync

Sync CellularMemory from team registry — export, import, conflict resolution.

Copy into Cursor

Sync DNA memory with the team registry

Pull latest CellularMemory from shared path

Merge team memory into this project

Real scenarios

Multi-step flows — each links to stem packs you can copy-paste.

Fresh project — doctor then analyze

I ran dna init. Is everything OK and what should we tackle first?
  1. Cursor runs npx dna doctor — reports ✓/✗ (hooks, CI, rules, runtime)
  2. Cursor runs npx dna analyze — stack, surfaces, vertical gaps
  3. Cursor prioritizes P1 items (shared library, behaviour restructure, build rules)
  4. Cursor proposes: IVF plan, marketplace packs, or first feature via /ship-feature

After analyze — what do I do next?

I ran analyze. React frontend, 80 API routes, P1 shared library gap, P1 build rules missing. What now?
  1. Use stem: what-next-after-analyze
  2. Cursor explains P1 gaps in plain English
  3. Shared library → ivf-shared-library stem
  4. Build rules → capture MUI patterns into .DNA/knowledge/
  5. Ask which path to start

Build a feature end-to-end

Full agent loop
Add an admin dashboard for support — new tab, RBAC, only visible to admins
  1. Stem: ship-feature → agent loop
  2. Solution Architect plan → wait for OK
  3. Backend → Frontend → UX → QA → quality-gate → github-push

Brownfield — integrate DNA without rewrite

This is a legacy React monolith. Integrate DNA properly without a rewrite.
  1. Stems: analyze-project → plan-ivf → ivf-run (phase 1 only)

Copy-paste from stem library

Pick a stem from dna.humaan.app/intelligence, paste into Cursor
  1. Copy a copyVariant or full prompt from stem library
  2. AI reads .DNA/stems/<id>/ guidelines + expectations
  3. AI follows MUST/NEVER rules for that workflow

Upgrade DNA CLI and refresh stems

Update DNA — is there a newer CLI and fresh prompt stems?
  1. Stem: keep-dna-current → npx dna update
  2. Report CLI version change and stem catalog refresh
  3. List marketplace pack updates

Scaffold platform feature (SSO, flags, multi-tenant)

Add SSO with Okta and feature flags for gradual rollout
  1. Stem: platform-codegen → generate feature sso + feature-flags
  2. Review .DNA/plans/ and wire scaffolds
  3. quality-gate before ship

Docs drift — scan and open PR

Our Impressions are stale — open a PR if drift is bad
  1. npx dna scan — compare drift to config thresholds
  2. npx dna scan --open-pr if above autoPrThreshold
  3. Summarize PR or manual sync plan

Sync CellularMemory with team registry

Pull the latest team DNA memory into this repo
  1. npx dna memory sync
  2. Report merged segments and conflicts

Agent loop

Triggered by the ship-feature stem — approve the plan once.

  1. Product Analystplan

    Refine the ask — problem, users, acceptance criteria in ai/feature-request.md

  2. Solution Architectplan

    Implementation plan — scope, files, API, security, risks. **Stop here for approval.**

    User must approve before any code

  3. Backend Engineerbuild

    Routes, services, validation, auth/RBAC, database, tests

  4. Frontend Engineerbuild

    Pages, components, API integration, loading/error states

  5. UX Reviewerbuild

    Flow clarity, labels, friction, design system consistency

  6. QA Engineerverify

    Happy path, permissions, edge cases, regression

  7. Code Quality Analystverify

    npx dna quality report --feature until PASS

  8. Refactor Reviewerverify

    No duplication, repo patterns, no dead code

  9. Final Release Reviewership

    Docker build + GitHub push — feature complete