.gemini/skills/prompt-improver/SKILL.md
This skill helps users craft, refine, and optimize prompts for coding agents. It can generate prompts from scratch based on user intent or improve existing drafts using diverse strategies (Speed, Robustness, Education).
npx skillsauth add codcyber101/doc-consult-agent prompt-improverInstall 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.
The Prompt Improver (acting as a "Prompt Architect") assists users in communicating effectively with coding agents. It supports two main modes:
Analyze the user's input to decide the mode:
Generation Mode Protocol:
assets/templates/concise_variants.md template to generate 3 side-by-side concise prompts (Executor, Architect, Mentor).assets/templates/intent_gathering.md) to ask:
Once context is known, propose or select a strategy from references/prompt_variants.md:
Construct the prompt using the selected strategy and relevant templates from assets/templates/.
references/checklist.md.Present the result to the user.
references/checklist.md: The quality standard every prompt must meet.references/patterns.md: The library of prompt engineering techniques.references/prompt_variants.md: The definitions of the 3 output styles.assets/templates/bug_report.md: For fixing errors.assets/templates/feature_request.md: For building new things.assets/templates/intent_gathering.md: For clarifying vague requests.assets/templates/concise_variants.md: For generating quick, simplified prompt options.User: "I need a regex for email validation in JS." Agent: "Here are 3 prompt options for that: Option A (Executor): 'Act as a code generator. Task: Create a JS regex for email. Output: Code only.' Option B (Architect): 'Act as a Senior JS Engineer. Implement robust email validation. Handle edge cases (unicode), ensure RFC compliance...' ..."
User: "Write a snake game." Agent: "I can help. To generate the best prompt, I need a few details:
User: "Fix this loop." [Pastes code] Agent: "I've improved your prompt to ensure the agent explains the fix: Improved Prompt: 'Act as a Python Mentor. Analyze the attached loop. Explain why it is inefficient, then provide a refactored version using a list comprehension. Constraints: Explain the Big-O time complexity difference.' "
development
Extracts transcript, metadata (title, channel, duration), thumbnail URL, and other details from YouTube videos, then generates an Obsidian note using the youtube-video-notes template. Use when the user provides YouTube links and wants structured notes in Obsidian format.
development
Comprehensive spreadsheet creation, editing, and analysis with support for formulas, formatting, data analysis, and visualization. When Claude needs to work with spreadsheets (.xlsx, .xlsm, .csv, .tsv, etc) for: (1) Creating new spreadsheets with formulas and formatting, (2) Reading or analyzing data, (3) Modify existing spreadsheets while preserving formulas, (4) Data analysis and visualization in spreadsheets, or (5) Recalculating formulas
tools
Toolkit for interacting with and testing local web applications using Playwright. Supports verifying frontend functionality, debugging UI behavior, capturing browser screenshots, and viewing browser logs.
tools
Suite of tools for creating elaborate, multi-component claude.ai HTML artifacts using modern frontend web technologies (React, Tailwind CSS, shadcn/ui). Use for complex artifacts requiring state management, routing, or shadcn/ui components - not for simple single-file HTML/JSX artifacts.