project-conventions
Skill122 starsChanged 18 days agoApache-2.0View on GitHub
Repo-wide coding conventions enforced by pre-commit (copyright headers, scalafmt, Daml warts, TS formatting) so generated code matches on the first pass.
17 other projects use a version of this.
Adopted by
Most recently taken up by
- frnkgns/Overgeared-Skillstheir own version, first seen Nov 8, 2026
- github/squadtheir own version, first seen Nov 8, 2026
- microsoft/github-vteam-industry-demostheir own version, first seen Oct 25, 2026
- g-cqd/skillstheir own version, first seen Oct 23, 2026
- vishalguptax/agent-engineering-kittheir own version, first seen Oct 11, 2026
- TangleML/tangle-uitheir own version, first seen Oct 8, 2026
Used with
Projects with it also use e2e-template-testing, notification-routing and 9 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
GitHubSkille2e-template-testing
End-to-end validation of coordinator and agent template changes
Also in 3 projects that use this
GitHubSkillnotification-routing
Route agent notifications to specific channels by type — prevent alert fatigue from single-channel flooding
Also in 3 projects that use this
Microsoft AzureSkillcoordinator-source-of-truth
The complete file-by-file source-of-truth hierarchy for Squad: which files are authoritative, which are derived/append-only, who may write each one, who may read each one, and the precedence rules when they conflict. Squad coordinator loads this on demand when it needs to resolve a write conflict, decide where a piece of state belongs, or answer a 'who owns this file' question.
Also in 3 projects that use this
Microsoft AzureSkillcross-squad-communication
Protocol for sending queries, delegating tasks, and sharing context between independent Squad instances across different repositories
Also in 3 projects that use this
SentrySkillskill-creator
Create new agent skills following the Agent Skills specification. Use when asked to "create a skill", "add a new skill", "write a skill", "make a skill", "build a skill", or scaffold a new skill with SKILL.md. Guides through requirements, writing, registration, and verification.
Also in 3 projects that use this
- +4 more from github
- +2 more from Azure
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 17
- github/gh-aw★ 5.6ksame name
- github/squad★ 3.4ksame name
- Soju06/codex-lb★ 3.3ksame name
- nextcloud/notes-android★ 1.1ksame name
- TangleML/tangle-ui★ 104same name
- Azure/apiops-cli★ 32same name
- choi138/toki★ 9same name
- frnkgns/Overgeared-Skills★ 7same name
- batin/five-guys★ 2same name
- g-cqd/skills★ 2same name
7 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- ci-triageSkill
- sarif-unused-symbolsSkill
The file
We split this skill into the rules it gives an agent
7 rules. 0 are common, 0 are distinctive, and 7 are very specific to this project.
0
Common
Most of the 11 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
7
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 12
Every source file (.daml, .scala, .sh, .py, .tsx, .rst) needs the SPDX copyright header (see scripts/rename.sh, headerCreate sbt task).
- Very specific: line 13
No trailing whitespace (check-trailing-whitespace.sh).
- Very specific: line 17
Follow .scalafix.conf rules where applicable.
- Very specific: line 18
After adding, deleting or renaming a test suite under /test//*.scala, run sbt updateTestConfigForParallelRuns and commit the test*.log …
- Very specific: line 21
No illegal cross-package Daml references (scripts/rename.sh no_illegal_daml_references) — don't import across module boundaries that aren't …
- Very specific: line 22
Avoid Daml warts flagged by scripts/check-daml-warts.sh (e.g.
- Very specific: line 23
All Daml return types must satisfy scripts/check-daml-return-types.sh — avoid inferred/implicit return types where the script expects …
“Common” is measured: kept by at least 6 in 10 of the 11 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.
Files
splice project conventions
These are enforced by .pre-commit-config.yaml and CI; matching them up front avoids pre-commit failures and review churn.
All languages
- Every source file (
.daml,.scala,.sh,.py,.tsx,.rst) needs the SPDX copyright header (seescripts/rename.sh,headerCreatesbt task). Copy the header from a neighboring file in the same directory rather than inventing one. - No trailing whitespace (
check-trailing-whitespace.sh).
Scala
- Format with scalafmt rules in
.scalafmt.conf; don't hand-format against them. - Follow
.scalafix.confrules where applicable. - After adding, deleting or renaming a test suite under
**/test/**/*.scala, runsbt updateTestConfigForParallelRunsand commit thetest*.logfiles it changes. Static checks regenerate them and fail on any diff (build.static_tests.yml, "Verify no changes in SBT test files").
Daml
- No illegal cross-package Daml references (
scripts/rename.sh no_illegal_daml_references) — don't import across module boundaries that aren't part of the public API. - Avoid Daml warts flagged by
scripts/check-daml-warts.sh(e.g. unsafe patterns the repo has banned). - All Daml return types must satisfy
scripts/check-daml-return-types.sh— avoid inferred/implicit return types where the script expects explicit ones. - Changing
daml.yamlor.damlfiles requires thedars_lockfile to stay in sync (damlDarsLockFileUpdate). - Frontend packages import generated JS bindings such as
@daml.js/splice-wallet. These are not npm dependencies:apps/generated-packages.jsonmaps each alias to its generated directory (e.g.splice-wallet-0.1.23) andapps/scripts/link-generated-packages.mjslinks them intonode_modulesonnpm install. Bumping a Daml package version means regenerating and updating that mapping (sbt damlBumpPackageVersionsdoes it); check it for stale versions after Daml model changes.
TypeScript / frontend
- Format via
scripts/fix-ts.py, not raw prettier — it wraps prettier with repo-specific behavior. Skip*.prettierrc.cjsfiles. - Each frontend app (
ans,scan,splitwell,sv,validator,wallet) underapps/has its ownopenapi-ts-clientpackage generated from the app's OpenAPI spec — don't hand-edit generated client code; regenerate instead. - ESLint runs with
--max-warnings=0— warnings fail the build, not just errors. - Workspaces are declared in
apps/package.json; new frontend packages must be added there.
Shell / CI / infra
- Shellcheck applies to all
*.shexcept undercanton/and.envrc(-e SC1091globally ignored). - Changes under
.github/**andgha-scripts/actions/**are checked byscripts/actionlint.shandscripts/zizmor.sh. - Changes to
cluster/pulumi/**/*.tsor anycluster/**/*.{yaml,yml}triggermake cluster/pulumi/test— verify Pulumi tests pass locally before proposing infra changes. - Grafana dashboard JSON under
cluster/pulumi/observability/grafana-dashboards/is validated byscripts/check-grafana-dashboards.sh.
AI-assisted contributions
Per AI_POLICY.md: the human author is fully accountable for AI-assisted contributions and must be able to explain every line. Don't pad PRs or review comments with unreviewed AI output — self-review before handing anything to a human reviewer.
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.

