AGENTS.md
migrations/AGENTS.mdAGENTS.md
Quality
39/100
Scores the file, not the repository.Length
249 words
2 headings · 0 code blocksRepository
48k
— · pushed 0 days agoLast changed
3 days ago
First indexed 3 days ago.1# Migrations Tooling — Agent Guide23Start with **[README.md](README.md)** — it is the single source of truth for this4project: gem layout and namespaces, the `disco` CLI, converters, the schema DSL,5and the install / test / lint workflow.67This file is reserved for **agent-specific** guidance that does not belong in the8README (conventions, gotchas, do/don't notes for automated contributors).910## Gotchas1112- **Samovar reserves `name` on commands.** `Nested#parse` instantiates a13 sub-command with `name:` (its invocation name), which Samovar stores and exposes14 as `name`. So don't declare a positional `one :name` on a `disco` command — when15 the argument is omitted the accessor silently reads back the command's own name16 (e.g. a `schema add` command would read back `"add"`) instead of `nil`. Name the17 positional something else (`one :table_name, …`).1819- **Samovar positionals are never required.** Don't use `one :x, required: true` —20 it raises during parsing, before `call` runs, which breaks the `-h/--help`21 handling. Leave positionals optional and validate them at the top of `call` with22 `require_positional!` (see `Migrations::CLI::Command`); it raises a presentable23 error, so the user gets a clean message instead of a backtrace.2425- **Don't give command groups a `-h/--help` option.** The option hoisting in26 `Command#parse` moves recognized flags to the front, so a group-level help27 option steals `--help` from the subcommands — `group sub --help` would run28 the subcommand instead of printing its help. Leave groups without options;29 a bare `group --help` surfaces as an unparsable token, which `Bootstrap`30 turns into usage with exit 0.31
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| n8n-io/n8npackages/@n8n/agents/AGENTS.md · 199k | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| aaif-goose/gooseAGENTS.md · 52k | AGENTS.md | setupbuildtestlint-format+6 | 100/100 | 3 days ago | |
| wpscanteam/wpscanAGENTS.md · 9.7k | AGENTS.md | setupbuildteststyle+6 | 100/100 | 2 days ago | |
| mui/material-uiAGENTS.md · 99k | AGENTS.md | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| SkeneTechnologies/skene-cookbookAGENTS.md · 51 | AGENTS.md | setupbuildtestlint-format+7 | 100/100 | 2 days ago | |
| duckduckgo/content-scope-scriptsspecial-pages/AGENTS.md · 70 | AGENTS.md | buildteststylearch+3 | 100/100 | 3 days ago | |
| trick77/agents-md-syncAGENTS.md · 2 | AGENTS.md | setupbuildteststyle+5 | 100/100 | 3 days ago | |
| TryGhost/Ghoste2e/AGENTS.md · 55k | AGENTS.md | setupteststylearch+2 | 100/100 | 3 days ago |
