.claude/skills/flow-skill-write-dep/SKILL.md
Writing a Development Enhancement Proposal (DEP) - a document for proposing technical improvements
npx skillsauth add korchasa/ai-skel-ts flow-skill-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.
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
<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>
tools
Scaffold a complete AI agent application skeleton with LLM integration, tool calling, observability, cost tracking, session management, and content fetching using @korchasa/ai-skel-ts. Use when the user asks to create an AI agent, add LLM integration, scaffold an AI application, or mentions "ai-skel", "agent skeleton", or "AI scaffold". Works with any programming language.
testing
Create structured specification for large features using phased decomposition. Produces documents/spec-{name}.md with dependency-ordered phases, atomic tasks, explicit boundaries, and per-phase status tracking.
documentation
Guidelines for writing comprehensive Product Requirements Documents (PRD)
development
How to write in informational style