prompt-architect  by ckelsoe

Prompt engineering framework for structured, expert-level prompts

Created 8 months ago
253 stars

Top 99.3% on SourcePulse

GitHubView on GitHub
Project Summary

Prompt Architect is an open-source tool designed to transform vague user prompts into structured, expert-level prompts for AI agents. It targets developers using AI coding assistants and prompt engineers seeking systematic prompt improvement, offering a significant benefit by enhancing the quality and effectiveness of AI interactions.

How It Works

The tool operates through an intelligent analysis pipeline. It evaluates incoming prompts across five quality dimensions: clarity, specificity, context, completeness, and structure. Based on this analysis, it recommends the most suitable of its 29 research-backed frameworks (e.g., CO-STAR, RISEN, Chain of Thought) with clear reasoning. It then engages the user in a guided dialogue, asking targeted questions to gather necessary information progressively before systematically applying the chosen framework to generate a refined, structured prompt.

Quick Start & Requirements

Installation is straightforward via npm: npx @ckelsoe/prompt-architect. The interactive installer detects and allows installation for various AI agents including Claude Code, ChatGPT, Gemini CLI, Cursor, and GitHub Copilot. For Claude Code specifically, /install-skill https://github.com/ckelsoe/prompt-architect/tree/main/skills/prompt-architect or /plugin marketplace add ckelsoe/prompt-architect can be used. No specific hardware or advanced software prerequisites are mentioned beyond the compatible AI agents themselves.

Highlighted Details

  • Supports 29 distinct prompting frameworks across 7 intent categories, offering a wide range of structured approaches.
  • Integrates with numerous AI agents, including Claude Code, ChatGPT, Gemini CLI, Cursor, GitHub Copilot, and OpenAI Codex.
  • Features a prompt quality scoring system evaluating clarity, specificity, context, completeness, and structure.
  • Employs progressive disclosure for clarifying questions and iterative refinement based on user feedback.

Maintenance & Community

The project welcomes contributions, with detailed guidelines provided for adding new frameworks, improving existing ones, fixing bugs, and enhancing documentation. While specific community channels like Discord or Slack are not listed, the open contribution model suggests an active development environment.

Licensing & Compatibility

Prompt Architect is released under the MIT License. This permissive license allows for commercial use, modification, distribution, and private use, with the primary conditions being the inclusion of the original license and copyright notice. It imposes no liability and offers no warranty.

Limitations & Caveats

While the underlying frameworks are universal, the tool itself is noted as being optimized for Claude, suggesting potential differences in user experience or integration nuances with other LLM platforms. The README does not detail known bugs or specific unsupported platforms beyond this optimization note.

Health Check
Last Commit

1 week ago

Responsiveness

Inactive

Pull Requests (30d)
1
Issues (30d)
0
Star History
30 stars in the last 30 days

Explore Similar Projects

Feedback? Help us improve.