Files
dingtalk-workspace-cli/skills/AGENTS.md
玉澜andCursor 61b4b56a46 chore(skills): drop dead SAFETY_PREAMBLE_INJECT marker
No injection code ever existed in this repository, so the marker was
inert in all 22 multi SKILL.md files. Remove it and correct the skill
authoring docs to describe safety rules as plain prose.

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-08-04 14:12:46 +08:00

1.2 KiB

Bundled Skills Agent Guide

This file applies to skills/. Read the root AGENTS.md and docs/coding-agent-guide.md first. The full authoring contract lives in docs/skill-authoring-guide.md; this file is the scoped summary.

Hard rules

  • skills/mono is the stable single-skill layout; skills/multi/dingtalk-* are per-product experimental skills; dws-shared is the prerequisite.
  • Keep SKILL.md concise: frontmatter (name, description with triggers + Distinct from + 命令前缀, cli_version), routing prose, and pointers. Long references go to references/, recipes to scripts/.
  • Write safety rules as concise prose; no injected-preamble mechanism exists in this repository.
  • Every referenced dws command must exist in the current binary; run make skill-command-integrity before handoff.
  • Dual-write: CLI behavior changes update skill prose in the same change; skill routing changes check Schema selection hints per docs/schema-contributor-guide.md.
  • Do not add new embed roots; skills/embed.go embeds mono + multi only.