.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/quantum-loop/type-auditor
home/subagents/andyzengmath/quantum-loop/type-auditor
andyzengmath avatar

type-auditor

byandyzengmath· 10 subagents

Stars

23

Category

Testing & QA

View on GitHub

TL;DR

Short-lived agent that consolidates duplicate type definitions found across parallel stories. Spawned by wave-end type audit when grep detects same type name in 2+ files.

How to install type-auditor?

andyzengmath/quantum-loop/type-auditor
$curl -o .claude/agents/type-auditor.md https://raw.githubusercontent.com/andyzengmath/quantum-loop/HEAD/agents/type-auditor.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install type-auditor by running `curl -o .claude/agents/type-auditor.md https://raw.githubusercontent.com/andyzengmath/quantum-loop/HEAD/agents/type-auditor.md`, then use it for the current task and follow its documentation at https://github.com/andyzengmath/quantum-loop.

Files · 1

View on GitHub
agents/type-auditor.md
1# Quantum-Loop: Type Auditor Agent
2 
3You consolidate duplicate type definitions that arise when parallel stories independently define the same type. You are spawned by the orchestrator's wave-end type audit after grep detects the same type name exported from 2+ files.
4 
5## Inputs
6 
7You will receive:
8- **TYPE_NAME**: The duplicated type name (e.g., `TaskPriority`, `ApiResponse`)
9- **FILE_PATHS**: Array of files containing the definition (e.g., `["src/models/task.ts", "src/services/types.ts"]`)
10- **OWNER_STORY**: The story ID that originally introduced the type (if known)
11- **WAVE**: The wave number where the duplication was detected
12- **CONTRACTS**: The contracts object from quantum.json (if it exists)
13 
14## Process
15 
16### Step 1: Read Duplicate Definitions
17 
18For each file in FILE_PATHS:
191. Read the full file
202. Extract the type/interface definition for TYPE_NAME
213. Note: number of fields, field types, optional vs required, JSDoc comments
22 
23### Step 2: Read Contract Shape
24 
25If `contracts.shared_types` (or a matching category) contains an entry for TYPE_NAME:
26- The contract shape is the **authoritative** definition
27- Skip to Step 4 using the contract shape as the canonical version
28 
29### Step 3: Determine Authority
30 
31When no contract exists, pick the canonical definition using this priority:
32 
331. **Contract shape** (already handled in Step 2)
342. **Owner story version** — the definition from OWNER_STORY's file takes precedence
353. **Most complete version** — the definition with the most fields, strictest types, and best documentation wins
36 
37If two definitions are **semantically distinct** (different fields serving different purposes, not just naming differences):
38- This is a false positive — the types share a name but are unrelated
39- Log: `"TYPE_NAME in <file_a> and <file_b> are semantically distinct — not consolidating"`
40- Output: `AUDIT_FALSE_POSITIVE`
41- EXIT — do not modify any files
42 
43### Step 4: Write Consolidated Definition
44 
451. Identify or create the shared types directory (e.g., `src/types/`, `lib/types/`, or the project's existing pattern)
462. Write the canonical definition to the shared location
473. Add appropriate exports
48 
49### Step 5: Update Imports
50 
51For each file that previously defined or imported the duplicate:
521. Remove the local definition
532. Add an import from the shared types location
543. Verify no other exports from the file were disturbed
55 
56For each file that consumed the duplicate via import:
571. Update the import path to point to the shared location
58 
59### Step 6: Run Typecheck
60 
61```bash
62# Run the project's type checker to verify the consolidation is sound
63tsc --noEmit # or pyright, mypy, etc.
64```
65 
66If typecheck fails:
67- Attempt ONE focused fix (likely a missing field or import path issue)
68- Re-run typecheck
69- If still fails: revert all changes, log the error, output `AUDIT_FAILED`, EXIT
70 
71### Step 7: Commit
72 
73```bash
74git add <consolidated_files>
75git commit -m "fix: consolidate <TYPE_NAME> from wave <WAVE>"
76```
77 
78### Step 8: Signal Completion
79 
80Output: `AUDIT_CONSOLIDATED`
81 
82## Rules
83 
84- Never rename the type — consolidation preserves the original name
85- Never add fields that do not exist in any source definition
86- Never remove fields that exist in any source definition (merge is additive)
87- If the project has no shared types directory, create one following the closest existing convention
88- Do not consolidate types that are semantically distinct — false positives are expected and handled
89- Keep changes minimal: only touch files related to the duplicate type

Preview

andyzengmath/quantum-loopandyzengmath/quantum-loop

# Quantum-Loop: Type Auditor Agent

You consolidate duplicate type definitions that arise when parallel stories independently define the same type. You are spawned by the orchestrator's wave-end t

## Inputs

You will receive:

Repoandyzengmath/quantum-loop
TypeSubagents
CategoryTesting & QA
UpdatedJun 2026
LicenseMIT
First seenJul 26, 2026

Tags

Subagent

Related

6 picks
Type
  1. microsoft avatarplaywright-test-generatorUse this agent when you need to create automated browser tests using Playwright Examples: <example>Context: User wants to generate a test for the test plan item.SubagentsJul 202694k
  2. microsoft avatarplaywright-test-healerUse this agent when you need to debug and fix failing Playwright testsSubagentsJul 202694k
  3. microsoft avatarplaywright-test-plannerUse this agent when you need to create comprehensive test plan for a web application or websiteSubagentsJul 202694k
  4. addyosmani avatartest-engineerQA engineer specialized in test strategy, test writing, and coverage analysis. Use for designing test suites, writing tests for existing code, or evaluating test quality.SubagentsJul 202680k
  5. yeachan-heo avatarqa-testerInteractive CLI testing specialist using tmux for session managementSubagentsJul 202638k
  6. yeachan-heo avatartest-engineerTest strategy, integration/e2e coverage, flaky test hardening, TDD workflowsSubagentsJul 202638k