devrel-demos / bwg002-devrel-2
AGENTS.md397 starsChanged 9 days agoApache-2.0View on GitHub
- Reads credentials
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about code style.
Of the AGENTS.md files we read, the 31,843 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository79 other files it gives its agents.
- agents/newsroom-harness/AGENTS.mdAGENTS.md
- codelabs/ai-toolkit-lab-2/hackathon-judge/frontend/.agents/skills/vercel-composition-patterns/AGENTS.mdAGENTS.md
- codelabs/ai-toolkit-lab-2/hackathon-judge/frontend/.agents/skills/vercel-react-best-practices/AGENTS.mdAGENTS.md
- calendar-exportSkill
- session-notesSkill
- calendar-exportSkill
- session-notesSkill
- calendar-exportSkill
- session-notesSkill
- calendar-exportSkill
- session-notesSkill
- compare-subagent-mcp-visibilitySkill
- batch-executing-test-suitesSkill
- circuit-breaker-reporterSkill
- generating-mock-imagesSkill
- making-forms-demoSkill
- multi-step-workflow-reporterSkill
- auditing-inventorySkill
- newsroom-harnessSkill
- verify-sourcesSkill
- write-bulletinSkill
- repo-walkthroughSkill
- go-project-setupSkill
- latest-software-versionSkill
- video-descriptionSkill
- adk-memory-bank-initializerSkill
- agent-containerizerSkill
- cloud-run-agent-architectSkill
- gcp-agent-eval-engine-runnerSkill
- gcp-agent-eval-metric-configuratorSkill
- gcp-agent-golden-dataset-builderSkill
- gcp-agent-model-armor-shieldSkill
- gcp-agent-safety-gatekeeperSkill
- gcp-agent-sdp-template-factorySkill
- gcp-agent-shadow-deployerSkill
- gcp-agent-tool-trajectory-evaluatorSkill
- gcp-production-secret-handlerSkill
- mcp-connector-generatorSkill
- go-architectSkill
- go-backend-devSkill
- go-reviewerSkill
- go-test-expertSkill
- vercel-composition-patternsSkill
- vercel-react-best-practicesSkill
- lab-helperSkill
- start-frontendSkill
- brand-guidelinesSkill
- brand-guidelinesSkill
- knowledge_catalog_governanceSkill
- banana-breadSkill
- cheese-breadSkill
- drawingsSkill
- paintingsSkill
- photographySkill
- ticket-triageSkill
- adding-easter-eggSkill
- building-platformer-gamesSkill
- creating-a-gameSkill
- ensuring-arcade-visualsSkill
- handling-user-inputSkill
- The first 60 shown.
The file
We split this AGENTS.md into the rules it gives an agent
11 rules. About 0 are common, 3 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈3
Distinctive · estimate
This author's own choices. Worth a look.
8
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 6
All production application code, specialist agents, workflow orchestrators, evaluation harnesses, and skills MUST live strictly in the …
- Very specific: line 10
NEVER create module subfolders (such as module_1/, module_2/, module_3/, module_4/) in the project root.
- Very specific: line 14
When introducing or testing lab steps, always verify against the real-world files in pitch_generator/.
- Very specific: line 18
Always run git status before finishing a task to ensure no untracked module_<N>/ directories or temporary scratch files were inadvertently …
- Distinctive: line 21
When responding with "how to" type suggestions, provide example prompts the user can type that will accomplish the task.
- Very specific: line 33
In-Place Surgical Remediation: When the learner asks to remediate or fix a broken step, read the corresponding .agents/solutions/ reference …
- Very specific: line 36
Do NOT run bash scripts/deploy.sh, agents-cli deploy, or gcloud run deploy automatically after making code changes.
- Very specific: line 39
Post-Deploy URL Sync: After deploying services with scripts/deploy.sh, update VISUAL_DIRECTOR_URL and PITCH_GENERATOR_URL in .env to match …
- Very specific: line 40
BigQuery Telemetry Table Safeguards: When initializing or executing live telemetry recording with BigQueryAnalyticsService, ensure the …
- Distinctive: line 43
Pitch Generator: - ONLY provide frontend URL
- Distinctive: line 44
Visual Director: - ONLY provide A2A agent card URL
≈ “Common” is an estimate: at least 1 in 5 of the 40,246 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Pitch Generator Project Agent Rules
Codebase Architecture & File Placement
- Production Code Locations Only:
- All production application code, specialist agents, workflow orchestrators, evaluation harnesses, and skills MUST live strictly in the canonical application directory:
pitch_generator/(e.g.pitch_generator/agent.py,pitch_generator/skills/brand-guidelines/SKILL.md,pitch_generator/app_utils/services.py). - Top-level entrypoints:
call_agent.pyandpitch_generator/__init__.py.
- All production application code, specialist agents, workflow orchestrators, evaluation harnesses, and skills MUST live strictly in the canonical application directory:
- No Root Module Folders:
- NEVER create module subfolders (such as
module_1/,module_2/,module_3/,module_4/) in the project root. - Reference/gold-standard lab solutions belong strictly in
.agents/solutions/module_<N>/and must never be duplicated into the project root.
- NEVER create module subfolders (such as
- Tooling & Verification Alignment:
- When introducing or testing lab steps, always verify against the real-world files in
pitch_generator/. - The workspace verification script (
.agents/skills/lab-helper/scripts/verify_workspace.py) maintains anapp_file_mapmapping codelab step artifacts topitch_generator/. Every step must be mapped to its production counterpart so verification runs againstpitch_generator/.
- When introducing or testing lab steps, always verify against the real-world files in
- Clean Workspace Integrity:
- Always run
git statusbefore finishing a task to ensure no untrackedmodule_<N>/directories or temporary scratch files were inadvertently created in the project root.
- Always run
- Provide prompts, not Python command lines:
- When responding with "how to" type suggestions, provide example prompts the user can type that will accomplish the task. NEVER provide Python commandline instructions for the user to type.
- Canonical CLI Testing, Setup, Local Server & Cloud Run Deployment Scripts:
- CLI Agent Testing: Whenever asked to test or run the Pitch Generator agent with a prompt (e.g.,
"Test the agent with 'Flying skateboards for cats'"), ALWAYS executepython3 call_agent.py "<prompt>"(do NOT pass--offlineunless explicitly asked). - Cloud Run Deployment: Whenever asked to deploy the application, agents, or frontend to Cloud Run, ALWAYS execute
bash scripts/deploy.sh(do NOT run rawgcloud run deploycommands directly).scripts/deploy.shautomatically loads.env, detects whetherremote_visual_directorhas been implemented inpitch_generator/agent.py, deploysvisual-directorfirst when present, and wiresVISUAL_DIRECTOR_URLintopitch-generator. - Cloud Infrastructure Setup: Whenever asked to set up or provision Google Cloud prerequisites (Cloud Storage bucket, BigQuery dataset, Cloud Resource connection, or IAM bindings), ALWAYS execute
bash scripts/setup.sh. - Local Server Lifecycle: Whenever asked to start, restart, check, or stop the local web server or frontend, ALWAYS use
bash .agents/skills/start-frontend/scripts/start_server.sh(see.agents/skills/start-frontend/SKILL.md).
- CLI Agent Testing: Whenever asked to test or run the Pitch Generator agent with a prompt (e.g.,
- Follow In-File Guideposts, Never Peek at
.agents/solutions/, and Keep Verification On-Demand:- Follow In-File Guidepost Comments First (Single-Call Reading): Before designing or writing code for any user request, locate the corresponding
# [Guidepost — Step <id>comment block inpitch_generator/agent.py,pitch_generator/app_utils/services.py, orpitch_generator/fast_api_app.py. NEVER read files in small 50–80 line increments across multiple turns: all specialist agents, workflow edges, and lab guideposts inpitch_generator/agent.pylive in lines1–370, andpitch_generator/app_utils/services.pyis under 450 lines total, so view them in a singleview_filecall (or usegrep_searchwithQuery="# [Guidepost — Step"to jump directly to the exact line). Always use the exact agent names,output_keybindings, function signatures, and integration symbols mentioned in that guidepost comment, and leave future guidepost comments for later steps intact. - Never Read
.agents/solutions/During Implementation: Do NOT view, search, or read any files under.agents/solutions/when implementing features or answering coding requests..agents/solutions/may ONLY be accessed when the learner explicitly asks for a hint, asks to verify a step, or asks to fix/remediate their workspace via thelab-helperskill. - Strictly On-Demand Verification: To conserve time and turns during the lab, do NOT run
verify_workspace.pyor unsolicited test suites after implementing a step unless the learner explicitly asks to verify, test, or troubleshoot their work. - In-Place Surgical Remediation: When the learner asks to remediate or fix a broken step, read the corresponding
.agents/solutions/reference file and patchpitch_generator/in-place rather than overwriting the entire cumulative file, so earlier work, user customizations, and upcoming guidepost comments are preserved.
- Follow In-File Guidepost Comments First (Single-Call Reading): Before designing or writing code for any user request, locate the corresponding
- Never Deploy Unless Explicitly Asked by the Learner:
- Do NOT run
bash scripts/deploy.sh,agents-cli deploy, orgcloud run deployautomatically after making code changes. Cloud Run deployment takes several minutes, so wait until the learner explicitly asks you to deploy in their prompt.
- Do NOT run
- Environment URL Synchronization & BigQuery Telemetry Invariants:
- Post-Deploy URL Sync: After deploying services with
scripts/deploy.sh, updateVISUAL_DIRECTOR_URLandPITCH_GENERATOR_URLin.envto match the deployed Cloud Run HTTPS URLs so CLI agent invocations route to live services with proper OIDC authentication. - BigQuery Telemetry Table Safeguards: When initializing or executing live telemetry recording with
BigQueryAnalyticsService, ensure the destination dataset (bwg) and table (agent_events) exist with required schema fields before streaming rows viainsert_rows_json.
- Post-Deploy URL Sync: After deploying services with
- Giving URLs to the learner:
- Pitch Generator - ONLY provide frontend URL
- Visual Director - ONLY provide A2A agent card URL
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

