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