agentleFS
Take-GroupTake-Group/openrevoke/.agents/skills/diagnose/SKILL.md

diagnose

Skill8 starsChanged 7 days agoMITView on GitHub

Find the cause of an Open Revoke failure (error page, 4xx/5xx, stuck or failed Temporal workflow, sync or offboarding action that did nothing, wrong data in the panel, browser connector failing in the shared Chromium) before changing code, then make the smallest repair. Inside website/ its own diagnose skill wins.

195 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use zoom-out, to-prd and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • victorgarciaesgiSkill

    zoom-out

    Tell the agent to zoom out and give broader context or a higher-level perspective. Use when you're unfamiliar with a section of code or need to understand how it fits into the bigger picture.

    Also in 66 projects that use this

  • GoogleSkill

    to-prd

    Turn the current conversation into a PRD and publish it to the project issue tracker — no interview, just synthesis of what you've already discussed.

    Also in 63 projects that use this

  • GoogleSkill

    to-issues

    Break a plan, spec, or PRD into independently-grabbable issues on the project issue tracker using tracer-bullet vertical slices.

    Also in 56 projects that use this

  • simo97Skill

    write-a-skill

    Create new agent skills with proper structure, progressive disclosure, and bundled resources. Use when user wants to create, write, or build a new skill.

    Also in 49 projects that use this

  • simo97Skill

    edit-article

    The user will invoke this skill to help them edit an article.

    Also in 17 projects that use this

  • kennethkeimSkill

    ubiquitous-language

    Extract a DDD-style ubiquitous language glossary from the current conversation, flagging ambiguities and proposing canonical terms. Saves to UBIQUITOUS_LANGUAGE.md. Use when user wants to define domain terms, build a glossary, harden terminology, create a ubiquitous language, or mentions "domain model" or "DDD".

    Also in 17 projects that use this

  • +4 more from simo97
  • +1 more from google

The file

We split this skill into the rules it gives an agent

3 rules. 0 are common, 1 is distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 178 edited versions we read keep these.

  • 1

    Distinctive

    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
  1. Very specific:

    Write down the symptom, the expected result and what runs: dock status.

    line 12
  2. Very specific:

    Not allowed: docker compose down -v, rerunning a write action with an unknown outcome on a real account, restarting other projects' …

    line 29
  3. Distinctive:

    No cause found is a valid result: list the boundaries ruled out and the evidence missing.

    line 42

“Common” is measured: kept by at least 6 in 10 of the 178 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Diagnose, then fix

Find the cause first. A repair made on a guess hides the evidence that would show the guess wrong.

Locate the cause (read-only)

  1. Write down the symptom, the expected result and what runs: dock status. Code on disk does not prove the container is current (api and web reload, worker restarts on each .py change; a new dependency needs dc restart api worker or dc restart web).
  2. Trace the request boundary by boundary:
    • panel: shot web /<path> prints console errors and failed requests.
    • web proxies /api/... to api (frontend/src/lib/api/), router in backend/app/api/, logic in backend/app/services/, rows via dc exec postgres psql -U postgres -d open_revoke -c "<query>".
    • async: service starts a Temporal workflow (backend/app/temporal/), activities call services and connectors; dc logs --tail 200 worker.
    • connectors: backend/app/connectors/<app>/; browser connectors drive the browser container over CDP, watch it live on http://localhost:18412/vnc.html.
    • e-mail: Mailpit on http://localhost:18413.
  3. The first boundary with wrong state is the cause. Everything after it is a consequence.
  4. Library or vendor behaviour (FastAPI, Temporal, Next.js 16, an app's API) comes from its docs or open-revoke/docs/connectors/, not memory. Next.js 16: node_modules/next/dist/docs/.

Allowed while looking: a temporary log line or probe script. Remove it before the repair. Not allowed: docker compose down -v, rerunning a write action with an unknown outcome on a real account, restarting other projects' containers.

Repair

  1. State the cause and the files the repair touches, one line each. A repair that grows past them means the diagnosis was wrong: go back.
  2. Make the smallest change that removes the cause; follow the feature skill in open-revoke/skills/.
  3. Reproduce the original symptom and show it gone in the stack. No automated tests (repo AGENTS.md, Development mode).
  4. Finish with verify.

No cause found is a valid result: list the boundaries ruled out and the evidence missing.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.