bridge-contribute
Skill13 starsChanged 14 days agoMITView on GitHub
Contribute features or improvements from your Bridge to the open-bridge OSS upstream (or org overlay) as a fork-based PR. Scans your user branch, classifies by scope, runs the mandatory content-safety gate. Trigger: "/contribute", "contribute", "share my skill", "PR to upstream", "give back".
In this repository44 other files it gives its agents.
- AGENTS.mdAGENTS.md
- skills/board-pilot/references/agents.mdAGENTS.md
- .github/copilot-instructions.mdCopilot instructions
- a2aSkill
- archiveSkill
- board-pilotSkill
- bridge-auditSkill
- bridge-curatorSkill
- bridge-explorerSkill
- bridge-greetingSkill
- bridge-leak-checkSkill
- bridge-learnSkill
- bridge-onboardSkill
- bridge-overlaySkill
- bridge-promoteSkill
- bridge-statusSkill
- bridge-syncSkill
- briefingSkill
- calendarSkill
- capability-brokerSkill
- channelSkill
- cmuxSkill
- cockpitSkill
- dashboardSkill
- debriefSkill
- doc-systemSkill
- github-projects-managerSkill
- html-canvasSkill
- html-slidesSkill
- knowledge-repo-initSkill
- mail-draftSkill
- mandantsSkill
- meeting-transcriptionSkill
- object-storeSkill
- onboard-simSkill
- remoteSkill
- scheduleSkill
- secretsSkill
- spec-kickoffSkill
- task-close-postmortemSkill
- tmuxSkill
- tracker-syncSkill
- workloadSkill
- workspaceSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 2 are distinctive, and 0 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.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 21
Read the referenced file ONLY when triggered.
- Distinctive: line 45
No PR is created until the two-layer gate passes for the exact outgoing file set:
≈ “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.
Files
Bridge Contribute — give improvements back upstream
This is the skill the open-bridge community uses to feed features and
improvements back: it turns work on your user/* branch into a clean,
reviewed pull request against bks-lab/open-bridge (or your org's
overlay repo) — and it refuses to ship anything the content-safety
gate flags. Protecting your own customer names, personal data, and
internal paths is a hard gate, not a checkbox.
Read the referenced file ONLY when triggered.
Arguments
| Argument | Effect | Default |
(none) | Scan and categorize all contributable files | — |
{path} | Analyze a specific file or directory | — |
--adapt | Generalize org-specific content before contributing | false |
--repo <name> | Only consider candidates for one destination | all |
Decision Tree
User wants to...
├── Scan branch for contributions → references/workflow.md
├── Contribute a specific file/dir → references/workflow.md ({path})
├── Adapt/generalize content first → references/workflow.md § Adapt mode
├── Promote whole commits by scope → use the bridge-promote skill (/promote)
└── Questions about scope routing → docs/org-overlays.md (tier model)Safety (MANDATORY — the reason this skill exists)
No PR is created until the two-layer gate passes for the exact outgoing file set:
python3 scripts/no-scrub-leak.py {files}—scripts/no-scrub-leak.pyis a shared repo-root utility shipped with the Bridge repo itself, not a file inside this skill's own directory. It checks universal classes (absolute user paths, key/token shapes, merge-conflict markers) plus your own roster fromscripts/leak-patterns-internal.txt(local-only, never shipped — you maintain your customer/PII regexes there; the shipped scanner cannot know them).- The per-destination blocklist scan from
rules/promote-safety.md— the OSS upstream uses the strictest list.
REFUSE path: personal-PII or roster hits exclude the affected files
— no override flag, no "it's just an example". Remediation: --adapt,
re-scan, only a clean re-scan unblocks. Clean files in the same batch
still ship.
Relationship to /promote
/promote (bridge-promote skill) moves whole commits by scope:
routing — the lightweight path when your branch has clean per-commit
scope discipline. /contribute works file-level, with adaptation
and always ending in a PR — the path for mixed branches and for
first-time community contributions. Full comparison table:
references/workflow.md § Relationship.
See also
bridge-promote— commit-level scope-routed promote to upstreamsrules/contribute-advisor.md— proactive "this looks upstream-worthy" nudgesrules/promote-safety.md— the content-scan rules this skill enforcesCONTRIBUTING.md— repo-side contribution policy (DCO, licenses)
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.

