ワンクリックで
ais-prompts
Prompt engineering production — template system, versioning, A/B test, injection defense, cost-aware prompting.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
メニュー
Prompt engineering production — template system, versioning, A/B test, injection defense, cost-aware prompting.
Codex または Claude でインストール この Prompt をコピーして Codex、Claude、または他のアシスタントに貼り付けると、Skill ページを確認してインストールできます。
SOC 職業分類に基づく
Expert in building 3D experiences for the web - Three.js, React Three Fiber, Spline, WebGL, and interactive 3D scenes. Covers product configurators, 3D portfolios, immersive websites, and bringing depth to web experiences. Use when: 3D website, three.js, WebGL, react three fiber, 3D experience.
Game art principles — art style, color theory, animation principles, asset pipeline
Game design principles — core loop, GDD, player psychology, difficulty balancing, progression
Orchestrator game — route to implementation skill (pxhopencode) + principle-based sub-skill (agent-skills-hub)
Mobile game principles — touch input, battery, thermal, app stores, monetization
Multiplayer game principles — networking architecture, synchronization, security, matchmaking
| name | ais-prompts |
| description | Prompt engineering production — template system, versioning, A/B test, injection defense, cost-aware prompting. |
| File | Mục đích |
|---|---|
templates/prompt-registry.py | PromptVersion + PromptRegistry — versioned templates, format() with kwargs |
templates/injection-defense.py | detect_injection() (6 regex patterns) + sanitize_user_input() |
templates/ab-test.py | ab_test_prompt() — random variant selection, log_result() for analysis |
templates/cost-aware.py | estimate_tokens() (rough 4 chars/token) + optimize_prompt() truncation |
from templates.prompt_registry import PromptRegistry
registry = PromptRegistry()
registry.register("qa", system, template)
messages = registry.format("qa", question="...")
Security: Always sanitize user input with sanitize_user_input() before passing to prompt templates. Check injection patterns on every user message.
| Excuse | Reality |
|---|---|
| "Prompt injection detection không cần" | User input bypass system prompt → jailbreak |
| "Versioning prompt thừa" | Không biết prompt nào đang dùng, rollback impossible |
| "A/B test xa xỉ" | Không biết prompt nào hiệu quả hơn |