Skip to content

Use Cases

cliq’s core primitives — roles, workflows, channels, gates — are domain-agnostic. Engineering is the flagship, but the same infrastructure powers any workflow where specialist agents need to collaborate. This page provides common workflow patters meant to demostrate to you the power of cliq to tackle any conceivable workflow task. Use these templates as inspiration to build your own teams for you specific needs. The Team Development section will show how to do that, showing you how cliq can enable you to unleash the full power of AI-driven workflows with a simple set of commands.


Build a complete feature from a requirement — designed, tested, reviewed, with a PR ready to merge.

RolePurpose
architectReads requirements, designs the system, defines interfaces and file structure
testerWrites a comprehensive failing test suite (TDD red phase)
developerImplements until all tests pass (TDD green phase)
reviewerGate — runs build and test checks, approves or routes back to developer
[architect] → [tester] → [developer] → [reviewer]

Add git-setup and git-finalize phases to automate branch creation and PR submission. Pair with Jira integration to pull requirements from tickets and update them on completion.


Reproduce a bug with a test, fix it, verify nothing else breaks, and open a PR — all from a Jira ticket reference.

RolePurpose
testerWrites a failing test that reproduces the bug
developerFixes the code until the test passes
reviewerGate — runs the full test suite, approves or routes back
Terminal window
cliq req -s jira:BUG-456
cliq run

On completion, cliq can post a comment to the Jira ticket with the PR link. On escalation, it can transition the ticket to “Blocked” and notify Slack.


Research the market, write a PRD, and produce UX specs — before anyone writes a line of code.

RolePurpose
market-researcherAnalyzes the competitive landscape, user needs, and market gaps
product-managerWrites a PRD with user stories and acceptance criteria
ux-designerProduces user flows, component hierarchy, and interaction specs
[market-researcher] → [product-manager] → [ux-designer]

The output is a complete discovery package ready to hand off to an engineering team.


From product thinking through implementation and documentation — a complete engineering deliverable.

RolePurpose
product-managerWrites PRD, user stories, and acceptance criteria
ux-designerUX specs and interaction design (parallel with architect)
architectSystem design, interfaces, and file structure (parallel with UX)
testerWrites failing tests based on architecture and UX specs
developerImplements until tests pass
reviewerGate — runs checks and approves or routes back
technical-writerProduces API docs, user guides, and changelog
┌─→ [ux-designer] ──┐
[product-mgr] ┤ ├→ [tester] → [developer] → [reviewer] → [tech-writer]
└─→ [architect] ────┘

Fan-out and fan-in handle the parallel work. The tester waits for both design streams to complete.


Produce researched, edited, optimized content from a brief.

RolePurpose
researcherGathers facts, sources, and background material
writerProduces the draft from research and brief
editorGate — evaluates quality, routes back to writer if needed
seo-reviewerOptimizes for search and readability
[researcher] → [writer] → [editor] → [seo-reviewer]

The editor is a gate with editorial checklist criteria. If the draft doesn’t meet the bar, it routes back to the writer with feedback.


Gather data, analyze it from multiple angles in parallel, and synthesize into a report.

RolePurpose
data-gathererCollects raw data, sources, and reference material
analystQuantitative analysis, trends, and patterns
strategistStrategic implications and recommendations
report-writerSynthesizes all inputs into a cohesive report
┌─→ [analyst] ────┐
[data-gatherer] ┤ ├→ [report-writer]
└─→ [strategist] ─┘

The analyst and strategist run concurrently. The report writer waits for both to finish before synthesizing.


Analyze a contract, flag risks, and produce a structured summary for decision-makers.

RolePurpose
contract-parserExtracts key clauses, dates, obligations, and defined terms
risk-analystIdentifies unfavorable terms, liability exposure, and missing protections
compliance-checkerGate — verifies against regulatory requirements and company policy
summary-writerProduces an executive brief with flagged items and recommendations
[contract-parser] → [risk-analyst] → [compliance-checker] → [summary-writer]

The compliance checker is a gate — if the contract violates policy, it routes back to the risk analyst for deeper analysis before the summary is written.


Assemble a grant application from research objectives through budget justification.

RolePurpose
literature-reviewerSurveys prior work, identifies gaps, and establishes novelty
proposal-writerWrites the narrative — objectives, methodology, expected outcomes
budget-plannerProduces a detailed budget with justifications
compliance-reviewerGate — checks formatting, page limits, required sections, and funder guidelines
[literature-reviewer] → [proposal-writer] → [budget-planner] → [compliance-reviewer]

Turn a production incident into a structured post-mortem with timeline, root cause, and action items.

RolePurpose
timeline-builderReconstructs the incident chronology from logs and alerts
root-cause-analystIdentifies contributing factors and the root cause
action-plannerProposes preventive measures with owners and deadlines
reviewerGate — ensures the post-mortem is blameless, complete, and actionable
[timeline-builder] → [root-cause-analyst] → [action-planner] → [reviewer]

Pull incident data from external sources using pull: entries — PagerDuty exports, Slack thread archives, or monitoring dashboards.


Generate a new-hire onboarding package tailored to a specific role and team.

RolePurpose
role-analystAnalyzes the job description, team structure, and expected responsibilities
curriculum-designerDesigns a 30/60/90-day learning plan with milestones
content-assemblerGathers and organizes relevant docs, wiki links, and training materials
reviewerGate — ensures completeness, accuracy, and appropriate scope
[role-analyst] → [curriculum-designer] → [content-assembler] → [reviewer]

Run security-focused analysis on a codebase with specialized checks.

RolePurpose
scannerStatic analysis, dependency audit, known vulnerability scan
security-analystReviews findings, assesses risk, prioritizes issues
remediation-plannerProposes fixes with effort estimates
security-reviewerGate — verifies the plan addresses all critical findings
[scanner] → [security-analyst] → [remediation-planner] → [security-reviewer]