skill-authoring
Apply this skill when creating or maintaining logically rigorous `.mustflow/skills/*/SKILL.md` procedures and `.mustflow/skills/INDEX.md` routes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Apply this skill when creating or maintaining logically rigorous `.mustflow/skills/*/SKILL.md` procedures and `.mustflow/skills/INDEX.md` routes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
| mustflow_doc | skill.skill-authoring |
| locale | en |
| canonical | true |
| revision | 12 |
| lifecycle | mustflow-owned |
| authority | procedure |
| name | skill-authoring |
| description | Apply this skill when creating or maintaining logically rigorous `.mustflow/skills/*/SKILL.md` procedures and `.mustflow/skills/INDEX.md` routes. |
| metadata | {"mustflow_schema":"1","mustflow_kind":"procedure","pack_id":"mustflow.core","skill_id":"mustflow.core.skill-authoring","command_intents":["mustflow_check","docs_validate"]} |
Create narrow, repeatable mustflow skill procedures without turning skills into broad advice, project context, or command-permission sources.
.mustflow/skills/<name>/SKILL.md file is created, renamed, split, removed, or substantially changed..mustflow/skills/INDEX.md needs a new or updated route for a skill.AGENTS.md, .mustflow/docs/agent-workflow.md, .mustflow/context/PROJECT.md, or .mustflow/config/commands.toml..mustflow/skills/INDEX.md and nearby skill documents..mustflow/config/commands.toml command intent names relevant to verification..mustflow/config/commands.toml have been checked for the current scope..mustflow/skills/INDEX.md.name. Set mustflow_doc to skill.<name>, metadata.mustflow_schema to "1", metadata.mustflow_kind to procedure, metadata.pack_id to the package namespace, and metadata.skill_id to <pack_id>.<name>.conditions -> required, allowed, or forbidden action -> observable result. Keep the prose natural, but make the condition, modality, actor, scope, and result unambiguous.A requires B does not say that every B permits or proves A.always, never, all, only, and equivalent absolutes unless every permitted exception is excluded or explicitly subordinate to a higher-authority rule..mustflow/skills/INDEX.md with a compact route that includes trigger, required input, edit scope, risk, verification intents, and expected output.gh skill publish --dry-run check may validate the export artifact when available, but gh skill publish --fix must be limited to the export directory because it can remove installed provenance metadata and mustflow-native fields.Use configured oneshot command intents when available:
mustflow_checkdocs_validateIf the skill changes tests or behavior-sensitive template output, also use the relevant configured test or build intents.
mustflow_check reports missing sections, metadata drift, unknown command intents, raw shell commands, or command-permission claims, fix the skill contract before changing unrelated files.Apply this skill when self-hosted Coolify or Coolify Cloud servers, applications, services, databases, build servers, destinations, Docker Compose stacks, domains, TLS certificates, Traefik or Caddy proxies, health checks, rolling updates, preview deployments, environment variables, build secrets, API tokens, teams, backups, restores, updates, monitoring, cleanup, resource limits, networking, firewalls, or deployment and rollback behavior are created, changed, reviewed, diagnosed, migrated, secured, or operated.
Apply this skill when PostgreSQL-specific schema, query, transaction, migration, indexing, extension, role, row-level security, connection pooling, replication, backup, restore, managed Postgres, or runtime behavior is created, changed, reviewed, or reported, including PostgreSQL 18 asynchronous I/O, B-tree skip scan, UUIDv7, virtual generated columns, RETURNING OLD/NEW, OAuth, logical-replication conflicts, observability, or 17-to-18 upgrades.
Apply this skill when Ubuntu Server or Ubuntu cloud images, especially Ubuntu 24.04 LTS or 26.04 LTS, are installed, upgraded, tuned, secured, diagnosed, backed up, restored, rebooted, or operated, including APT, dpkg, Snap, PPA, deb822 sources, unattended-upgrades, phased updates, needrestart, Livepatch, kernels, systemd services and timers, journald, cgroup v2, PSI, sysctl, CPU, memory, storage, network, SSH socket activation, AppArmor, UFW, Docker or Podman host integration, release upgrades, and remote recovery.
Apply this skill when deciding whether an AI agent, workflow automation, internal tool, or operational integration is economically worth building, expanding, replacing, or retiring by comparing human touch and wait time, exception density, stable machine-readable boundaries, expected cost per accepted outcome, human alternatives, supervision, failure recovery, maintenance, break-even volume, throughput value, effective lifetime, NPV, and independent safety gates.
Apply this skill when production automation, scheduled jobs, cron, polling, webhooks, events, queues, workers, durable workflows, approval steps, connectors, or operational pipelines are designed, changed, reviewed, or reported and the task must choose trigger responsibilities, prevent missed or duplicate work, detect silent wrong results, place human approval at the irreversible boundary, minimize credentials and personal data, control useful-effect cost, and keep an owned versioned automation registry.
Apply this skill when cloud, infrastructure, Kubernetes, serverless, database, storage, logging, telemetry, CDN, NAT, egress, autoscaling, quota, budget, tagging, snapshot, container registry, Marketplace, LLM API, or third-party SaaS usage is created, changed, reviewed, or reported and the risk is whether normal, growth, or incident usage can silently explode spend without scenario bills, account or project isolation, quotas, tags, lifecycle, retention, caps, commitment discipline, or automated shutoff guardrails.