一键导入
persistence-change
Review or implement a change to data_contract, data_migrations, repo.py generation rules, ModuleContext.persistence, or persistence guidance.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Review or implement a change to data_contract, data_migrations, repo.py generation rules, ModuleContext.persistence, or persistence guidance.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Set up Mozaiks from scratch. Walks through Docker, Python, Node, environment variables, and verification.
Customize app shell branding - themes, colors, navigation, logos. Works with app/brand/ and app/config/ declarative files.
Add features to an existing Mozaiks project. Helps users upgrade tiers or enable individual capabilities.
Add a backend module (deterministic CRUD/action handler) to an existing Mozaiks app.
Add a frontend page (AppPageSchema) to an existing Mozaiks app.
Review or implement a change to AgentGenerator prompts, workflow bundle structured outputs, workflow scaffolds, universal prompt injection, or workflow-agent safety guidance.
| name | persistence-change |
| description | Review or implement a change to data_contract, data_migrations, repo.py generation rules, ModuleContext.persistence, or persistence guidance. |
| argument-hint | [change summary or file path] |
Before starting: git fetch origin && gh pr list --state open && git log origin/main --oneline -3 — if another agent has an open PR touching the same files you need, wait for it to merge or branch off it instead of main.
Use this skill when a change touches persistence contracts or generated module repo boundaries.
Inspect first:
AGENTS.mdAGENTS.mddocs/architecture/builder/data-contract-and-revision-contract.mddocs/architecture/foundations/events-and-data/persistence-and-artifact-storage.mdfactory_app/build_context/AppGenerator/file_contracts.yaml when generator
file families or backend defaults are involvedCurrent persistence truth:
data_contract is the canonical planning objectdata/contract.json is the exported app artifactdata/migrations/{migration_id}.json is the additive migration artifactModuleContext.persistence as ctx.persistencectx.db is absent and non-canonicalbackend/repo.py, backend/policy.py, and backend/schemas.py are the
canonical persistence support filesCompanion routing:
runtime-change when ModuleContext.persistence, runtime persistence injection, or runtime persistence behavior changes.appgenerator-change when generated data/contract.json, data/migrations/{migration_id}.json, or generated module persistence output changes.Do not reintroduce:
backend/models.pybackend/models/*.pybackend/database/schema.jsonbackend/database/seed.jsonhandler.py or service.pyReturn: