能力标签
💬
Prompt模板

Prompt Bar

基于 Kotlin · 专业级提示词模板,解锁 AI 的真实潜力
英文名:prompt-bar
⭐ 4 Stars 💻 Kotlin 📄 Apache-2.0 🏷 AI 8.0分
8.0AI 综合评分
AIKotlinAndroidChat
✦ AI Skill Hub 推荐

Prompt Bar 是 AI Skill Hub 本期精选Prompt模板之一。综合评分 8.0 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。

📚 深度解析

Prompt Bar 是经过精心设计和实践验证的专业 Prompt 模板。Prompt 工程(Prompt Engineering)是充分发挥 Claude、ChatGPT 等大型语言模型潜力的关键技能,而一套经过优化的 Prompt 模板可以将 AI 输出质量提升数倍。

优质 Prompt 模板的核心价值在于其结构化设计:明确的角色设定、精确的任务描述、具体的输出格式要求和必要的边界条件,这些要素共同构成了一个能够持续产出高质量结果的 Prompt 框架。Prompt Bar 提供的模板经过反复迭代和用户验证,能够有效减少 AI 的"幻觉"(Hallucination)和输出不稳定问题。

无论你使用 Claude 3.5 Sonnet、GPT-4、Gemini 还是国内的文心一言、智谱 AI,优质的 Prompt 设计都能跨模型复用。AI Skill Hub 建议将本模板保存为个人 Prompt 库的标准组件,根据具体场景调整参数后反复使用,形成自己的 AI 提效工作流。

📋 工具概览

Prompt Bar 是经过精心设计和反复验证的专业 Prompt 模板集合。这些 Prompt 框架能够有效激活 Claude、ChatGPT 等大型语言模型的深层能力,让 AI 生成更准确、更有价值的输出结果。无需任何安装,直接复制模板内容到 AI 对话框即可使用。

GitHub Stars
⭐ 4
开发语言
Kotlin
支持平台
Windows / macOS / Linux / Android
维护状态
轻量级项目,按需更新
开源协议
Apache-2.0
AI 综合评分
8.0 分
工具类型
Prompt模板
Forks

📖 中文文档

以下内容由 AI Skill Hub 根据项目信息自动整理,如需查看完整原始文档请访问底部「原始来源」。

Prompt Bar 是经过精心设计和反复验证的专业 Prompt 模板集合。这些 Prompt 框架能够有效激活 Claude、ChatGPT 等大型语言模型的深层能力,让 AI 生成更准确、更有价值的输出结果。无需任何安装,直接复制模板内容到 AI 对话框即可使用。

📌 核心特色
  • 精心设计的 Prompt 框架,快速激活 AI 的深层能力
  • 支持参数化替换,灵活适配多种业务场景
  • 经过反复验证的指令结构,显著提升 AI 输出质量和一致性
  • 适用于 Claude、ChatGPT 等主流大语言模型
  • 可作为团队标准 Prompt 模板复用和二次开发
🎯 主要使用场景
  • 快速生成高质量的专业文案、分析报告或结构化内容
  • 利用 Prompt 框架引导 AI 解决特定领域的复杂问题
  • 在不同 AI 工具间复用经过验证的提示词模板
以下安装命令基于项目开发语言和类型自动生成,实际以官方 README 为准。
安装命令
# Prompt 无需安装,直接复制使用
# 支持:Claude / ChatGPT / Gemini / 通义千问 等主流模型

# 使用步骤
# 1. 复制 Prompt 模板内容
# 2. 粘贴到 AI 对话框
# 3. 替换 [占位符] 为实际内容
# 4. 发送后获取结构化输出

# 获取原始文件
git clone https://github.com/NadeemIqbal/prompt-bar
📋 安装步骤说明
  1. 复制本工具的 Prompt 模板内容
  2. 打开 Claude、ChatGPT 或其他 AI 对话工具
  3. 将 Prompt 粘贴到对话框开头
  4. 根据实际需求替换 [占位符] 中的内容
  5. 发送后 AI 将按照模板格式执行,获得结构化输出
以下用法示例由 AI Skill Hub 整理,涵盖最常见的使用场景。
常用命令 / 代码示例
# 粘贴到 Claude/ChatGPT 使用
# 示例 Prompt 结构:

你是一位 [角色],擅长 [领域]。
请根据以下要求完成任务:

任务背景:[描述背景]
具体要求:[详细说明]
输出格式:[期望格式]

# 将 [] 内内容替换为实际需求
以下配置示例基于典型使用场景生成,具体参数请参照官方文档调整。
配置示例
# prompt-bar 配置说明
# 查看配置选项
prompt-bar --config-example > config.yml

# 常见配置项
# output_dir: ./output
# log_level: info
# workers: 4

# 环境变量(覆盖配置文件)
export PROMPT_BAR_CONFIG="/path/to/config.yml"
📑 README 深度解析 真实文档 完整度 37/100 查看 GitHub 原文 →
以下内容由系统直接从 GitHub README 解析整理,保留代码块、表格与列表结构。

PromptBar

The AI chat composer for Compose Multiplatform. Multi-line auto-growing textarea, slash-command autocomplete, @-mention dropdown, attachment chips with image / file previews, a unified Send → Sending → Stop button state machine, voice button, prompt template chips, model selector, live token counter, keyboard shortcuts — all on every CMP target, all driven from a single headless PromptBarState.

Maven Central License Build

<p align="center"> <img src="docs/hero.gif" width="320" alt="PromptBar driving a fake LLM chat with slash commands, attachments, send/stop, and llm-typewriter streaming markdown responses on iOS" /> </p>

Pairs naturally with llm-typewriter — see the sample app for the full "AI chat starter kit" wiring (Send/Stop button auto-syncs with the typewriter's streaming state; the demo above shows it in action on iOS).

Install

dependencies {
    implementation("io.github.nadeemiqbal:prompt-bar:0.1.0")
}

Usage

@Composable
fun ChatScreen(vm: ChatViewModel) {
    val state = rememberPromptBarState()
    PromptBar(
        state = state,
        onSend = { vm.send(state.outgoing) },
        onStop = { vm.cancelStream() },
        onVoiceTap = { vm.startVoiceInput() },

        // Optional: slash commands
        slashCommands = listOf(
            SlashCommand("clear", "Clear conversation") { vm.clear() },
            SlashCommand("imagine", "Generate an image", hotkey = "Cmd+I"),
        ),

        // Optional: @-mention provider (sync or async)
        mentionProvider = MentionProvider.fromList(vm.workspaceMentions),

        // Optional: quick-start templates above the input
        templates = listOf(
            PromptTemplate("Summarize", "Please summarize this conversation."),
            PromptTemplate("Explain code", "Explain what this code does:\n
\n\n
"),
        ),

        // Optional: inline model picker on the bottom bar
        modelSelector = { ModelDropdown(state) },
    )
}

Sample app

./gradlew :sample:desktopApp:run                 # Desktop
./gradlew :sample:androidApp:assembleDebug       # Android
./gradlew :sample:webApp:wasmJsBrowserDevelopmentRun   # Web

The sample is a fake chat app that exercises every feature — slash commands, mentions, attachments via the voice button, templates, model selector cycling, Send/Stop transitions.

⚡ 核心功能

👥 适合人群

内容创作者和自媒体人职场人士和学生ChatGPT / Claude 重度用户希望提升 AI 使用效率的普通用户

🎯 使用场景

  • 快速生成高质量的专业文案、分析报告或结构化内容
  • 利用 Prompt 框架引导 AI 解决特定领域的复杂问题
  • 在不同 AI 工具间复用经过验证的提示词模板

⚖️ 优点与不足

✅ 优点
  • +Apache-2.0 协议,可免费商用
  • +无需安装,立即可用
  • +适配所有主流 AI 工具
  • +经社区验证的最佳实践
⚠️ 不足
  • 效果依赖使用者对 Prompt 工程的熟悉程度
  • 不同模型和版本的响应效果可能存在差异
  • 复杂场景需结合实际需求二次调整
⚠️ 使用须知

AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。

建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。

📄 License 说明

✅ Apache 2.0 — 宽松开源协议,可商用,需保留版权声明和 NOTICE 文件,含专利授权条款。

🔗 相关工具推荐

🧩 你可能还需要
基于当前 Skill 的能力图谱,自动补全的工具组合

❓ 常见问题 FAQ

参考README文档
💡 AI Skill Hub 点评

经综合评估,Prompt Bar 在Prompt模板赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。

⬇️ 获取与下载
⬇ 下载源码 ZIP

✅ Apache-2.0 协议 · 可免费商用 · 直接从 aiskill88 服务器下载,无需跳转 GitHub

📚 深入学习 Prompt Bar
查看分步骤安装教程和完整使用指南,快速上手这款工具
🌐 原始信息
原始名称 prompt-bar
Topics AIKotlinAndroidChat
GitHub https://github.com/NadeemIqbal/prompt-bar
License Apache-2.0
语言 Kotlin
🔗 原始来源
🐙 GitHub 仓库  https://github.com/NadeemIqbal/prompt-bar 🌐 官方网站  https://central.sonatype.com/artifact/io.github.nadeemiqbal/prompt-bar

收录时间:2026-05-27 · 更新时间:2026-05-27 · License:Apache-2.0 · AI Skill Hub 不对第三方内容的准确性作法律背书。