mirror of
https://github.com/IgorWarzocha/Opencode-Workflows.git
synced 2026-09-14 16:22:53 +08:00
d942a1f44f
Update command-creator documentation with critical placeholder rules, XML block structures, and direct address terminology. Add the /learn command for documenting session findings and workarounds.
1.2 KiB
1.2 KiB
description
| description |
|---|
| Document session findings |
<user_guidelines> $ARGUMENTS </user_guidelines>
Capture critical "why" decisions, workarounds, or fixes from this session. Intelligently identify findings from context or user guidelines, if present. 1. **Identify Findings**: you MUST analyze the session/task for friction points or non-obvious fixes. 2. **Auto-Detect Scope**: you MUST determine if findings are nested-directory-specific or repo-wide. 3. **Distill Lesson**: you MUST extract findings into 1-2 non-verbose lines. you SHOULD match existing documentation style. 4. **Apply**: you MUST append to root or identified sub-directory AGENTS.md. If no AGENTS.md exist in the chosen directory, you MUST create a minimalist file containing ONLY the new findings. - MUST be extremely concise (1-2 lines of new content). - MUST focus on "how to avoid this issue next time." - MUST NOT use generic preambles or repeat info.