synthesys-bug-triage
Skill1 starsChanged 3 months agoMITView on GitHub
Use when triaging, reproducing, fixing, and shipping a Synthesys backend bug that may involve database truth, telemetry, provider drift, runtime behavior, or cross-system contract mismatches. Especially useful for issues spanning Supabase, Vapi, Twilio, Stripe, ElevenLabs, notifications, deployment state, or backend/frontend/provider disagreement where factual findings, root-cause repair, and production-safe verification matter more than quick patches.
In this repository32 other files it gives its agents.
- advertising-imagery-agentSkill
- agent-watchSkill
- aria-intelligenceSkill
- bambu-labsSkill
- cadSkill
- cad-viewerSkill
- dataset-engineeringSkill
- design-business-agentSkill
- design-loopSkill
- dxfSkill
- elite-engineeringSkill
- emil-deign-skillSkill
- env-harnessSkill
- gcodeSkill
- human-writingSkill
- implicit-cadSkill
- inference-engineeringSkill
- kernel-engineeringSkill
- lamp-method-first-principles-thinkingSkill
- marketing-and-advertising-agentSkill
- model-evalSkill
- new-project-architectureSkill
- opportunity-hunterSkill
- rlmSkill
- rlSkill
- sdfSkill
- sendcutsendSkill
- sftSkill
- srdfSkill
- step-partsSkill
- taste-maxSkill
- urdfSkill
The file
Show its rules and text
We split this skill into the rules it gives an agent
23 rules. About 0 are common, 23 are distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈23
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Use this skill when the job is not just to make the symptom disappear, but to prove what is true across code, database, telemetry, …
- Distinctive: line 14
Do not guess from one log line.
- Distinctive: line 16
Do not trust one layer in isolation.
- Distinctive: line 18
Do not paper over drift in the controller, frontend, or prompt layer when the real defect lives in the canonical contract, synchronization …
- Distinctive: line 20
If the bug is real, reproduce it, inspect every relevant source of truth, state the factual findings clearly, fix the root cause …
- Distinctive: line 38
Read AGENTS.md before substantial bug work if the active context does not already include it.
- Distinctive: line 51
Add or extend regression coverage with Bun tests and Fozzy when runtime behavior is affected.
- Distinctive: line 52
Verify the repaired path, including at least one recorded deterministic Fozzy trace when feasible.
- Distinctive: line 57
Start from the real contract, not from the loudest symptom.
- Distinctive: line 58
Use the repo’s admin scripts as the primary investigative tooling.
- Distinctive: line 59
If a provider could be involved, inspect provider truth directly instead of inferring from application logs.
- Distinctive: line 60
If telemetry could explain the failure, query telemetry before speculating.
- Distinctive: line 61
Treat database state as canonical unless the architecture explicitly defines another source of truth.
- Distinctive: line 62
Prefer proving mismatches with side-by-side evidence: code path, row state, telemetry event, provider object, and visible symptom.
- Distinctive: line 64
If the bug spans multiple repos, repair and ship every affected repo coherently rather than leaving the system half-migrated.
- Distinctive: line 65
Do not ship frontend, prompt, or controller workarounds for a backend contract bug.
- Distinctive: line 66
Do not normalize provider drift into a permanent contract unless that is the explicit product decision.
- Distinctive: line 71
Always inspect these first unless the bug is obviously narrower:
- Distinctive: line 81
Use Aegis CLI only for browser or web-flow validation.
- Distinctive: line 83
Use Fozzy first for system-level verification, replay, trace capture, shrinking, and deterministic runtime confidence.
- Distinctive: line 100
If the user did not explicitly limit the task to investigation only, default to finishing the job:
- Distinctive: line 113
Read references/synthesys-bug-triage.md before substantial triage work.
- Distinctive: line 115
Use it especially for:
≈ “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
Synthesys Bug Triage
Use this skill when the job is not just to make the symptom disappear, but to prove what is true across code, database, telemetry, providers, and runtime behavior, then heal the bug class from the core.
Principle
Triage starts with evidence, not theory.
Do not guess from one log line.
Do not trust one layer in isolation.
Do not paper over drift in the controller, frontend, or prompt layer when the real defect lives in the canonical contract, synchronization path, repository, service, job flow, or provider-state projection.
If the bug is real, reproduce it, inspect every relevant source of truth, state the factual findings clearly, fix the root cause architecturally, verify the exact path, then promote and redeploy cleanly.
Canonical Operating Surface
Work from the canonical local checkout only:
/Users/deepsaint/Desktop/work/synthesys-backend
Honor the backend architecture:
src/api: transport, validation, orchestrationsrc/services: business logic and invariantssrc/db/repositories: persistence and typed data accesssrc/api/schemasandsrc/api/validation: request and contract boundariessrc/types: canonical shared typessrc/services/job: async execution backbonesrc/telemetry: runtime observability and incident evidence
Read AGENTS.md before substantial bug work if the active context does not already include it.
Workflow
- Rewrite the bug report as a concrete failing contract.
- Reproduce the symptom locally or against the relevant live surface.
- Inspect the code path end to end before changing code.
- Inspect database truth with
admin-scripts/db.sh. - Inspect telemetry truth with
admin-scripts/db.sh telem .... - Inspect every relevant provider or operator surface with the matching
admin-scripts/*.shscript. - Compare code, database, telemetry, provider, and user-visible behavior directly.
- State factual findings first. Separate confirmed facts from inferences.
- Fix the root cause in the canonical layer instead of adding a compatibility bandage.
- Add or extend regression coverage with Bun tests and Fozzy when runtime behavior is affected.
- Verify the repaired path, including at least one recorded deterministic Fozzy trace when feasible.
- Promote through
staging, thenmain, then redeploy with the canonical deploy script when the shipped backend state changed.
Working Rules
- Start from the real contract, not from the loudest symptom.
- Use the repo’s admin scripts as the primary investigative tooling.
- If a provider could be involved, inspect provider truth directly instead of inferring from application logs.
- If telemetry could explain the failure, query telemetry before speculating.
- Treat database state as canonical unless the architecture explicitly defines another source of truth.
- Prefer proving mismatches with side-by-side evidence: code path, row state, telemetry event, provider object, and visible symptom.
- Present findings as facts, including IDs, timestamps, statuses, and exact mismatches when available.
- If the bug spans multiple repos, repair and ship every affected repo coherently rather than leaving the system half-migrated.
- Do not ship frontend, prompt, or controller workarounds for a backend contract bug.
- Do not normalize provider drift into a permanent contract unless that is the explicit product decision.
- Fail closed at spend, execution, or routing boundaries when parity or capability truth is missing.
Investigative Defaults
Always inspect these first unless the bug is obviously narrower:
- the relevant controller or route
- the owning service
- the backing repository and SQL shape
- the shared types and validation schema
- the job handler if async execution is involved
- telemetry logs, spans, events, incidents, and provider interactions when available
- the matching provider script under
admin-scripts/
Use Aegis CLI only for browser or web-flow validation.
Use Fozzy first for system-level verification, replay, trace capture, shrinking, and deterministic runtime confidence.
Required Evidence Standard
A solid triage result should usually include:
- exact reproduction steps or the reason repro is currently blocked
- relevant code-path location
- relevant database rows or query results
- telemetry evidence
- provider-side evidence when applicable
- a clear root-cause statement
- why the chosen fix removes the bug class instead of hiding the symptom
- verification evidence after the fix
Delivery Standard
If the user did not explicitly limit the task to investigation only, default to finishing the job:
- investigate
- reproduce
- repair architecturally
- verify
- push
staging - promote to
main - redeploy with
admin-scripts/deploy.shwhen backend runtime or deployed config changed - perform post-deploy verification
Read Next
Read references/synthesys-bug-triage.md before substantial triage work.
Use it especially for:
- admin-script selection by provider or failure class
- factual findings format
- database and telemetry query workflow
- reproduction and validation discipline
- root-cause repair rules
staging -> main -> redeploypromotion flow
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.

