dsh-plugins
AGENTS.md2 starsChanged 2 months agoMITView on GitHub
- Before finishing a task, run the checks relevant to the changed scope. - For code changes, run the available tests, linter, type checker, build, and package or integration verification when applicable. Prefer the repository's combined check command when it covers the affected code. - Do not claim that a task is complete while a relevant check is failing. If a check cannot be run, state which check was skipped and why. - Report the exact verification commands and their…
Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.
Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.
In this repository4 other files it gives its agents.
- create-pluginSkill
- release-pluginsSkill
- session-checkpointSkill
- shared-checkoutSkill
The file
Show its rules and text
We split this AGENTS.md into the rules it gives an agent
14 rules. About 0 are common, 5 are distinctive, and 9 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈5
Distinctive · estimate
This author's own choices. Worth a look.
9
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 5
Before finishing a task, run the checks relevant to the changed scope.
- Distinctive: line 9
Do not claim that a task is complete while a relevant check is failing.
- Distinctive: line 10
If a check cannot be run, state which check was skipped and why.
- Very specific: line 16
Every user-visible @yadsh/dsh-qa-surface change that adds or updates an Nx version plan must also update …
- Very specific: line 24
Every package that declares dsh.client must ship a classic browser bundle that registers itself through window.__ModuleLoader__.load({ id, …
- Very specific: line 37
Use settings.plugin.item only for a card that edits a real Host settings namespace.
- Very specific: line 41
Use settings.plugins.tab for feature-owned pages backed by custom Remote services, account/session state, or any UI that must remain …
- Very specific: line 45
Use settings.section for a page that is mounted inside the native settings tree, as dsh-preset-persona-editor does.
- Very specific: line 55
Use the shared BEM class contract for the shell: dsh-plugin-card, dsh-plugin-card--open, dsh-plugin-card__header, …
- Distinctive: line 61
Keep the shell rules identical in every self-contained client bundle.
- Distinctive: line 83
If the settings namespace is unavailable, render no card.
- Very specific: line 84
Use a 14 by 14 inline SVG chevron with viewBox="0 0 14 14" and the path m3.5 5.25 3.5 3.5 3.5-3.5, stroked with currentColor, round caps, …
- Very specific: line 104
Test fixtures ship in public git history even when they do not ship in tarballs.
- Very specific: line 109
Before committing anything naming a project, host, task or person, grep for marker classes: ticket keys [A-Z]{3,10}-[0-9]+, corporate …
≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md 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
Repository instructions
Verification before completion
- Before finishing a task, run the checks relevant to the changed scope.
- For code changes, run the available tests, linter, type checker, build, and package or integration verification when applicable. Prefer the repository's combined check command when it covers the affected code.
- Do not claim that a task is complete while a relevant check is failing. If a check cannot be run, state which check was skipped and why.
- Report the exact verification commands and their results in the final handoff.
QA surface release notes
- Every user-visible
@yadsh/dsh-qa-surfacechange that adds or updates an Nx version plan must also updateplugins/dsh-qa-surface/src/client/components/QaChangelog.tsxfor the planned version in the same change. Do not bumppackage.jsonmanually; Nx materializes the version during release.
Browser client module identity
- Every package that declares
dsh.clientmust ship a classic browser bundle that registers itself throughwindow.__ModuleLoader__.load({ id, factory }). - The registration
idmust exactly equal the package's fullpackage.json.name, including its npm scope. Do not use the Cordis patch id, the plugin directory name, or an unscoped shorthand. - Client bundle and packed-package verification must assert the full package
name. When an integration check fetches a bundle, use
/plugins/<full-package-name>/client.js, preserving the scoped path.
Plugin configuration card UI
Choosing the settings extension point
- Use
settings.plugin.itemonly for a card that edits a real Host settings namespace. The Host discovers these cards from the settings directory, which is intentionally unavailable to non-loopback browsers; do not create an empty namespace merely to make a feature-owned page appear there. - Use
settings.plugins.tabfor feature-owned pages backed by custom Remote services, account/session state, or any UI that must remain available from a non-loopback browser. Such a tab may reuse the standard card shell, but its<li>root must still be rendered inside a plugin-owned<ul>. - Use
settings.sectionfor a page that is mounted inside the native settings tree, asdsh-preset-persona-editordoes. It is a placement choice, not an availability guarantee: a page that must keep working without the native settings surface belongs insettings.plugins.tab. A page registered here that reuses the standard card shell keeps its<li>root inside a plugin-owned<ul>. - Cards registered in
settings.plugin.itemmust use the same outer shell as the first-party DSH plugin cards. The root is a direct<li>child of the host list, not an<article>or a permanently expanded custom panel. - Use the shared BEM class contract for the shell:
dsh-plugin-card,dsh-plugin-card--open,dsh-plugin-card__header,dsh-plugin-card__head-text,dsh-plugin-card__name,dsh-plugin-card__description,dsh-plugin-card__badge,dsh-plugin-card__chevron, anddsh-plugin-card__body. Keep plugin-specific class names inside the body. Keep the shell rules identical in every self-contained client bundle. Do not add a plugin-specific border, shadow, gradient, header icon, title size, or hover treatment. The canonical shell CSS is:
.dsh-plugin-card{border:1px solid var(--dsw-alias-border-l2);background:var(--dsw-alias-bg-layer-3);border-radius:12px;list-style:none;transition:border-color .16s,background .16s} .dsh-plugin-card:hover{border-color:var(--dsw-alias-label-dimmed)} .dsh-plugin-card--open{background:var(--dsw-alias-bg-layer-2);border-color:var(--dsw-alias-label-dimmed)} .dsh-plugin-card__header{appearance:none;width:100%;font:inherit;color:inherit;text-align:left;cursor:pointer;background:0 0;border:0;border-radius:12px;align-items:center;gap:12px;padding:14px 16px;display:flex} .dsh-plugin-card__header:focus-visible{outline:2px solid var(--dsw-alias-brand-primary);outline-offset:-2px} .dsh-plugin-card__head-text{flex-direction:column;flex:1;gap:4px;min-width:0;display:flex} .dsh-plugin-card__name{color:var(--dsw-alias-label-primary);font-size:15px;font-weight:600;line-height:1.4} .dsh-plugin-card__description{color:var(--dsw-alias-label-tertiary);font-size:13px;line-height:1.5} .dsh-plugin-card__badge{white-space:nowrap;background:var(--dsw-alias-bg-module-platform);color:var(--dsw-alias-label-secondary);border-radius:999px;flex:none;padding:1px 8px;font-size:11px;font-weight:500;line-height:17px} .dsh-plugin-card__chevron{width:14px;height:14px;color:var(--dsw-alias-label-tertiary);flex:none;transition:transform .16s} .dsh-plugin-card--open .dsh-plugin-card__chevron{transform:rotate(180deg)} .dsh-plugin-card__body{border-top:1px solid var(--dsw-alias-border-l2);margin:0 16px;padding-bottom:8px}- The header is a full-width
<button type="button">witharia-expanded, an accessible show/hide label, the title and description stack, an optional status badge, and the chevron in that order. Render the body only while open. If the settings namespace is unavailable, render no card. - Use a 14 by 14 inline SVG chevron with
viewBox="0 0 14 14"and the pathm3.5 5.25 3.5 3.5 3.5-3.5, stroked withcurrentColor, round caps, and round joins. Do not use font glyphs such as⌄or▾; their shape and baseline vary by font and encoding. - Build plugin-specific controls from
--dsw-alias-*design tokens so light, dark, and system themes stay coherent. Hard-coded colors may communicate a narrow semantic state, but must not define the card surface or typography. - Package verification for a configuration card must assert the standard shell class and SVG path in the built client bundle and reject legacy outer-shell classes, font chevrons, and non-standard shell tokens. When a local DSH web app is available, visually compare closed, hovered, focused, and open states with a first-party card before completion.
No internal identifiers in public content
- The repository is public and every package publishes to npm. Examples,
fixtures, specs, tool descriptions, error messages and READMEs must use only
synthetic placeholders:
PROJ-123/PROJ-456,jira.example.corp, «Демо-продукт». Never real task numbers under a renamed prefix, internal hosts, LAN addresses, project keys, product names, or people's names. - Test fixtures ship in public git history even when they do not ship in
tarballs;
lib/*.jsstrings and anything in the packagefileslist ship to npm. - Release notes must not reveal that a leak existed ("no longer names an internal Jira project" is itself a disclosure).
- Before committing anything naming a project, host, task or person, grep for
marker classes: ticket keys
[A-Z]{3,10}-[0-9]+, corporate hosts, RFC1918 addresses with real ports, person names and logins. - Exempt:
qa-deploy/,qa-deploy-docker/,.portable/kits.
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.

