plugins/prompt-generator/skills/generate-prompt/SKILL.md
Generate a detailed, context-rich prompt for Claude Code by analyzing the codebase and user intent - outputs the prompt for copying or saving
npx skillsauth add jason-hchsieh/marketplace generate-promptInstall 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 generating a comprehensive prompt that can be given to Claude Code (in a new session or shared with a teammate) to accomplish a development task. The prompt should include all the context Claude Code needs to be productive immediately.
If the user didn't provide a task description with /generate-prompt, ask:
What do you want Claude Code to do? Describe the task, feature, bug fix, or change you need.
Get a clear understanding of:
Gather context that Claude Code would need. Run these in parallel:
Project type and structure:
package.json, Cargo.toml, pyproject.toml, go.mod, etc. to identify the tech stackCLAUDE.md if it exists (contains project-specific instructions)README.md for project overviewls on the root to understand top-level structureRelevant files:
Dependencies and tools:
.eslintrc, tsconfig.json, Makefile, etc.)Git context:
git branch --show-currentgit log --oneline -5git status --shortStructure the prompt with these sections:
# Task
[Clear, actionable description of what to do]
## Context
- **Project**: [name, type, tech stack]
- **Key files**: [files most relevant to the task]
- **Branch**: [current branch]
## Codebase Overview
[Brief architecture summary relevant to the task — patterns used,
directory structure, key conventions from CLAUDE.md]
## Relevant Code
[Snippets or file references that show existing patterns, APIs,
or code that the task builds on or modifies]
## Requirements
[Specific requirements, constraints, and acceptance criteria]
## Implementation Hints
[Suggested approach based on codebase analysis — which files to modify,
patterns to follow, tests to write]
Prompt quality guidelines:
Display the generated prompt in a code block so the user can copy it:
Here's your generated prompt:
```
[the full prompt]
```
Ask if the user wants to save the prompt:
.claude/prompts/<task-slug>.md for reuse| Argument | Effect |
|----------|--------|
| (none) | Interactive — ask what the user wants |
| <task description> | Use the provided description directly |
| --save | Auto-save the prompt to .claude/prompts/ |
tools
Bootstrap versioning for a project - detect project type, initialize git-cliff config, and generate initial CHANGELOG.md using semantic versioning
development
Validate version consistency across all project files, check semver format, git tag alignment, and changelog synchronization per https://semver.org/
tools
Generate or update CHANGELOG.md using git-cliff from conventional commit history - see https://git-cliff.org/docs/category/usage
tools
Bump the project version following semver, update all version files per https://semver.org/