architecture-context
Skill64 starsChanged 11 days agoMITView on GitHub
Use when an AI coding agent starts real app work, product feature design, provider work, migrations, auth, billing, storage, webhooks, deploys, or any task where unclear architecture could cause broad or unsafe changes.
In this repository17 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/viberaven-core.mdcCursor rule
- .cursor/rules/viberaven-deploy.mdcCursor rule
- .cursor/rules/viberaven-payments.mdcCursor rule
- .cursor/rules/viberaven-supabase-rls.mdcCursor rule
- llms-full.txtllms.txt
- llms.txtllms.txt
- viberavenSkill
- viberavenSkill
- architecture-planSkill
- go-liveSkill
- production-contextSkill
- vercel-supabase-launch-checkSkill
- viberavenSkill
- what-brokeSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
18 rules. About 0 are common, 10 are distinctive, and 8 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈10
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 14
No plan, no edits. On the turn after the user answers the questions, route to architecture-plan.
- Distinctive: line 23
Ask 3-6 low-level product questions the user can answer without architecture vocabulary.
- Distinctive: line 26
Use repo, Studio, or provider MCP evidence when available for existing boundaries.
- Very specific: line 28
Use architecture-plan to create the full Architecture Plan before editing.
- Very specific: line 31
When the output names Next skill:, continue with that VibeRaven skill unless user input is required.
- Distinctive: line 35
If the latest user message answers the numbered product questions, treat it as the answer turn even if it does not mention this skill by …
- Distinctive: line 39
Run only read-only repo evidence commands if needed.
- Distinctive: line 42
Only then edit, if the user asked for implementation.
- Distinctive: line 44
If the response would start with "Implemented", "Changed", "Verification", "Done", or a file list, stop and write the Architecture Plan …
- Distinctive: line 48
Ask low-level questions. Do not ask the user to classify "boundary", "runtime", "RLS", "source of truth", or "production invariant".
- Distinctive: line 73
Do not ask for secrets or raw env values.
- Distinctive: line 77
Use these labels when comparing architecture:
- Distinctive: line 86
Prefer the simplest option that preserves the production invariant.
- Very specific: line 90
After the user answers, the next step is architecture-plan.
- Very specific: line 115
Do not replace this with a final "Implemented..." summary.
- Very specific: line 127
If answers are missing, stop at Question Mode.
- Very specific: line 131
Use Next skill: as the handoff:
- Very specific: line 139
Never end with Next skill: None for production-sensitive work if another VibeRaven skill should continue the loop.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill 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
VibeRaven: Architecture Context
Make the agent behave like a senior product engineer before it edits.
Hard Rule
For vague work like "build uploads", "add billing", "fix login", "make chat", or "connect Supabase": ask architecture questions first. Do not answer only "loaded".
No plan, no edits. On the turn after the user answers the questions, route to architecture-plan. That skill must produce Architecture plan: before any file writes, migrations, API changes, UI edits, commits, or final implementation summary.
Loop
product path -> questions -> architecture-plan -> route -> edit/hand off- Name the user path.
- Ask 3-6 low-level product questions the user can answer without architecture vocabulary.
- Compare practical options.
- Recommend one architecture and why.
- Use repo, Studio, or provider MCP evidence when available for existing boundaries.
- Route answered questions to
architecture-plan. - Use
architecture-planto create the full Architecture Plan before editing. This is a hard gate. - Edit only after the plan exists and is visible in chat.
When the output names Next skill:, continue with that VibeRaven skill unless user input is required.
Continuation Turn
If the latest user message answers the numbered product questions, treat it as the answer turn even if it does not mention this skill by name. Do not restart Question Mode unless a required answer is missing.
On the answer turn:
- Run only read-only repo evidence commands if needed.
- Invoke or follow
architecture-plan; do not continue inside this skill. - The next output must start with
Architecture plan:and include workstreams, implementation sequence, risks, verification, provider/MCP proof, andNext skill:. - Only then edit, if the user asked for implementation.
If the response would start with "Implemented", "Changed", "Verification", "Done", or a file list, stop and write the Architecture Plan instead.
Question Mode
Ask low-level questions. Do not ask the user to classify "boundary", "runtime", "RLS", "source of truth", or "production invariant". Translate answers later.
I need a few product answers before I edit.
1. What are we building or fixing? Example: uploads, billing, login, chat, admin.
2. Who is this for? Example: one user, team/workspace, admins, paying users, outside services.
3. Who can see or change it? Example: owner, teammates, link holders, admins only.
4. What service should handle it? Example: Supabase, Stripe, Clerk, Vercel, email, storage, or "I don't know".
5. What rule matters most? Example: private, paid-only, rollback, audit log, realtime, local demo.
6. What already exists? Example: nothing, page, database table, API route, provider setup, or "check the repo".
After you answer, I will use `architecture-plan` to create the detailed architecture plan with boundaries, options, workstreams, risks, verification, and route before I edit.Common variants:
| Task | Ask about |
| Uploads | users, visibility, storage, size/type limits, delete rules |
| Billing | product, paid access, after-payment behavior, failed payment, test/live |
| Auth | provider, return URL, protected pages, last working deploy |
| Chat/AI | history visibility, save/delete, streaming, model/provider, rate limits |
| Admin | admins, dangerous actions, audit/approval |
Do not ask for secrets or raw env values.
Options
Use these labels when comparing architecture:
- Client-only: local UI state or non-sensitive demos.
- Server/API: validation, auth checks, writes, secrets, provider calls.
- Database/RLS: ownership, team access, privacy, policy enforcement.
- Provider dashboard: Stripe, Supabase, Clerk, Vercel, email, DNS, storage, webhooks, callbacks.
- Background job/webhook: retries, delayed events, external state changes.
- Release/version: changed behavior across deploys, tags, PRs, migrations, env.
Prefer the simplest option that preserves the production invariant.
Architecture Plan Handoff
After the user answers, the next step is architecture-plan. Pass it:
- the product answers
- relevant read-only repo evidence
- any provider/MCP evidence
- the user-requested implementation scope
The next assistant response must start with Architecture plan: and include this shape before any edits, write commands, or implementation summary:
Architecture plan:
Product path:
User answers translated:
Current repo evidence:
Options considered:
Recommended architecture:
Workstreams:
Implementation sequence:
Risks and fallback:
Verification plan:
Provider/MCP proof needed:
VibeRaven route:
Next skill:Do not replace this with a final "Implemented..." summary. Even when the user asked you to build it, use architecture-plan first, then continue.
Bad output:
Implemented the privacy/delete hardening...
Changed:
Verification:That is a skill failure unless an Architecture Plan appeared earlier in the same assistant turn.
If answers are missing, stop at Question Mode. If answers are present, do not stop here: use architecture-plan.
Routing
Use Next skill: as the handoff:
architecture-planwhen the user has answered the low-level product questions and the plan is not written yet.what-brokewhen this is a regression, release drift, or version comparison.production-contextwhen the plan touches providers, migrations, auth, billing, storage, webhooks, env, incidents, or fragile customer paths.go-livewhen the next step is GitHub, Vercel, deploy, live URL, or launch proof.viberavenwhen Studio, MCP provider cards, release diff, connected CLI agent, or access mode should drive the work.
Never end with Next skill: None for production-sensitive work if another VibeRaven skill should continue the loop.
Mistakes
- Starting from a file instead of the product path.
- Asking broad questions that repo evidence already answers.
- Hiding tradeoffs.
- Claiming provider/dashboard state is fixed by code alone.
- Jumping straight to implementation results without first showing the architecture plan.
- Treating the user's answers as permission to skip the plan.
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.

