Copilot instructions
.github/copilot-instructions.mdCopilot instructions
Quality
83/100
Scores the file, not the repository.Length
415 words
8 headings · 0 code blocksRepository
5.5k
— · pushed 3 days agoLast changed
2 days ago
First indexed 2 days ago.1# Copilot Instructions for `leoafarias/fvm`23## Project overview4- FVM is a Dart CLI that manages Flutter SDK versions per project.5- Main architecture flow: **Commands → Workflows → Services → Models**.6- Key paths:7 - `bin/main.dart` (CLI entrypoint)8 - `lib/src/commands/` (command handlers)9 - `lib/src/workflows/` (multi-step orchestration)10 - `lib/src/services/` (core business logic)11 - `lib/src/models/` (data models, many generated with `dart_mappable`)12 - `test/` (unit + integration tests)1314## First-run checklist for coding agents151. Read `AGENTS.md` and `.context/docs/README.md`.162. Install dependencies:17 - Root: `dart pub get`18 - Also check subprojects when touched:19 - `fvm_mcp/`: `dart pub get`20 - `tool/release_tool/`: `dart pub get` (requires Dart `>=3.8.0`)213. Before changing code, run baseline checks (if environment supports Dart):22 - `dart analyze --fatal-infos`23 - `dcm analyze lib`24 - `dart test`254. After changes, re-run targeted checks first, then broader checks relevant to touched areas.2627## Build, test, and analysis commands28- Root project:29 - `dart pub get`30 - `dart analyze --fatal-infos`31 - `dcm analyze lib`32 - `dart test`33- Integration suite (Flutter required):34 - `dart run grinder test-setup`35 - `dart run grinder integration-test`36- Mapper/codegen (required after editing `@MappableClass()` models):37 - `dart run build_runner build --delete-conflicting-outputs`3839## Repository-specific conventions40- Keep changes surgical: avoid broad refactors unless required by the issue.41- Prefer existing testing utilities (`TestFactory`, `TestCommandRunner`) and patterns in `.context/docs/testing-methodology.md`.42- Integration tests are heavyweight and network-sensitive; prefer unit/targeted tests first.43- Release tooling is separate under `tool/release_tool/` and uses a newer Dart SDK than the main repo.4445## CI and workflow context46- Main validation workflow: `.github/workflows/test.yml`.47- `test.yml` ignores docs-only changes (`**/*.md`), so editing this file alone should not trigger the heavy test workflow.48- CI includes fallback install logic for DCM:49 - If `dcm` is unavailable, run `dart pub global activate dart_code_metrics` and add `$HOME/.pub-cache/bin` to `PATH`.5051## Errors encountered during onboarding and workarounds521. **Local command failure**: `dart: command not found`53 - Seen when running `dart pub get`, `dart analyze --fatal-infos`, and `dart test` in this environment.54 - Workaround: install/setup Dart before validation (CI uses `dart-lang/setup-dart`; locally ensure `dart --version` works, then rerun commands).552. **GitHub Actions log retrieval limitation for a failed run**:56 - `get_workflow_run_logs_url` returned `404 Not Found`.57 - `list_workflow_jobs`/`get_job_logs` returned zero jobs for that run.58 - Workaround: inspect `get_workflow_run` metadata (run URL, branch, event) and use the Actions UI/run page for details when API log endpoints are unavailable.5960## High-value docs for deeper context61- `README.md` (project/release overview)62- `.github/workflows/README.md` (deployment/CI details)63- `.context/docs/testing-methodology.md`64- `.context/docs/integration-tests.md`65- `.context/docs/version-parsing.md`66- `.context/docs/v4-release-notes.md`67
Also in conceptadev/fvm
Diff this repo’s formatsOne repository carrying more than one format is the comparison this product exists for: does anyone actually write different content in each file, or is one a copy of the other?
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| conceptadev/fvmAGENTS.md · 5.5k | AGENTS.md | archdeploymentdo-notdocs | 81/100 | 2 days ago |
Similar configs
Same format, overlapping stack, ranked by quality.
| Repository | Format | Stack | Covers | Score | Changed |
|---|---|---|---|---|---|
| chihebnabil/lovable-boilerplate.github/instructions/global.instructions.md · 63 | Copilot instructions | buildlint-formatstylearch+4 | 100/100 | 3 days ago | |
| louislam/uptime-kuma.github/copilot-instructions.md · 90k | Copilot instructions | setupbuildtestlint-format+9 | 100/100 | 3 days ago | |
| HerringtonDarkholme/megarepo.github/copilot-instructions.md · 17 | Copilot instructions | setupbuildtestlint-format+7 | 100/100 | 3 days ago | |
| JCodesMore/ai-website-cloner-template.github/copilot-instructions.md · 31k | Copilot instructions | buildlint-formatstylearch+3 | 97/100 | 2 days ago | |
| bagisto/bagisto.github/copilot-instructions.md · 28k | Copilot instructions | setupbuildteststyle+5 | 97/100 | 3 days ago | |
| darkmatter/nixmac.github/copilot-instructions.md · 24 | Copilot instructions | setupbuildtestlint-format+8 | 96/100 | 3 days ago | |
| nerolis-lab/nerolis-lab.github/copilot-instructions.md · 32 | Copilot instructions | setupbuildtestlint-format+11 | 96/100 | 3 days ago | |
| thangaram611/second-brain.github/copilot-instructions.md · 0 | Copilot instructions | setupteststylearch+4 | 96/100 | 3 days ago |
