MP

mustansirlokhandwala/prompt-craft

效率工作流

本页由 AI 翻译,技术细节请以原文为准。 查看原文

0 stars 质量 65 趋势 14MIT

Skills that turn weak prompts into clear, token-efficient ones, with budget warnings. For Claude Code, Claude.ai and Antigravity.

概览

Skills that turn weak prompts into good ones and stop you wasting tokens. copy the folders in skills/ into ~/.claude/skills/. zip a skill folder (for example skills/prompt-improver) and upload it under Settings → Capabilities → Skills. - "Improve this prompt: write me a blog post about AI" - "/prompt-improver can u fix my code its broken" - "How many tokens will this take?" (with files attached) The token-budget skill also warns on its own when you paste a lot of text or start a big multi-step task. Skills load only when a request matches them. To apply prompt-craft to prompt, load the short rules in rules/always-on.md (~250 tokens) into the agent's standing context: - automatic. A SessionStart hook loads the rules in every session. - append the rules to ~/.claude/CLAUDE.md. - paste the rules into your profile preferences or a project's instructions. - append the rules to ~/.gemini/GEMINI.md, or copy them into .agents/rules/ and set the rule to Always On.

README

以下为原文 README 节选,完整内容请查看原文。

prompt-craft

Skills for working smarter with AI in Claude Code, Claude.ai and Antigravity. Fix weak prompts, budget tokens, shape rough ideas, design well without design skills, write clear replies, test real use cases and check market fit before you build.

Skill What it does
prompt-improver Finds the real intent, fills the missing pieces, rewrites the prompt for accuracy and efficiency, and explains each change so you learn.
token-budget Estimates tokens in and out, warns before a task goes over budget, and suggests cheaper ways to get the same result.
idea-shaper Turns a rough idea you can’t quite explain into a one-page concept and a ready-to-use prompt, one easy question at a time.
design-brief Professional-looking results without design skills: offers 3 directions, turns your pick into exact colors, fonts and layout, then checks the result.
clear-writer Turns rough notes or broken English into a short, direct reply that sounds human, not like AI.
market-fit-check Before you build: finds what already exists and how to stand out, sizes who would use it, and checks whether you’re solving for the 80% or the 20%. Ends with a build / rethink verdict, with sources. Runs only when you ask for it.
usecase-tests Before code is submitted: writes tests from what the code should do (not what it does), breaks the code on purpose to prove the tests catch bugs, and reports coverage.

Install

One command for Claude Code and Antigravity (macOS and Linux):

curl -fsSL https://raw.githubusercontent.com/mustansirlokhandwala/prompt-craft/main/install.sh | bash

It sets up every tool it finds:

  • links the skills into ~/.claude/skills/ and Antigravity’s skills folder;
  • adds the always-on rules to ~/.claude/CLAUDE.md and ~/.gemini/GEMINI.md, inside a marked block, without touching anything else in those files (it backs each file up once first);
  • never replaces a skill of yours that has the same name.

Run the same command again to update. To set up only one tool, add -s -- --claude or -s -- --antigravity to the end of the command.

Uninstall:

curl -fsSL https://raw.githubusercontent.com/mustansirlokhandwala/prompt-craft/main/install.sh | bash -s -- --uninstall

This removes only what the installer added. Your own skills and instructions stay.

If you’ve cloned the repo, run ./install.sh or ./install.sh --uninstall from it instead. The installed skills then link to your clone, so a git pull updates them.

Claude Code plugin: use this instead of the installer, not as well as it, or the rules load twice.

claude plugin marketplace add mustansirlokhandwala/prompt-craft
在 GitHub 查看完整 README

推荐工具

换一个关键词,或者移除筛选条件。

安装

npx skillfish add mustansirlokhandwala/prompt-craft
新手?先看 mcpskill.org 教程 →