docs: improve AGENTS.md and query_stats README - #1376
Merged
Conversation
ic-mops is required for building Motoko canisters locally when using the @dfinity/motoko recipe. Add it to the README template in AGENTS.md and to the query_stats example (other examples updated via their PRs). Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add mops check / mops check --fix workflow note after mops.toml section - Add migration checklist item to run mops check --fix and commit fixes Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
The root .gitignore has **/.icp/cache/ which is correct. Per-example .gitignore files must not add .icp/ as that hides .icp/data/ containing canister ID mappings. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
lwshang
approved these changes
Jun 11, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Improves AGENTS.md and fixes the
query_statsexample README (PR #1364 was already merged so this is a follow-up).Changes
AGENTS.md:ic-mops: npm install -g ic-mopsto the README prerequisites templatemops check/mops check --fixworkflow note after themops.tomlsection — both must pass before committingmops check --fixto the migration checklist.icp/gitignore rules: only.icp/cache/should be ignored (the root.gitignorealready handles this with**/.icp/cache/); per-example gitignores must never add.icp/as it hides.icp/data/which holds canister ID mappings.dfx/gitignore entries during migration — dfx is no longer usedmotoko/query_stats/README.md:ic-mopsprerequisiteAll other open migration PRs have
ic-mopsadded directly on their branches.🤖 Generated with Claude Code