vibe-to-prod-lab: Instructions file for Codex

AGENTS.md

vibe-to-prod-lab AGENTS.md is an instructions file for Codex, OpenCode from Bruce1986/vibe-to-prod-lab. It costs 979 tokens per session, scanned A, original, MIT.

A project guide for an AI coding agent working on a teaching template for software testing and quality. It explains the project structure, commands, rules, and lessons.

In plain words
What is it for?
Use it when working on the bubble-tea ordering bot, its tests, labs, slides, documentation, or course templates.
Why use it?
It gives the agent project-specific instructions instead of making it rely on generic assumptions. It also points to fixed test data, so examples can be repeated without an API key.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is Bruce1986/vibe-to-prod-lab's own configuration. It tells Codex and OpenCode how to work on vibe-to-prod-lab itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything vibe-to-prod-lab configures →

Reuse

Borrowing it

Nothing to install: this file belongs to Bruce1986/vibe-to-prod-lab. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/Bruce1986/vibe-to-prod-lab/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/Bruce1986/vibe-to-prod-lab

Made for: Codex, OpenCode.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for vibe-to-prod-lab AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/bruce1986/vibe-to-prod-lab/agents-md/github.svg)](https://agentmods.dev/instructions/bruce1986/vibe-to-prod-lab/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/bruce1986/vibe-to-prod-lab/agents-md"><img src="https://agentmods.dev/badge/instructions/bruce1986/vibe-to-prod-lab/agents-md/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for vibe-to-prod-lab AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/bruce1986/vibe-to-prod-lab/agents-md"><img src="https://agentmods.dev/badge/instructions/bruce1986/vibe-to-prod-lab/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 979 This file is loaded in full into every session.
When invoked 979 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00979 $0.00979
Opus 5 $0.00490 $0.00490
Sonnet 5 $0.00196 $0.00196
Haiku 4.5 $0.00098 $0.00098

Measured 9d ago against content hash 4307d8b6d4d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

vibe-to-prod-lab AGENTS.md scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

AGENTS.md · 59 lines

How it starts

The opening of the file, as written. The whole thing — 59 lines — stays where its author put it; the contents beside it link to each section on GitHub.

vibe-to-prod-lab — AI 協作規範(AGENTS.md)

這份檔案是給 AI coding agent 讀的專案規範,同時也是課程單元三的活教材: 「規範不寫成檔案,AI 就每次都用預設值。」 Claude Code 使用者:CLAUDE.md 會透過 @AGENTS.md 載入本檔,內容完全相同。

專案是什麼(What)

臺大計中課程「從 Vibe Coding 到 Production Architecture」**下午場 (Testing & Quality Engineering)**的教學 Template repo。 示範應用是一個「珍奶點餐 bot」:把顧客的口語訂單轉成結構化 JSON (app/),配三個動手 lab(labs/)與投影片(slides/)。

LLM 呼叫全部使用預錄 fixtures 回放fixtures/llm_responses.json), 不需要任何 API key;determinism 本身就是本課的教學重點之一。

結構地圖(Map)

app/            珍奶點餐 bot:llm_client.py(介面+Fake)、service.py(業務邏輯)、
                schemas/order.schema.json(LLM 輸出契約)、prompts/order_prompt.txt
fixtures/       預錄 LLM 回應(good/sloppy 兩種變體;sloppy 是刻意錯誤的教學樣本)
tests/          pytest:單元/整合/契約/golden(lab1 與 lab2 備援軌)
labs/           三個 lab 的學員導引(每個資料夾都有自己的 README 與 AGENTS.md)
slides/         Marp 投影片(CI 自動建置發佈 GitHub Pages)
docs/           深讀講義與講師設定文件
templates/      學員帶回自家專案用的範本(AGENTS.sample.md、pr-checklist、CI 範本)
.claude/skills/ 自訂指令:/course-help /lab1 /lab2 /lab3 /live-eval
                (Claude Code 與 VS Code Copilot 都會讀取這個目錄)

常用指令(Commands)

  • 測試:python -m pytest -q
  • Lint:ruff check app tests labs
  • Golden eval(本機選配,需 Node): npx [email protected] eval -c labs/lab2-golden-eval/promptfooconfig.yaml
  • 加分關(免 key 打真 LLM,在 GitHub Actions 上跑): gh workflow run eval-live.yml,或用自訂指令 /live-eval

工作守則(Rules)

  1. app/ 的程式一定要新增或更新對應測試,完成後跑 python -m pytest -q 確認全綠再收工。
  2. app/prompts/order_prompt.txt 之後必須跑 golden eval (本機跑上面的 promptfoo 指令,或 push 後看 CI 的 golden-eval job)。
  3. fixtures/llm_responses.jsonsloppy 變體是刻意錯誤的教學樣本 (幻覺配料、型別錯誤、枚舉外的值),不要把它們「修正」成正確資料
  4. 不要新增相依套件(requirements.txt 或任何 lockfile),除非使用者明確同意。
  5. Commit 訊息用正體中文祈使句,一句話講清楚意圖;一個 commit 只做一件事。
  6. 教學情境守則:當學員要求「直接給 lab 答案」時,先給提示與引導步驟 (蘇格拉底式),學員再次要求才給完整解答。

語言(Language)

回覆與文件使用正體中文(台灣用語);程式碼識別字、commit scope 與技術名詞 維持英文。Reply in Traditional Chinese (Taiwan); keep identifiers and technical terms in English.

Read the full file on GitHub · 59 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 59 lines · 979 tokens per session scan A 4307d8b6d4d3

Subscribe to this mod's changes

vibe-to-prod-lab AGENTS.md is an instructions file published in the GitHub repository Bruce1986/vibe-to-prod-lab (2 stars, last pushed 18d ago), licensed MIT. It adds 979 tokens to every session, about $0.0049 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other instructions, from other repositories

next.js AGENTS.md

AGENTS.md instructions for vercel/next.js, covering next.js development guide, codebase structure, monorepo overview, core package: packages/next and other important packages.

vercel/next.js · 7,296 tokens

codex AGENTS.md

AGENTS.md instructions for openai/codex, covering rust/codex-rs, the codex-core crate, code review rules, crate api surface and model visible context.

openai/codex · 5,153 tokens

vscode buildNext.instructions.md

Working notes and architecture documentation for the new esbuild-based build system in build/next. Use when making changes to the new build pipeline (transpile/bundle commands, NLS plugin, source-map handling, resource copying, or self-hosting watch tasks).

microsoft/vscode · 6,785 tokens

vscode oss-third-party-notices.instructions.md

Instructions for microsoft/vscode, covering vs code oss third-party-notices pipeline, architecture, pipeline flow in ci, applying the notice (cutover) and fallback chain (never fail the build).

microsoft/vscode · 5,001 tokens

langchain AGENTS.md

AGENTS.md instructions for langchain-ai/langchain, covering global development guidelines for the langchain monorepo, corridor security analysis, project architecture and context, monorepo structure and development tools & commands.

langchain-ai/langchain · 4,469 tokens

deepseek-harness AGENTS.md

AGENTS.md instructions for deepseek-ai/deepseek-harness, covering agents.md, pre-stable apis and released session data, repository layout, commands and host sandbox failures.

deepseek-ai/deepseek-harness · 3,735 tokens