mcp-gate-debug
Skill9 starsChanged 27 days agoMITView on GitHub
After Fusebase Gate MCP tool sessions, produce a concise debug-oriented summary — what went smoothly, what did not, and actionable improvements to fusebase-gate skills, prompts, or MCP server behavior. Prioritize isolated SQL/NoSQL store flows.
In this repository119 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/fusebase-flow-always.mdcCursor rule
- .cursor/rules/fusebase-flow-implementation.mdcCursor rule
- .cursor/rules/fusebase-flow-security.mdcCursor rule
- .cursor/rules/fusebase-flow-specs.mdcCursor rule
- .cursor/rules/fusebase-flow-validation.mdcCursor rule
- api-explorationSkill
- app-api-contract-testingSkill
- app-backendSkill
- app-business-docsSkill
- app-dev-practicesSkill
- app-e2e-testsSkill
- app-quality-patternsSkill
- app-routingSkill
- app-secretsSkill
- app-sidecarSkill
- app-ui-designSkill
- business-logic-guardianSkill
- client-vs-internalSkill
- code-reviewSkill
- comment-policySkill
- communicationSkill
- design-discovery-ideationSkill
- dev-debug-logsSkill
- documentation-budgetSkill
- file-uploadSkill
- find-wasted-codeSkill
- find-wasted-effortSkill
- fusebase-cliSkill
- fusebase-dashboardsSkill
- fusebase-flow-health-checkSkill
- fusebase-gateSkill
- fusebase-portal-specific-appsSkill
- git-history-diagnosticSkill
- git-workflowSkill
- handling-authentication-errorsSkill
- handoffSkill
- implementation-planningSkill
- invite-with-passwordSkill
- lightweight-laneSkill
- liveness-disciplineSkill
- managed-integrationsSkill
- module-size-disciplineSkill
- north-starSkill
- phase-auditSkill
- product-apps-decompositionSkill
- product-docs-firstSkill
- product-ownerSkill
- project-onboardingSkill
- release-deploy-reportingSkill
- remote-logsSkill
- repo-onboarding-context-mapSkill
- requirements-specificationSkill
- role-disciplineSkill
- security-permissions-reviewSkill
- skill-authoringSkill
- smoke-testingSkill
- task-delegationSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 3 are distinctive, and 2 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.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 18
After you finish (or pause) a coherent batch of Gate MCP tool_call operations — especially:
- Distinctive: line 23
If the user only asked a one-line question with no tools, skip this summary unless they ask for it.
- Distinctive: line 38
When isolated-store tools were used, before proposing doc changes, re-read if needed:
- Distinctive: line 53
Do not dump raw tool JSON.
- Very specific: line 54
If the fix belongs in this repo’s project-template only, say so.
≈ “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
MCP Gate debug summary
Purpose
Close the loop on Gate MCP work: turn friction into specific improvement ideas for:
.claude/skills/fusebase-gate/(especiallySKILL.mdandreferences/*.md)- MCP prompts / tool descriptions (upstream server)
- Local app code only when the issue is clearly client-side misuse
When to run
After you finish (or pause) a coherent batch of Gate MCP tool_call operations — especially:
- Isolated stores —
listIsolatedStores,createIsolatedStore,initIsolatedStoreStage, migration status/apply, row CRUD,queryIsolatedStoreSql, NoSQL equivalents - Org users, tokens, permissions, health/bootstrap when those sessions were rough
If the user only asked a one-line question with no tools, skip this summary unless they ask for it.
Output format (in the conversation)
Keep it scannable:
- Went well — bullets (tools, prompts, docs that helped).
- Friction — wrong assumptions, missing context, repeated
tools_describe, unclear errors, wrongorgId/storeId/stage, migration/drift confusion, permission surprises. - Improvements — ordered by impact. For each idea, prefer:
- Target: file path (e.g.
fusebase-gate/references/isolated-sql-integrator-troubleshooting.md) or “MCP tool X description / prompt Y” - Change: one sentence
- Why: link to the failure you saw
- Target: file path (e.g.
Isolated stores first
When isolated-store tools were used, before proposing doc changes, re-read if needed:
.claude/skills/fusebase-gate/references/isolated-sql.md.claude/skills/fusebase-gate/references/isolated-sql-migration-discipline.md.claude/skills/fusebase-gate/references/isolated-sql-integrator-troubleshooting.md.claude/skills/fusebase-gate/references/isolated-nosql.md(if NoSQL)
The summary should call out:
- Missing playbook steps (status before apply,
dryRun, checksum/version discipline). - Confusion between dev and prod stages.
- Whether
structuredIssues/ drift messaging was understandable.
Boundaries
- Do not dump raw tool JSON; summarize patterns.
- If the fix belongs in this repo’s
project-templateonly, say so; if it belongs to the Gate MCP service or platform, label it as upstream.
Flag
This skill is copied into the project only when the global CLI flag mcp-gate-debug is enabled (fusebase config set-flag mcp-gate-debug then fusebase update --skip-mcp --skip-deps --skip-cli-update --skip-commit).
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.

