straymark-aidec
Create an AIDEC (AI Decision) document to record a technical decision with alternatives considered.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Create an AIDEC (AI Decision) document to record a technical decision with alternatives considered.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Create an ADR (Architecture Decision Record) for significant architectural decisions. Requires human review.
Create an AILOG (AI Action Log) document for the current changes. Quick shortcut for the most common document type.
Execute an external audit of a Charter inside an auditor-side CLI (gemini-cli, claude-cli, copilot-cli, codex-cli). Reads the resolved audit prompt from the canonical location, audits with tool use, writes the report. Operator invokes one instance per CLI.
Generate the unified audit prompt for a Charter at the canonical filesystem location. The operator then opens N auditor-side CLIs (gemini-cli, claude-cli, copilot-cli, etc.) and invokes /straymark-audit-execute in each — no copy/paste. Counterpart of /straymark-audit-review.
Scaffold a Charter — StrayMark's bounded unit of work that pairs declarative ex-ante scope with telemetry ex-post. Use when starting a multi-session implementation block (>1 day, >5 tasks, multi-phase).
Show StrayMark documentation status. Use to verify if AI agents properly documented their changes.
| name | straymark-aidec |
| description | Create an AIDEC (AI Decision) document to record a technical decision with alternatives considered. |
Create an AI Decision (AIDEC) document to record technical decisions and the alternatives considered.
Use this skill when you've made a decision between multiple technical approaches and want to document the reasoning.
# Get current date
date +%Y-%m-%d
# Get recent changes for context
git diff --stat HEAD~1 2>/dev/null || git diff --stat
Always confirm before creating:
╔══════════════════════════════════════════════════════════════════╗
║ StrayMark AIDEC ║
╠══════════════════════════════════════════════════════════════════╣
║ ║
║ 📋 AIDEC documents a decision between alternatives. ║
║ ║
║ Please provide: ║
║ 1. Decision title (what was decided) ║
║ 2. Alternatives considered (2-3 options) ║
║ 3. Which alternative was chosen and why ║
║ ║
╚══════════════════════════════════════════════════════════════════╝
# Count existing AIDECs for today
ls .straymark/07-ai-audit/decisions/AIDEC-$(date +%Y-%m-%d)-*.md 2>/dev/null | wc -l
Read .straymark/config.yml for language setting:
en (default): .straymark/templates/TEMPLATE-AIDEC.mdes: .straymark/templates/i18n/es/TEMPLATE-AIDEC.mdFill template with:
id: AIDEC-YYYY-MM-DD-NNNtitle: Decision title from usercreated: Current dateagent: gemini-cli-v1.0confidence: based on decision clarityrisk_level: based on decision impactKey sections to fill:
Save to: .straymark/07-ai-audit/decisions/AIDEC-YYYY-MM-DD-NNN-description.md
✅ AIDEC created:
.straymark/07-ai-audit/decisions/AIDEC-YYYY-MM-DD-NNN-description.md
StrayMark: Created AIDEC-YYYY-MM-DD-NNN-description.md