plugins/prompt-generator/skills/generate-and-execute/SKILL.md
Generate a detailed prompt for Claude Code by analyzing the codebase, then execute it immediately after user confirmation
npx skillsauth add jason-hchsieh/marketplace generate-and-executeInstall 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 and then executing it directly. This is the same as /generate-prompt but instead of just displaying the prompt, you execute the task after user confirmation.
If the user didn't provide a task description with /generate-and-execute, ask:
What do you want Claude Code to do? Describe the task, feature, bug fix, or change you need.
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]
## Context
[Project info, key files, branch]
## Codebase Overview
[Architecture summary relevant to the task]
## Relevant Code
[Snippets and file references]
## Requirements
[Specific requirements and acceptance criteria]
## Implementation Hints
[Suggested approach, files to modify, patterns to follow]
Display the generated prompt and ask for confirmation:
Here's the prompt I'll execute:
---
[the full prompt]
---
Proceed with execution?
Wait for explicit user confirmation before proceeding. Do not auto-execute.
After confirmation, follow the prompt instructions yourself:
Report progress as you work through the task.
After execution, ask if the user wants to save the prompt for reuse:
.claude/prompts/<task-slug>.md| Argument | Effect |
|----------|--------|
| (none) | Interactive — ask what the user wants |
| <task description> | Use the provided description directly |
| --save | Auto-save the prompt to .claude/prompts/ |
/generate-prompt)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/