/beagle-core:prompt-improverfrom beagle-core
Optimizes prompts for code tasks like implementation, debugging, refactoring, code review, and testing. Applies prompt-engineering best practices for clarity, investigation-first thinking, and verification.
Ships in beagle-core. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description, though model invocation is off: only you can start it.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Optimize code-related prompts for clarity, investigation-first thinking, and verification.
$ARGUMENTS
Evaluate the input prompt across these dimensions:
| Dimension | What to check |
|---|---|
| Task Clarity | Is the task type clear? (implement, fix, refactor, review, test) Are boundaries defined? |
| Investigation | Does it specify reading/understanding before acting? |
| Verification | Are there appropriate checks? (run tests, build, lint) |
| Context Anchoring | Does it reference specific files, functions, or patterns? |
| Action Specificity | Is the desired outcome explicit? Quality expectations stated? |
| Scope Control | Is it appropriately scoped? Clear stopping points? |
Identify which dimensions are weak or missing in the input prompt.
Complete in order; do not skip steps.
Original: "fix the login bug"
Optimized:
Fix the login bug. First, read the authentication-related files to understand
the current implementation. Reproduce the bug to confirm the issue. Identify
the root cause before making changes. Implement the fix and run existing tests
to verify no regressions.
Original: "add dark mode"
Optimized:
Implement dark mode for the application. First, check how theming/styling is
currently handled in the codebase. Look for existing color variables or theme
patterns. Implement the toggle and theme switching with minimal changes to
existing components. Run tests and verify the UI renders correctly in both modes.
Original: "clean up the user service"
Optimized:
Refactor the user service for improved maintainability. Read the current
implementation and understand its responsibilities. Identify specific issues
(duplication, unclear naming, tight coupling). Make incremental changes,
running tests after each step to ensure behavior is unchanged.
| Task Type | Tip |
|---|---|
| Bug fixes | Include reproduction steps if known. Specify whether this is a quick fix or needs root cause analysis. |
| Feature implementation | Reference similar features in the codebase. Specify if tests are expected. |
| Refactoring | State the goal (readability, performance, testability). Emphasize incremental changes. |
| Code review | Specify focus areas (security, performance, style). Mention what to ignore. |
| Testing | Specify test type (unit, integration, e2e). Reference existing test patterns. |
Follow the Gates under Step 1 (audit → transform → output). Produce output in this exact format:
[2-3 sentences identifying the prompt type, which dimensions are weak or missing, or why all dimensions are already adequate]
[The improved prompt, ready to copy and use]
[1-2 sentences of relevant tips from the Task-Type Tips table]
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub existential-birds/beagle --plugin beagle-core19 skills in this plugin
/commit-pushcommit and push all local changes to remote repo/create-prcreate a pull request with standardized description template/fetch-pr-feedbackFetch unresolved review comments from a PR and evaluate with receive-feedback skill/fix-llm-artifactsApplies fixes from a prior review-llm-artifacts run, with safe/risky classification. Respects verify-llm-artifacts output when present to skip false positives./gen-release-notesgenerate release notes for changes since a given tag/llm-artifacts-detectionDetects common LLM coding agent artifacts in codebases. Identifies test quality issues, dead code, over-abstraction, and verbose LLM style patterns. Use when cleaning up AI-generated code or reviewing for agent-introduced cruft.Other plugins' skills for the same job