Prompt Manager

Official

Optimize AI prompts for conciseness and accuracy.

Authorsunholo-data
Version1.0.0
Installs0

System Documentation

What problem does it solve?

Overly verbose or inaccurate AI teaching prompts lead to higher token costs, slower response times, and reduced code generation effectiveness. This Skill provides tools and guidance to optimize prompts for maximum information density, improving AI performance.

Core Features & Use Cases

  • Prompt Analysis: Analyze prompt size, code block count, table usage, and identify optimization opportunities, pinpointing areas for improvement.
  • Optimization Strategies: Guides on converting prose to tables, consolidating examples, and linking to external documentation, ensuring efficient token usage.
  • Effectiveness Validation: Critically test prompt changes using AILANG-only eval baselines to ensure effectiveness is maintained or improved, preventing regressions.
  • Use Case: When a user asks to "optimize the v0.3.17 prompt for conciseness," this Skill will analyze the current prompt, guide through token reduction strategies, and validate the changes to ensure AI code generation success rates are maintained.

Quick Start

Analyze current prompt for optimization opportunities

.claude/skills/prompt-manager/scripts/analyze_prompt_size.sh prompts/v0.3.17.md

Create a new optimized prompt version

.claude/skills/prompt-manager/scripts/create_prompt_version.sh v0.3.18 v0.3.17 "Optimize for conciseness (-20% tokens)"

Test the effectiveness of the new prompt version

.claude/skills/prompt-manager/scripts/test_prompt.sh v0.3.18

Dependency Matrix

Required Modules

None required

Components

scriptsresources

💻 Claude Code Installation

Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.

Please help me install this Skill:
Name: Prompt Manager
Download link: https://github.com/sunholo-data/ailang/archive/main.zip#prompt-manager

Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
View Source Repository

Agent Skills Search Helper

Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.