AgentSkillsCN

prompt-enhancer

通过分析项目上下文(代码结构、依赖关系、编码规范、既有模式),优化用户提示。适用于用户仅提供简要开发需求,但若结合项目特定上下文,便能生成更加精准、更具情境意识的提示时使用。

SKILL.md
--- frontmatter
name: prompt-enhancer
description: Enhance user prompts by analyzing project context (code structure, dependencies, conventions, existing patterns). Use when users provide brief development requests that would benefit from project-specific context to generate more accurate, contextually-aware prompts.

Prompt Enhancer

Transform brief development requests into clear, detailed requirements by analyzing project context. Present enhanced requirements to the user for confirmation before implementation.

When to Use

  • User provides a brief request like "로그인 기능 만들어줘", "API 추가해줘"
  • Request lacks specific implementation details
  • Task requires understanding project architecture

Core Workflow

StepAction
1. AnalyzeProject structure, tech stack, patterns, conventions
2. ExtractFeature type, scope, dependencies
3. BuildStructured requirements with project context
4. PresentShow to user for confirmation before implementing

Output Format

markdown
# [기능명] 구현 요구사항

## 📋 프로젝트 컨텍스트
- Framework / Architecture / State / Libraries

## 🎯 구현 범위
- 주요 기능 목록 + 파일 구조

## 📝 상세 요구사항
- 레이어별 구현 내용 + 기존 패턴 참조

## ✅ 성공 기준
## 🔍 확인 사항

Critical: Do NOT implement until user confirms.

Supported Stacks

StackDetectKey Context
Flutterpubspec.yamlState mgmt, Architecture, Navigation
Next.js/Reactpackage.jsonRouter, State, Styling, TypeScript
Pythonrequirements.txtFramework, ORM, Auth, API docs

Full implementation: Load references/DETAIL.md for stack-specific analysis patterns, full example enhancement, and tips.

Reference Files

  • references/enhancement-patterns.md
  • references/framework-guides.md