fix: Strengthen AskUserQuestion guidance for cross-platform compatibility

- codex-agents.ts: replace vague "ask the user in chat" with structured
  numbered-list instructions for Codex AGENTS.md context
- CLAUDE.md: add AskUserQuestion policy to skill compliance checklist
  to prevent recurrence in future skills

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Kieran Klaassen
2026-03-01 15:43:41 -08:00
parent 465bd3d6bb
commit 98e0a169cb
2 changed files with 6 additions and 1 deletions

View File

@@ -75,6 +75,11 @@ When adding or modifying skills, verify compliance with skill-creator spec:
- [ ] Use imperative/infinitive form (verb-first instructions)
- [ ] Avoid second person ("you should") - use objective language ("To accomplish X, do Y")
### AskUserQuestion Usage
- [ ] If the skill uses `AskUserQuestion`, it must include an "Interaction Method" preamble explaining the numbered-list fallback for non-Claude environments
- [ ] Prefer avoiding `AskUserQuestion` entirely (see `brainstorming/SKILL.md` pattern) for skills intended to run cross-platform
### Quick Validation Command
```bash