RepositoryPythonTRThổ Nhĩ Kỳ
mturac

mturac/promptguard

Offline prompt-contract auditor for Hermes, Claude Code, Codex, OpenCode & OpenClaw. Pre-write guard before agents ship vague code. Zero deps. No model API.

76sao
1fork
0issue
0lượt xem

Thành tựu nổi bật

Những danh hiệu mới nhất của dự án

1
TINIX TRENDING·Chủ đề: guardrails

#1 Repository Của Tháng

1
TINIX TRENDING·Chủ đề: prompts

#1 Repository Của Tháng

2
TINIX TRENDING·Chủ đề: hermes

#2 Repository Của Tháng

🔍 PromptGuard: Kiểm tra hợp đồng prompt cho các agent AI

Như một linter cho trách nhiệm, an toàn và hợp đồng thực thi — trước khi agent làm việc.

PromptGuard là công cụ kiểm tra prompt hoạt động như hợp đồng hành vi. Dành cho các workflow agent nơi prompt mơ hồ dẫn đến kết quả kém, đặc biệt khi agent sắp sửa file, ghi đè system prompt, hoặc ship code.

✨ Điểm nổi bật

  • Audit hành vi: Kiểm tra xem task có rõ ràng, agent có trách nhiệm rõ ràng, output có định dạng rõ ràng không.
  • Phát hiện đầy đủ: Báo cáo lỗi cụ thể bằng mã PG001–PG015 (ví dụ: xung đột bảo mật, ranh giới agent, thiếu hợp đồng output).
  • Zero dependency: Chạy ngay bằng python3 -m promptguard audit, không cần cài đặt hay API model.
  • Agent-native: Cài đặt adapter riêng cho Codex, Claude Code, OpenCode, OpenClaw — kiểm tra prompt trước khi ghi.
  • Báo cáo chi tiết: Cho biết quyết định còn thiếu, câu hỏi cần hỏi, hợp đồng cần có, cách sửa prompt.
  • Tích hợp CI/CD: Xuất báo cáo dưới dạng JSON, Markdown, table; lưu vào .promptguard/reports.jsonl.
  • Portable skill: Bundle skills/promptguard có thể cài vào bất kỳ agent nào mà không cần cài toàn cục.
  • Eval cases: Bộ test mẫu trong eval/ giúp đánh giá chất lượng prompt.

💡 Vì sao đáng chú ý

Không chỉ nói "prompt xấu", PromptGuard phân tích nguyên nhân và gợi ý cách sửa cụ thể. Thích hợp với các team dùng agent AI để dev, nơi prompt mơ hồ dễ gây lỗi nghiêm trọng. Cài đặt adapter và khởi động lại agent — mọi thay đổi prompt-like sẽ được kiểm tra tự động trước khi ghi.


#PromptGuard #AIAgents #PromptEngineering #DevOps #OpenSource #TiniX

Dự án tương tự

Khám phá các dự án và mô hình AI khác có sự tương đồng.

RepositoryJavaScript
DietrichGebert/ponytail

Makes your AI agent think like the laziest senior dev in the room. The best code is the code you never wrote.

176.9k
Oct 18, 2026
RepositoryPython
NousResearch/hermes-agent

The agent that grows with you

257.3k
Oct 26, 2026
RepositoryTypeScript
morluto/rea

Reverse engineer anything with agents, from app behavior down to native binaries.

390.1k
Oct 26, 2026
RepositoryJavaScript
Leonxlnx/taste-skill

Agent skills that give coding agents taste: art direction, reference images and a browser check instead of generic AI pages

102.9k
Oct 26, 2026
RepositoryJavaScript
addyosmani/agent-skills

Production-grade engineering skills for AI coding agents.

110.7k
Oct 13, 2026
RepositoryTypeScript
paperclipai/paperclip

The open-source app everyone uses to manage agents at work

107.6k
Oct 26, 2026
RepositoryPython
ComposioHQ/awesome-claude-skills

A curated list of awesome Claude Skills, resources, and tools for customizing Claude AI workflows

78.0k
Sep 18, 2026
RepositoryPython
blader/humanizer

Agent skill that removes signs of AI-generated writing from text

60.9k
Oct 16, 2026
RepositoryJavaScript
coreyhaines31/marketingskills

Marketing skills for Claude Code and AI agents. CRO, copywriting, SEO, analytics, and growth engineering.

56.6k
Oct 22, 2026