agentleFS
tuana-vntuana-vn/system-reverse-engineer/.github/skills/integration-selection-analysis/SKILL.md

integration-selection-analysis

Skill0 starsChanged 2 months agoMITView on GitHub

Determine exactly how concrete clients/adapters/protocols/backends are selected, with mandatory counterexample search and promotion gates before routing rules enter canonical decision matrices.

The file

We split this skill into the rules it gives an agent

4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    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
  1. Distinctive:

    Every routing rule begins as candidate.

    line 37
  2. Very specific:

    Before adding a row to 00_master_decision_matrix.md:

    line 47
  3. Distinctive:

    search all relevant branches

    line 52
  4. Very specific:

    If any condition is unresolved, keep it in 00_hypotheses.md, not canonical matrix.

    line 60

≈ “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.

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

Integration Selection Analysis — 4.0

Core Question

Under exactly what conditions is each concrete implementation selected?

Search

Find:

  • abstractions
  • all implementations
  • factories/providers/registries
  • DI/container wiring
  • config
  • enums/constants
  • target/model/version branches
  • operation-specific routing
  • fallback paths

Separate Dimensions

Do not merge:

  1. operation selection
  2. target/entity selection
  3. mode selection
  4. concrete implementation selection
  5. protocol/transport selection
  6. fallback selection

Candidate Rule

Every routing rule begins as candidate.

Example candidate:

For operation X and target Y, condition Z selects Client A.

Promotion Gate for Routing

Before adding a row to 00_master_decision_matrix.md:

  • trace caller to selector
  • identify concrete implementation
  • verify active wiring
  • search all relevant branches
  • search alternate implementations
  • inspect config-driven behavior
  • inspect fallback
  • scope the rule narrowly
  • assign Evidence ID
  • mark Promotion Status=PROMOTED

If any condition is unresolved, keep it in 00_hypotheses.md, not canonical matrix.

Architecture Model Requirement

Update:

docs/reverse-engineering/models/integration_catalog.md
docs/reverse-engineering/diagrams/04_integration_boundaries.md

The catalog must classify every known material external integration with:

IntegrationCaller/OwnerAbstractionSelector/BindingConcrete ImplementationProtocol/BoundaryConfigFailure/FallbackEvidence

04_integration_boundaries.md must contain a Mermaid diagram showing application components, selection/binding points, concrete integrations, and external systems/processes. Include Evidence Anchors.

A list of client/factory class names is not sufficient integration architecture.

Output

docs/reverse-engineering/integration-selection.md

Update:

  • evidence ledger
  • hypotheses/open questions
  • canonical matrix only for promoted rows

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.