Skip to main content
ProductivityOfficialCertifiedAI reviewed Jul 21, 2026

Cursor Parallel

Sets up and optimizes parallel task workflows for Cursor Composer 2.5.

v1.0.1New

Install this skill

No account required. Pick your tool, or use the command that detects it for you.

Run in your terminal. It detects your AI tool.

npx @skills-hub-ai/cli install cursor-parallel
Or get the file:
Browse all CLI commands →
Manual setup by platform

Claude Code

~/.claude/skills/cursor-parallel/SKILL.md

Setup guide →

Cursor

~/.cursor/skills/cursor-parallel/SKILL.md

Setup guide →

Codex CLI

~/.codex/skills/cursor-parallel/SKILL.md, or reference via codex.md instructions file

Setup guide →

Signing

SignedSLSA L2
Signed by
skills-hub.ai distributor
Method
Distributor-signed by skills-hub.aiSigned with the skills-hub.ai Ed25519 distributor key over this exact slug, version and content. Check it with `npx @skills-hub-ai/cli verify`.
Key
skills-hub-ed25519-2026-11
Signed
0Save

Instructions

You are a Cursor Composer 2.5 workflow optimizer. Your job is to help the user decompose multi-step coding tasks into well-structured parallel workloads that Composer 2.5's Agent Swarm can execute reliably. Do NOT ask the user questions — infer the target from $ARGUMENTS or the current working directory.

TARGET:
$ARGUMENTS


PHASE 1: TASK DECOMPOSITION AUDIT


Before issuing any Composer 2.5 invocation, analyze the requested task:

  1. Identify parallelizable sub-tasks

    • Which parts are independent of each other? (test writing, docs update, refactor of separate modules)
    • Which parts must be sequential? (spec → implementation → test, not the reverse)
    • Flag any shared mutable state that prevents parallelism (same file edited by two sub-tasks = serial, not parallel)
  2. Check for existing acceptance criteria

    • Does the user's prompt specify: what "done" looks like, which tests must pass, which files must NOT be modified?
    • If not, generate them from the codebase context (look at existing test patterns, CI config, and linting rules)
  3. Assess skill coverage

    • Which sub-tasks benefit from a SKILL.md file? Common ones: unit-test, code-review, tech-debt, bundle-analysis
    • Run: npx @skills-hub-ai/cli list --installed to see what's already available
    • Note gaps — you'll install missing skills in Phase 2

Output a decomposition plan:

DECOMPOSITION PLAN
Task: <original task>

Parallel group A (can run simultaneously):
  - <sub-task 1>: <acceptance criteria>
  - <sub-task 2>: <acceptance criteria>

Sequential after A:
  - <sub-task 3>: depends on A1 output

Skills needed: <list>
Skills installed: <list>
Skills to install: <list>

PHASE 2: ENVIRONMENT SETUP


  1. Install missing skills

    npx @skills-hub-ai/cli install <slug>
    

    Install only skills that are actually needed for this task. Do not bulk-install unrelated skills.

  2. Verify Cursor is on Composer 2.5
    Check .cursor/settings.json or ask the user to confirm the model version. Composer 2.5 shipped May 18, 2026 — teams on older versions will not have the Agent Swarm capabilities.

  3. Set up acceptance criteria file
    Create .cursor/task-spec.md with the full task specification:

    # Task: <title>
    
    ## Goal
    <one paragraph>
    
    ## Acceptance criteria
    - [ ] All existing tests pass: `<test command>`
    - [ ] New feature has ≥ N test cases
    - [ ] No modifications to: <list of protected files>
    - [ ] Lint passes: `<lint command>`
    
    ## Out of scope
    - <explicit exclusions>
    
    ## Implementation notes
    - Use <existing module> instead of introducing new dependencies
    - Follow <existing pattern> for consistency
    

PHASE 3: PARALLEL PROMPT CONSTRUCTION


Compose the Cursor prompt using the decomposition plan:

  1. Lead with the full acceptance criteria — Targeted RL training in Composer 2.5 responds best to in-prompt constraints that mirror how its training was structured.

  2. Name each parallel sub-task explicitly — "In parallel: (A) implement X, (B) write tests for X, (C) update docs for X." The Agent Swarm interprets parallel markers.

  3. Specify protected files — List files the model must not touch. This prevents sub-agents from conflicting on shared state.

  4. Include the test command — End every prompt with the verification command. Composer 2.5 will run it as the acceptance gate.

Example prompt template:

Task: <description>

Acceptance criteria:
- All existing tests pass: <command>
- New feature has ≥ <N> test cases covering: <cases>
- Do NOT modify: <protected files>
- Lint passes: <lint command>

In parallel:
1. Implement <feature> in <file>. Use <existing pattern>.
2. Write unit tests in <test file>. Cover: <cases>.
3. Update <docs file> with: <what to add>.

After all three are complete, run <test command> and report pass/fail.
Do not commit. Stop when tests pass.

PHASE 4: EXECUTION AND VERIFICATION


After Composer 2.5 completes the parallel task:

  1. Run the test suite independently

    <test command from acceptance criteria>
    

    Do not trust the model's self-reported pass/fail. Verify directly.

  2. Check for cross-contamination

    • Did any sub-agent modify a protected file? git diff --name-only
    • Did sub-agents produce conflicting changes to shared files? git diff
  3. Validate per-sub-task output

    • Implementation: does it match the spec? Does it use the specified patterns?
    • Tests: do they cover the stated cases? Are they actually testing behavior, not just calling the function?
    • Docs: is the update accurate given what was implemented?
  4. Check for orphaned changes

    • git status — any files changed that weren't in the decomposition plan?
    • If yes: review before staging. Sub-agents sometimes fix adjacent issues without being asked. Intentional or not, each change should be deliberate.
  5. Run lint

    <lint command>
    

PHASE 5: COMMIT AND REPORT


Only commit when:

  • All acceptance criteria are met
  • No protected files were modified
  • Lint passes
  • Sub-task outputs are coherent (no conflicting implementations)

Stage by sub-task for a clean git history:

git add <implementation files>
git commit -m "feat(<scope>): <feature description>"

git add <test files>
git commit -m "test(<scope>): add tests for <feature>"

git add <doc files>
git commit -m "docs(<scope>): update <doc file> for <feature>"

Output a completion report:

PARALLEL TASK REPORT

Task: <original task>
Sub-tasks completed: <N>/<N>
Tests: PASS | FAIL (<count> passing, <count> failing)
Lint: PASS | FAIL
Protected files untouched: YES | NO

Acceptance criteria:
  ✓/✗ <criterion 1>
  ✓/✗ <criterion 2>
  ...

Commits:
  <sha> feat(<scope>): <description>
  <sha> test(<scope>): <description>
  <sha> docs(<scope>): <description>

Issues to resolve: <list, or "none">

STRICT RULES


  • Never commit if any acceptance criterion is unmet. Report what failed.
  • Never issue a prompt without explicit acceptance criteria. Vague prompts produce inconsistent parallel outputs.
  • Never install more than 5 skills in a single session — install only what this task needs.
  • If the task cannot be safely decomposed into parallel sub-tasks (shared mutable state, strict ordering requirements), run it sequentially and document why parallelism was skipped.
  • Do not trust self-reported pass/fail from Composer 2.5 — always verify by running commands independently.
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

Browse all →
design-animateAdd purposeful motion to interfaces using modern CSS — scroll-driven animations, view transitions, @starting-style, and GPU-accelerated transforms. Triggers: 'add animation', 'animate', 'add motion', 'transitions', 'scroll animation'.79 installsdesign-auditComprehensive autonomous design quality audit across accessibility (WCAG 2.2), performance, theming, responsive/adaptive design, and anti-pattern detection. Triggers: 'audit design', 'check accessibility', 'a11y audit', 'design review', 'UI quality check'.62 installssecureFull-stack security posture assessment with 0-100 risk scoring. Scans dependency vulnerabilities (npm audit, pip-audit, cargo audit, govulncheck), dangerous code patterns (SQL injection, eval, command injection, ReDoS, innerHTML, XSS vectors), authentication gaps (missing auth middleware.57 installsdiagramGenerate Mermaid architecture diagrams from your codebase. Produces C4 context and container diagrams, sequence diagrams for key flows, ER diagrams from database schemas, and module dependency graphs. Use when you need architecture diagrams, system diagrams, database ERD, sequence diagrams, dependency visualization, or C4 model diagrams.57 installsdesign-polishFinal autonomous quality pass before shipping. Fixes alignment, spacing, consistency, typography hierarchy, color harmony, motion timing, and every micro-detail that separates good from great..56 installsresponsiveAudit and fix responsive design issues across all breakpoints. Scans for fixed widths that cause mobile overflow, missing media query variants, non-responsive images, undersized touch targets below 48px, unreadable typography, and horizontal scroll violations..50 installs

More from Skills Hub

View source →
security-reviewSecurity audit and vulnerability assessment for any codebase. Scans for authentication bypasses, missing auth middleware, broken JWT validation (algorithm confusion, weak secrets, missing expiry), OAuth state and PKCE flaws, IDOR and horizontal privilege escalation.198 installsunit-testGenerate comprehensive unit tests with edge cases, error paths, and boundary values. Triggers: you need to add unit tests, increase code coverage, test edge cases, or verify error handling paths.167 installsweb-gameScaffolds a browser-based game with Phaser 3, PixiJS, or Three.js including game loop, asset pipeline, responsive canvas, input handling, audio, save/load, and deployment to itch.io or web. Triggers: on: "web game", "browser game", "html5 game", "phaser game", "pixi game".134 installshumanizerMulti-pass editor that removes AI-writing tells from drafted content — eliminates filler phrases, balances sentence length, restores opinion and voice, and strips em-dash overuse so posts sound human and opinionated rather than ChatGPT-generic..133 installsflutterBuilds Flutter applications from videos, screenshots, descriptions, or app clone requests. Triggers on: flutter app, build a mobile app, replicate this app in Flutter, build from video, build from screenshots, clone this app, build an app, make an app like, recreate this UI.129 installsdesign-to-codeTurn a design into production-quality frontend code: extract a design system with tokens and components, make layouts responsive across breakpoints, add dark mode with WCAG-compliant theming, then run a UX audit to validate everything..126 installs

More Productivity skills

Browse category →

Frequently asked questions about cursor-parallel

What does the cursor-parallel skill do?

Sets up and optimizes parallel task workflows for Cursor Composer 2.5. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the cursor-parallel skill?

Run `npx @skills-hub-ai/cli install cursor-parallel` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/cursor-parallel/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does cursor-parallel work with?

cursor-parallel runs in Claude Code, Cursor, Codex CLI. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the cursor-parallel skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use cursor-parallel after installing it?

In Claude Code, type `/cursor-parallel` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the cursor-parallel skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.