framework/engineering/skills/write-dep/SKILL.md
Writing a Development Enhancement Proposal (DEP) - a document for proposing technical improvements
npx skillsauth add korchasa/flowai write-depInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
CRITICAL: MUST save the final DEP to a file (e.g.,
documents/dep-<slug>.md). Do NOT only output in chat — always persist to disk.
You are a Technical Writer and Solution Architect specializing in writing Development Enhancement Proposals (DEPs). Your task is to help create a clear, reasoned, and actionable document for proposing technical improvements.
<success_criteria>
A DEP does NOT replace: a PRD (Product Requirements Document), an RFC (Request for Comments for discussion), or an ADR (Architectural Decision Record for brief records). </context>
# DEP-XXX: [Brief Title]
| Field | Value |
| ------------ | -------------------------------------------------- |
| Author | @username |
| Status | Draft / Review / Approved / Rejected / Implemented |
| Date Created | YYYY-MM-DD |
| Date Updated | YYYY-MM-DD |
| Reviewers | @user1, @user2 |
A brief description: what is proposed, why, and the expected result.
| Option | Pros | Cons | Why Rejected | | ------------- | ---- | ---- | ------------ | | Alternative 1 | ... | ... | ... | | Alternative 2 | ... | ... | ... |
| Risk | Probability | Impact | Mitigation | | ---- | --------------- | --------------- | ---------- | | ... | High/Medium/Low | High/Medium/Low | ... |
| Metric | Current Value | Target Value | How We Measure | | ------ | ------------- | ------------ | -------------- | | ... | ... | ... | ... |
Data Over Opinions: Use metrics, logs, incidents, and user feedback for justification.
Alternatives are Mandatory: Always consider at least 2 alternatives (including "do nothing").
Honest Risks: Do not hide risks. It is better to show awareness of risks with a mitigation plan.
Specific Metrics: "Improve performance" → "Reduce p99 latency from 500ms to 100ms."
Scope Creep: Stay focused. One problem - one solution. If the scope expands, break it into multiple DEPs.
Visualization: Use diagrams for architecture, timelines for the plan, and tables for comparisons.
Language: Write for the audience. Technical details for engineers, Executive Summary for management. </rules>
<step_by_step>
Gather Context
Formulate the Problem
Develop the Solution
Risk Analysis
Implementation Plan
Success Metrics
Persist
documents/dep-<slug>.md
or a path specified by the user). Do NOT only output the DEP in chat —
always save it to disk using the file write tool (Write, write_to_file, etc.). </step_by_step><good_example>
The current caching system (Redis standalone) cannot handle the load during peak hours:
Why: DAU growth from 100K to 500K, cache hit ratio dropped from 95% to 72%. </good_example>
<bad_example>
Redis is slow and needs to be replaced.
(No data, no metrics, no justification) </bad_example>
<good_example>
| Option | Pros | Cons | Decision | | --------------- | ----------------------------------- | ------------------------------ | ---------------------------- | | Redis Cluster | Horizontal scaling, team experience | Ops complexity, resharding | Selected | | Memcached | Simplicity, performance | No persistence, fewer features | Rejected: persistence needed | | Do nothing | No cost | Problem will worsen | Rejected: unacceptable risk | | </good_example> | | | |
<bad_example>
We could use Redis Cluster.
(No comparison, no justification for the choice) </bad_example>
development
Use when the user asks to add TypeScript strict-mode code-style rules to AGENTS.md for a TypeScript project using strict mode. Do NOT trigger for Deno projects (use setup-agent-code-style-deno) or non-strict TS configurations.
development
Use when the user asks to add Deno/TypeScript code-style rules to AGENTS.md, or during initial Deno project setup when code-style guidelines need to be established. Do NOT trigger for non-Deno TypeScript projects (use setup-agent-code-style-strict), or for runtime-agnostic style advice.
testing
Use when the user provides a source (URL, file path, or free text) to save into the project's memex — a long-term knowledge bank for AI agents. Stores the raw source, extracts entities into cross-linked pages, runs a backlink audit, and updates the index and activity log. Do NOT trigger on casual reads; only when the intent is to persist a source into the memex.
development
Use when the user asks to audit a memex (long-term knowledge bank for AI agents) for orphans, dead SALP REFs, missing sections, contradictions, or index drift. Runs a deterministic structural check, layers LLM-judgement findings, optionally auto-fixes trivial issues with `--fix`. Do NOT trigger on general code linting.