Repository navigation
Labels
Milestone
Description
Summary
Introduce structured agent skills to improve development velocity and reduce common pitfalls when working with the MatrixOne codebase.
Background
MatrixOne has several project-specific complexities that cause repeated friction in day-to-day development:
- CGo multi-layer linking: three separate variables (
CGO_CFLAGS,CGO_LDFLAGS,-ldflags+-extldflags) must be configured correctly, with platform-specific differences between macOS (DYLD_LIBRARY_PATH) and Linux (LD_LIBRARY_PATH). - Pipeline operator lifecycle contracts: operators like
Connector/Dispatch/Mergehave strictCall()vsReset()separation — violating this causes spool timeouts and data leaks. - Completion gating: the habitual pattern of declaring work "done" without running actual tests leads to uncaught regressions.
Agent skills provide structured, always-available knowledge that agents can consult at decision points to avoid these traps.
Proposed Skills
mo-dev (Astra + Codex compatible)
Covers all MatrixOne-specific development concerns:
- Project structure & dependency chains (compile → colexec → process → container, with CGo boundaries)
- CGo environment setup — symptom→root cause table for all common link errors, platform-specific (macOS/Linux) one-liners for
go test - Layered testing strategy — pure Go → CGo-transitive → CGo-direct, each with correct env variables
- Operator lifecycle contracts —
Call()vsReset()hard boundary,PipelineSpool.Abort()vsCloseWithTimeout() - Completion gate — 5-step checklist before declaring work done
- Forbidden patterns — operator contract violation, async cleanup with removed protocol, stale test output, unexplained errors
Acceptance Criteria
-
mo-devskill documents CGo setup for both macOS and Linux - Skill covers operator lifecycle contracts (
Call/Reset,Abort/CloseWithTimeout) - Skill includes completion gate checklist
- Codex-compatible version has correct YAML frontmatter (
name,descriptionfor implicit trigger matching) -
.gitignorechanges only expose the two skill files, nothing else under.claude/or.agents/
References
- matrixorigin/matrixone#24971 — the pipeline cleanup refactoring that exposed these pain points
Activity
fix: improve skills SKILL.md compatibility format (#25271)
feat: add mo-dev and mo-bug-triage agent skills (matrixorigin#25270)
chore: improve MatrixOne agent skills (#25450)
build: harden native downloads and development safeguards (#26577)
feat: add mo-dev and mo-bug-triage agent skills (matrixorigin#25270)
fix: improve skills SKILL.md compatibility format (matrixorigin#25271)
chore: improve MatrixOne agent skills (matrixorigin#25450)
build: harden native downloads and development safeguards (matrixorig…
feat: add mo-dev and mo-bug-triage agent skills (matrixorigin#25270)
fix: improve skills SKILL.md compatibility format (matrixorigin#25271)
chore: improve MatrixOne agent skills (matrixorigin#25450)
build: harden native downloads and development safeguards (matrixorig…
feat: add mo-dev and mo-bug-triage agent skills (matrixorigin#25270)
fix: improve skills SKILL.md compatibility format (matrixorigin#25271)
chore: improve MatrixOne agent skills (matrixorigin#25450)
build: harden native downloads and development safeguards (matrixorig…
docs(skills): validate GitHub templates before delivery (#30159)
docs(skills): add flexible defect-hunt workflow (#30946)