verify-providers
Skill3 starsChanged 2 months agoMITView on GitHub
Use when auditing conforme's provider adapters against upstream documentation, after a vendor announcement (rename, acquisition, retirement, new config format), before a release, or when a user reports that a tool ignores or rejects a generated file
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- .github/copilot-instructions.mdCopilot instructions
- .cursor/rules/adapter-consistency.mdcCursor rule
- .cursor/rules/general.mdcCursor rule
- .cursor/rules/rust-conventions.mdcCursor rule
- .cursor/rules/testing.mdcCursor rule
- verify-providersSkill
- verify-providersSkill
- verify-providersSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 3 are distinctive, and 5 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.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 89
Read src/adapters/<tool>.rs, plus the tool's generators in src/skills.rs and src/mcp.rs.
- Distinctive: line 99
Add these checks, which the fact sheet alone does not cover:
- Very specific: line 101
Consumed output: every file generate() writes is read by the tool at that path.
- Very specific: line 111
Merged settings: every MCP or settings file generate() writes is merged, not owned (.mcp.json, .cursor/mcp.json, .kiro/settings/mcp.json, …
- Very specific: line 125
Orphan suffixes: every ManagedDir names the suffix conforme writes there.
- Very specific: line 136
Round-trip: every feature generate() writes, read() parses back, otherwise --from <tool> silently drops it.
- Distinctive: line 161
Before fixing, sort the audit table into three lists so the user can see the decisions, and confirm the third one:
- Distinctive: line 212
After the merge, check that semantic-release published the expected version and that the release binaries are attached.
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 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
Audit every provider adapter against the upstream tool as it exists today, then fix what the audit finds. The audit is exhaustive when every registered adapter has a verdict on each check below, with evidence, and every fix is merged with a regression test.
Work in a worktree. Run the full gate before touching anything so a failure later is attributable to the audit:
cargo test && cargo clippy --all-targets -- -D warnings && cargo fmt -- --check && cargo run --release -- check1. Inventory the adapters
The registry is the source of truth, never a list written in this file:
grep -n 'Box::new' src/adapters/mod.rsDone when: one audit row exists per registered adapter, and the count matches
README.md ("Supported tools (N)" and "to N-1 others"), src/cli.rs
(long_about), and CLAUDE.md (project overview and Skills section).
2. Check the upstream product is alive
Format drift is the visible failure; a retired product is the silent one. For
each adapter, from the URLs in docs/providers/<tool>.md, establish:
- the product still ships under this name (a docs page that is only a redirect or a one-line "X is now Y" stub means it does not);
- its source repository, when there is one, is not archived or marked unmaintained;
- the config paths conforme writes are the ones the current product reads,
and which paths win when the successor reads both (for example
.kiro/over.amazonq/).
Verdict per adapter, with the URL that proves it:
- alive;
- renamed: the product ships under a new name and still reads the paths
conforme writes (Windsurf became Devin Desktop, and the
windsurfid becamedevin). Update the docs and any paths the new name prefers; keeping or renaming the tool id is the user's call in step 6; - forked: the original is retired but a maintained fork reads the same files (Roo Code, continued by Zoo Code). Rename the adapter to the fork in step 7 rather than deleting working output;
- absorbed by
<successor adapter>or retired: deleted outright in step 7; conforme carries no deprecation flags.
Done when: every adapter has a verdict with its proof URL.
3. Fetch the current documentation
Open every URL listed in docs/providers/<tool>.md with the host's web reader
(WebFetch on Claude Code). When a page fails or answers a different
question, search the vendor's own domain for the replacement and record the
new URL for step 7. Also open the tool's changelog or release notes and scan
for config changes since the last audit (the date of the previous
verify-providers commit in git log).
Extract, per tool, a fact sheet:
- rules: directory, extension, recursive discovery or not, frontmatter fields and their types, activation values;
- skills: directory,
SKILL.mdfrontmatter (required and optional keys), manual-invocation mechanism; - agents: directory, extension, frontmatter keys and accepted values;
- MCP: file path, top-level key, transport
typevalues, remote URL key (url,serverUrl,httpUrl), env and headers keys, whether the file is project-scoped or user-global; - instruction file:
AGENTS.md,CLAUDE.md,GEMINI.md,.rules, and the fallback order.
Done when: every bullet above has a value or an explicit "not supported" for every alive adapter.
4. Compare the adapter to the fact sheet
Read src/adapters/<tool>.rs, plus the tool's generators in src/skills.rs
and src/mcp.rs. For each fact-sheet line, one of three findings:
- match: nothing to do;
- drift: paths, keys, values or types differ, fix in step 7;
- deliberate deviation: conforme emits something the tool tolerates but
does not document (for example a
type: "http"the tool ignores). Keep it only ifdocs/providers/<tool>.mdalready records it as deliberate and the tool provably accepts it; otherwise it is drift.
Add these checks, which the fact sheet alone does not cover:
- Consumed output: every file
generate()writes is read by the tool at that path. A best-effort file nobody consumes is drift, and the fix is to stop writing it, drop the capability, and letsyncwarn that the feature is skipped. - User-owned locations: orphan cleanup deletes every top-level file of a
managed_directories()entry that carries the entry's suffix and that the current config did not generate. A directory the user authors in with the same file kind (.github/prompts/, the top-level.opencode/) must not be listed; a shared skills root (.agents/skills) is only safe asManagedDir::subdirs. - Merged settings: every MCP or settings file
generate()writes is merged, not owned (.mcp.json,.cursor/mcp.json,.kiro/settings/mcp.json,.devin/mcp_config.json,opencode.json,.zed/settings.json,.gemini/settings.json,.amp/settings.json,.vscode/mcp.json,.roo/mcp.json,.codex/config.toml). Each is covered byis_shared_file(), soremoveandmigratepreserve it, is matched by nogitignorepattern, and, when JSON, goes throughjson_settingsso a JSONC comment, an unparsable file or a per-server key the tool writes itself (KiroautoApprove, OpenCodeagent.build) never wipes the user's settings. Check which keys the tool writes into the file on its own, and that a source with no server leaves the file untouched. - Shared locations: a directory two adapters write (
.agents/skills/for Codex, Zed and Amp) must survivemigratebetween them and stay tracked bygitignore installwhen one of them is the source. - Orphan suffixes: every
ManagedDirnames the suffix conforme writes there; list the file kinds the tool accepts in that directory and confirm none that conforme does not write shares it. - Required fields and vocabularies: for each skill and agent format,
which keys the tool requires (a missing
descriptionmakes several tools skip the entry) and which values it accepts (Claude Code, Gemini and Kiro tool names and MCP tool spellings, model ids, OpenCodeprovider/model, name character sets and length). In MCP configs, check the environment-variable syntax (${VAR},${env:VAR},{env:VAR}) and which keys remote servers accept (envis often stdio-only). Anything copied verbatim from another host must be valid in this one. - Round-trip: every feature
generate()writes,read()parses back, otherwise--from <tool>silently drops it. Also check the layouts the tool reads that conforme does not write (nested directories, flat files, alternate spellings such as a comma-separatedpathsstring). - Blank output: an empty config yields no file, and a full config yields
no blank file (
test_no_adapter_writes_blank_filesguards it).
Done when: the audit table has a finding for each fact-sheet line and each check above, for every adapter.
5. Verify every documentation link
grep -oh 'https://[^ )>,`"]*' docs/providers/*.md README.md CLAUDE.md | sed 's/[.,]$//' | sort -u > urls.txt
while read -r u; do printf '%s %s\n' "$(curl -sS -o /dev/null -w '%{http_code}' -A 'Mozilla/5.0' --max-time 25 -L "$u")" "$u"; done < urls.txt | sort | grep -v '^200'GitHub answers 429 under a burst; retry those alone with a pause. Any other
non-200 is a broken link: find the replacement on the vendor domain and fix it
in step 7. A 200 can still be a stub ("Page moved" with a meta refresh, as
deepseek.com/harness/en/ became): the step 3 fetch catches those. Done when:
the loop prints nothing and no fetched page is a stub.
6. Classify every finding
Before fixing, sort the audit table into three lists so the user can see the decisions, and confirm the third one:
- fix now: drift, broken links, failed safety checks;
- leave: deliberate deviations already documented as such;
- delete or rename the adapter: absorbed, retired, forked or renamed
upstream (step 2). Deleting or renaming a tool id is a breaking change and
ships as a major release: the commit needs
!and aBREAKING CHANGE:footer with the migration, and say so before merging.
7. Fix, with a regression test per finding
For each "fix now" and "delete" item, update every affected location. The
checklist in .claude/rules/adapter-consistency.md is authoritative; the
usual set is:
src/adapters/<tool>.rs,src/skills.rs,src/mcp.rs,src/gitignore.rs;docs/providers/<tool>.md(facts, deviations, new URLs);README.mdtables and tool count,CLAUDE.mdarchitecture and MCP tables,src/help_ai.rs,src/cli.rstool count and tool list, this skill's description;- tests:
tests/roundtrip.rsfor round-trips,tests/error_cases.rsandtests/integration.rsfor behaviour,src/mcp.rsunit tests for MCP shapes. A safety finding (user files deleted, blank file, settings file removed) gets an integration test that reproduces the loss and asserts the file survives; - a deleted adapter also leaves the registry,
all_adapters()order-based tests,.gitignoretemplates, and the dogfooded output directory; a renamed one changes its module, struct, id,docs/providers/file and every test fixture that names it.
Then regenerate the dogfooded configs and run the full gate:
cargo run --release -- sync && cargo run --release -- check
cargo test && cargo clippy --all-targets -- -D warnings && cargo fmt -- --checkDone when: the gate is green, git status shows only intended files, and a
grep -rni '<old tool id>' returns only sentences that describe the removal
or rename (release notes live on GitHub Releases, not in the tree).
8. Report
One table, one row per adapter:
| Tool | Upstream status | Findings | Fixed | Left as deliberate |
followed by the three lists from step 6 and the PR link. State plainly what was not verified (a page that could not be read, a behaviour only a manual run in the IDE would confirm) and the known gaps left for a later change. After the merge, check that semantic-release published the expected version and that the release binaries are attached.
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.

