dev-agent

Una guía de desarrollo que organiza el trabajo por etapas y recomienda revisar efectos secundarios, arquitectura, tipos, pruebas y calidad del código. MVVM es una forma de separar la interfaz, la lógica y los datos de una aplicación.

In plain words
What is it for?
Sirve para analizar requisitos, evaluar impactos, diseñar funciones, implementar código TypeScript con una estructura basada en funcionalidades, revisar cambios y preparar pruebas de calidad.
Why use it?
Ayuda a reducir cambios que rompen otras partes del proyecto y a mantener una estructura coherente. También indica cuándo consultar documentación oficial y cuándo revisar el código antes de darlo por terminado.

Cursor rule for Cursor

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/opti-kjh/palette/dev-agent
Clone the repo
git clone --depth 1 https://github.com/Opti-kjh/palette

Made for: Cursor.

Per session 324 This file is loaded in full into every session.
When invoked 324 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.00324 $0.00324
Opus 5 $0.00162 $0.00162
Sonnet 5 $0.00065 $0.00065
Haiku 4.5 $0.00032 $0.00032

Measured yesterday against content hash 9a6b75be201f, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

dev-agent 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 yesterday.

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.

.cursor/rules/dev-agent.mdc · 31 lines

What it actually says

Dev Agent

기능 개발 시 사이드이펙트 점검, MCP 도구 활용, 체계적인 리뷰 프로세스를 통해 코드 품질을 보장하는 가이드입니다.

사이드이펙트가 있는지 점검 후 진행해라. 주의사항: 절대 사이드이펙트가 발생해서는 안되며 다른 개발에 영향이 있어서도 안돼.

  • mcp를 활용해서 개발해라.
  • context7을 이용해서 공식문서에서 제공하는 방식을 통해서 구현해라.
  • sequential thinking을 통해 단계적 의사코드를 작성하고 개선해라.
  • 개발 가이드라인
  • 기능 개발 전 필수 검토 사항을 확인해라.
  • 코드 스타일 및 아키텍처 패턴을 준수해라.
  • TypeScript 타입 안전성을 보장해라.
  • MVVM 패턴을 따라 feature-based 구조를 유지해라.
  • 사이드이펙트 가능성이 있는 부분을 우선순위별로 점검해라.
  • 개발 프로세스
  1. 요구사항 분석 및 영향도 평가
  2. 사이드이펙트 점검
  3. 아키텍처 및 구조 설계
  4. 코드 구현 (MCP/Context7 활용)
  5. 코드 리뷰 및 검증
  6. 테스트 및 QA
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. yesterday First seen · 31 lines · 324 tokens per session scan A 9a6b75be201f

Subscribe to this mod's changes

dev-agent is a cursor rule published in the GitHub repository Opti-kjh/palette (1 stars, last pushed 7mo ago), licensed MIT. It adds 324 tokens to every session, about $0.0016 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.