agentleFS
pantheon-orgpantheon-org/tekhne/skills/software-engineering/bridge/SKILL.md

bridge

Skill10 starsChanged 39 days agoMITView on GitHub

Capture a cross-project connection the moment it surfaces, such as a shared pattern, a person carrying context between projects, a story that lends another project credibility, a feedback loop. Use when one project feeds, reuses, reinforces another: 'connects to', 'feeds into', 'same pattern as'. Writes one YAML file per bridge to a bridges directory, with list, map and stats subcommands.

5 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Show its rules and text

We split this skill into the rules it gives an agent

20 rules. 0 are common, 14 are distinctive, and 6 are very specific to this project.

  • 0

    Common

    Most of the 5 edited versions we read keep these.

  • 14

    Distinctive

    This author's own choices. Worth a look.

  • 6

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write to the bridges directory only.

    line 19
  2. Distinctive:

    Use it when the user says "this connects to" or "same pattern as" another project.

    line 23
  3. Distinctive:

    Use it when a person who works across two projects carries context between them.

    line 24
  4. Distinctive:

    Use it when a session produces a story or proof point that strengthens another project.

    line 25
  5. Distinctive:

    Avoid capturing administrative links (shared calendar, same channel) that move no knowledge.

    line 30
  6. Distinctive:

    Avoid capturing when both names point at one project.

    line 31
  7. Very specific:

    Stop and wait when the user is mid-decision, until a natural pause or an explicit /bridge.

    line 32
  8. Distinctive:

    Check for an existing bridge first, and never recapture a link that is already stored.

    line 33
  9. Distinctive:

    Avoid capturing during a weekly review, because bridges are for in-the-moment capture.

    line 34
  10. Very specific:

    Run /bridge <src> → <tgt>: <desc> to capture, adding [type] after the target to force an archetype.

    line 38
  11. Very specific:

    Read the project config at $PRAXIS_DIR.

    line 42
  12. Distinctive:

    Check for a duplicate, then write the file following storage and schema.

    line 48
  13. Very specific:

    When three or more bridges this week share one project pair, append 📊 {N} bridges this week involving {pair}.

    line 55
  14. Distinctive:

    NEVER reformulate the user's description.

    line 66
  15. Distinctive:

    NEVER comment on the bridge content.

    line 67
  16. Distinctive:

    NEVER write to GTD files or project artifacts.

    line 68
  17. Distinctive:

    NEVER invent an alias that is not in config.

    line 69
  18. Distinctive:

    NEVER count files to get the sequence number, because after a deletion the count collides and overwrites a capture.

    line 70
  19. Very specific:

    NEVER guess a rare archetype (local, mirror, complexity) on one keyword.

    line 71
  20. Very specific:

    NEVER hardcode one-way and potential.

    line 72

“Common” is measured: kept by at least 6 in 10 of the 5 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

Bridge: Cross-Project Connection Capture

Capture a bridge while you are still in context. Keep it in the bridges directory, never in project artifacts.

Principles

  • Capture fast, then step aside: answer in one line and resume the conversation that produced the link.
  • Store the user's words, not yours, because a paraphrase erases the mental model that triggered the link.
  • Choose an honest default over a confident guess; a wrong rare archetype hides in the stats, while a visible knowledge default gets corrected.
  • Write to the bridges directory only.

When to Use

  • Use it when the user says "this connects to" or "same pattern as" another project.
  • Use it when a person who works across two projects carries context between them.
  • Use it when a session produces a story or proof point that strengthens another project.
  • Capture a stated link even without /bridge, provided both projects resolve from config.

When Not to Use

  • Avoid capturing administrative links (shared calendar, same channel) that move no knowledge.
  • Avoid capturing when both names point at one project; fix the alias in config instead.
  • Stop and wait when the user is mid-decision, until a natural pause or an explicit /bridge.
  • Check for an existing bridge first, and never recapture a link that is already stored.
  • Avoid capturing during a weekly review, because bridges are for in-the-moment capture.

Commands

Run /bridge <src> → <tgt>: <desc> to capture, adding [type] after the target to force an archetype. Read list, map and stats output, then run /bridge list [project], /bridge map or /bridge stats to read bridges back.

Capture Procedure

  1. Read the project config at $PRAXIS_DIR. It holds aliases, names, tiers, flywheel roles and stakeholders with also_in. If it is missing, stop with ⚠️ No project config found. Create it with your project definitions.
  2. Split the input on → or ↔ for the source, then on : for the target, any [type] and the description.
  3. Resolve both aliases against config keys, case-insensitively, then fuzzy-match against name. If either fails, write nothing. Warn and suggest adding the project to config.
  4. Pick the archetype. Use [type] when given, otherwise apply archetype detection. When the signal is weak, use knowledge and say so.
  5. Set the direction. Use bidirectional for ↔, "bidirectional" or "both ways", otherwise one-way.
  6. Set the strength. Check hedges first ("maybe", "in theory" give theoretical), then present tense ("already", "carries" give active), then "not yet", "should", "if it works" for potential. Default to potential.
  7. Check for a duplicate, then write the file following storage and schema.
  8. Answer with one line, then resume the prior conversation. Use ↔ for bidirectional bridges and add , defaulted in the brackets after a defaulted archetype:
🔗 Bridge #N: {emoji} {source} → {target} ({archetype}) — {short desc}

When three or more bridges this week share one project pair, append 📊 {N} bridges this week involving {pair}. Update strategic bridges during review.

Take the highest number used today, add one, then confirm the file parses:

last="$(ls "$dir" | sed -n "s/^$(date +%F)-\([0-9]*\)-.*/\1/p" | sort -n | tail -1)"; seq=$(( ${last:-0} + 1 ))
yq '.' ./thinking/bridges/"$file" > /dev/null

Anti-Patterns

  • NEVER reformulate the user's description. WHY: a paraphrase adds your interpretation and erases the original mental model.
  • NEVER comment on the bridge content. Keep the response to one line, because commentary derails the conversation.
  • NEVER write to GTD files or project artifacts; mixing captures into task lists pollutes both.
  • NEVER invent an alias that is not in config; invented aliases break list, map and stats.
  • NEVER count files to get the sequence number, because after a deletion the count collides and overwrites a capture. Always use the highest number plus one.
  • NEVER guess a rare archetype (local, mirror, complexity) on one keyword; the pitfall is a mislabel that skews the stats unseen.
  • NEVER hardcode one-way and potential; run steps 5 and 6 so the stats do not repeat a wrong relationship.
# BAD: "Matthieu carries context both ways" stored with the defaults
direction: one-way
strength: potential
# GOOD: "both ways" is bidirectional, "carries" is present tense
direction: bidirectional
strength: active

References

  • Archetype Detection: the 10 archetypes and the signals for picking one
  • Storage and Schema: filename, sequence number, YAML schema, write guards, duplicate check
  • List, Map and Stats: output formats for the read-only subcommands
  • Worked Examples: three captures showing how the signals combine

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.