feat: add mops-cli agent skill#493
Merged
Merged
Conversation
Opinionated guide for AI agents on how to use the mops CLI — covers toolchain pinning, dependency management, type-checking, building, and linting workflows. Made-with: Cursor
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
.agents/skills/mops-cli/SKILL.md) that teaches AI agents how to use the mops CLIDetails
Key opinions encoded in the skill:
mocandlintokoin[toolchain]; uselatestfor non-interactive setupmops check(exception: library packages without[canisters])mops check --fixas the primary correctness command (type-check + stable + lint in one pass).mostfile for new projects instead ofskipIfMissing = truetoolchain usewithout version is interactive — avoid)Skipped commands: bench, publish, owner, maintainer, bump, set-network, get-network, search, info, cache, user, self, template, docs, sources, moc-args, check-candid, watch.
Test plan
mops check,mops check backend,mops build,mops toolchain bin moc, etc.)mops check src/**/*.mofor library packages in motoko-coretoolchain use moc latestis supported in the codeMade with Cursor