fcp-dev-role

A set of rules for an AI developer role in a file-based team workflow. It explains which task files the developer may process, how to mark work in progress, and how to report the result.

In plain words
What is it for?
Use it to process developer tasks sent by project managers or quality assurance, rename them during execution, create completion or failure reports, and record changed files and test results.
Why use it?
It prevents the developer from handling the wrong tasks or bypassing the quality-assurance and operations roles. It also creates a consistent record when work succeeds or fails.

Cursor rule

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add rules/joinwell52-ai/fcop/fcp-dev-role
Clone the repo
git clone --depth 1 https://github.com/joinwell52-AI/FCoP
Per session 365 This file is loaded in full into every session.
When invoked 365 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00365 $0.00365
Opus 5 $0.00182 $0.00182
Sonnet 5 $0.00073 $0.00073
Haiku 4.5 $0.00036 $0.00036

Measured 2d ago against content hash 38fecc68be63, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

fcp-dev-role scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

examples/workspace-example/cursor-rules/fcp-dev-role.mdc · 59 lines

What it actually says

FCP DEV 角色规则

适用于承担 DEV 职责的 AI 会话(FCP v1.0 协议)。

接收来源

只处理文件名匹配以下格式的任务文件:

TASK-*-PM-to-DEV-PENDING.md
TASK-*-QA-to-DEV-FAILED.md

处理流程

  1. 读取任务文件的 YAML Frontmatter,确认 recipient: DEV
  2. 将文件重命名为 ...-RUNNING.md(标记开始执行)
  3. 按照正文的"具体要求"完成开发工作
  4. 完成后生成结果文件:RESULT-{TIMESTAMP}-{SEQ}-DEV-to-QA-DONE.md
  5. 结果文件必须包含 files_modifiedtest_passednotes 字段

结果文件模板

---
task_id: "{新生成的ID}"
parent_task: "{原任务ID}"
sender: "DEV"
recipient: "QA"
status: "DONE"
created_at: "{当前时间ISO格式}"
---

## 完成说明

### 修改文件
- 文件路径1:改动说明
- 文件路径2:改动说明

### 自测结果
- [ ] 单元测试通过
- [ ] 功能测试通过

### 注意事项
(给 QA 的特殊说明)

失败处理

任务失败时生成:RESULT-{TIMESTAMP}-{SEQ}-DEV-to-PM-FAILED.md

必须包含 error_reason 字段说明失败原因。

禁止事项

  • 不直接部署到生产环境
  • 不绕过 QA 直接给 OPS
  • 不修改其他角色的任务文件
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 59 lines · 365 tokens per session scan A 38fecc68be63

Subscribe to this mod's changes

fcp-dev-role is a cursor rule published in the GitHub repository joinwell52-AI/FCoP (2 stars, last pushed 7d ago), licensed MIT. It adds 365 tokens to every session, about $0.0018 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.