prompt-enhancer
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.
Security Assessment
About prompt-enhancer
The prompt-enhancer skill transforms brief and ambiguous development requests into structured, context-aware requirement documents by analyzing the surrounding project environment. It addresses a common problem in software development workflows: vague instructions such as "create a login feature" or "add an API" that lack architectural, structural, or implementation details. Instead of proceeding directly to implementation, this skill first inspects the project context—such as file structure, dependencies, frameworks, architectural patterns, and coding conventions—to produce a comprehensive and aligned specification. The result is a clarified, project-specific requirement document that reduces misunderstandings and rework.
The skill operates through a defined workflow. It analyzes uploaded project files to detect technology stacks, architectural patterns, state management solutions, routing strategies, and library usage. It then extracts the intent and scope of the user’s request, identifying whether the task involves a new feature, refactoring, integration, or bug fix. Based on this analysis, it generates a structured requirements document that includes project context, implementation scope, detailed layer-by-layer specifications, file structure expectations, success criteria, and open clarification points. Importantly, it requires explicit user confirmation before any implementation begins, ensuring alignment and preventing premature development.
This skill is particularly useful for development teams, AI-assisted coding workflows, technical leads, and solo developers who want higher precision in task definition before coding. It is especially effective in structured projects such as Flutter, Next.js, and React applications, where architecture and conventions matter. By enforcing requirement clarification and project consistency, the skill improves collaboration, reduces ambiguity, and ensures new features align with existing codebases.
FAQ
When should I use the prompt-enhancer skill?
Use it when a development request is brief or lacks implementation detail, especially if the task depends on understanding project architecture, conventions, or existing patterns.
Does this skill automatically implement the feature?
No. It only analyzes the request and project context to generate a structured requirement document. Implementation begins only after user confirmation.
What types of projects are supported?
The skill is designed to work with structured software projects where architecture and dependencies can be analyzed, including Flutter and Next.js/React-based applications.
What is required for accurate analysis?
Access to relevant project files, such as dependency manifests and source directories, significantly improves the accuracy of context detection and requirement generation.
Can this skill handle both frontend and backend tasks?
Yes. It can clarify scope across single components, full user flows, or combined frontend and backend changes, as long as sufficient project context is available.
Install prompt-enhancer
Quick Setup:
- Copy the skill folder to
.claude/skills/ - Claude will automatically detect and use the skill
Repository
bear2u/my-skills