agentleFS
EnigmaWUEnigmaWU/MyCodeAgentSkills/create-ecosystem-map/SKILL.md

create-ecosystem-map

Skill4 starsChanged 3 months agoMITView on GitHub

WHEN/WHERE/WHO: [Scheduling: System architects, analysts, or agents defining the scope of a new project.] HOW: [Structural: Use this SKILL to extract all upstream and downstream systems from text and render them as a Mermaid.js graph.] WHY: [Scheduling: Failing to identify an integration point early leads to massive architectural rework later. Ecosystem maps define the exact boundary.]

The file

We split this skill into the rules it gives an agent

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

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈11

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    When this skill is activated, first load skill-common and apply the shared conventions it defines: canonical section order, frontmatter …

    line 13
  2. Distinctive:

    When teams focus only on the features they are building, they forget the systems they must integrate with.

    line 28
  3. Distinctive:

    Transfer Check: Verify the workflow still works for both text-only adjacency lists and Mermaid graph outputs.

    line 43
  4. Distinctive:

    Stop Rule: If the system appears standalone with no real external interactions, stop and tell the user the map is trivial.

    line 44
  5. Distinctive:

    Do not map the internal components of the System Under Design.

    line 47
  6. Distinctive:

    Keep execution guidance in plain language.

    line 49
  7. Distinctive:

    If rendering tools are unavailable, produce the same ecosystem map as a structured text adjacency list.

    line 50
  8. Distinctive:

    If the input text describes a purely standalone script with no external inputs or outputs, inform the user that an Ecosystem Map is trivial …

    line 53
  9. Distinctive:

    Verify the Mermaid syntax is valid.

    line 84
  10. Distinctive:

    Ensure the SUD is treated as a black box (no internal modules are shown).

    line 85
  11. Distinctive:

    Ensure every arrow has a label describing the data/interaction.

    line 86

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

Create Ecosystem Map

Common Contract (Load First)

When this skill is activated, first load skill-common and apply the shared conventions it defines: canonical section order, frontmatter rules, anti-pattern guidance, and the Review In Mind loop in review-in-mind. This skill adds only domain-specific rules below.

Who

System Architects, Business Analysts, and AI Agents. The agent uses this skill to map dependencies and boundaries.

What

This skill implements the Ecosystem Map from the Requirements Modeling Language (RML). It analyzes requirements text to identify the System Under Design (SUD) and every external system, API, or human actor it interacts with. It outputs a Mermaid.js graph visualizing these relationships.

When

Invoke this skill during scope definition or early architectural design. Trigger phrases include: "create an ecosystem map," "what systems does this touch," "map the dependencies," or "draw a context diagram."

Where

Applies to Product Requirements Documents (PRDs), architectural design docs, and system integration plans.

Why

When teams focus only on the features they are building, they forget the systems they must integrate with. An Ecosystem Map forces the team to acknowledge (and plan for) every data feed, legacy database, and third-party API that touches their system.

Inputs

  • Requirements documents, PRDs, or architecture descriptions.

Output (Logical Evidence)

  • A Mermaid.js graph diagram (Ecosystem Map).
  • A list of defined interfaces.

Optimization Readiness

  • Failure Signals: Internal components leak into the map, arrows lack data labels, the SUD is not treated as a black box, or externals are missed because the scope was not bounded.
  • Evidence To Collect: External-entity lists, labeled adjacency definitions, Mermaid drafts, and examples showing whether each interface was correctly treated as upstream, downstream, or human.
  • Safe Mutation Boundaries: Refine entity-scanning prompts, interface labeling guidance, and graph-format advice without changing the core black-box ecosystem mapping model.
  • Acceptance Criteria: Accept revisions only if the map shows the SUD at the center, all externals are truly external, and every arrow carries a meaningful label.
  • Rejected Revision Handling: Record internal-component leaks, unlabeled arrows, and missing external entities so they are not repeated.
  • Transfer Check: Verify the workflow still works for both text-only adjacency lists and Mermaid graph outputs.
  • Stop Rule: If the system appears standalone with no real external interactions, stop and tell the user the map is trivial.

Constraints (Logical Boundaries)

  • Do not map the internal components of the System Under Design. The SUD is a black box in this model. Only map external interactions.
  • Differentiate between human actors and software systems.
  • Keep execution guidance in plain language; Mermaid output is optional representation, not a required execution prerequisite.
  • If rendering tools are unavailable, produce the same ecosystem map as a structured text adjacency list.

One More Thing

If the input text describes a purely standalone script with no external inputs or outputs, inform the user that an Ecosystem Map is trivial and unnecessary.

How (Structural Workflow)

Phase 1: Identify the Center

  1. Identify the System Under Design (SUD). This is the application or service being built or modified. It goes in the center of the map.

Phase 2: Identify Externals

  1. Scan the text for nouns representing external entities:
    • Upstream Systems: Systems that send data to the SUD.
    • Downstream Systems: Systems that receive data from the SUD.
    • Human Actors: User classes that interact directly with the SUD.

Phase 3: Define Interfaces

  1. For every connection between the SUD and an external entity, define the nature of the data flowing across it (e.g., "Sends Order Data", "Returns Auth Token").

Phase 4: Visualization

  1. Output the map using Mermaid.js graph or flowchart syntax.

Resources

  • Ecosystem Map Template

Review In Mind (ReviewInMindGenie)

Execute the common review loop in review-in-mind before delivering.

Review lens for this skill:

  • Is the System Under Design distinguished from every external system and actor?
  • Are all upstream/downstream interactions from the source text represented?
  • Is the Mermaid graph valid and free of invented integrations?

Validation

  1. Verify the Mermaid syntax is valid.
  2. Ensure the SUD is treated as a black box (no internal modules are shown).
  3. Ensure every arrow has a label describing the data/interaction.

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.