Skip to content

Commit ec99621

Browse files
committed
Docs: Add AI workflow notes for using .ai/temp directory
1 parent 648128c commit ec99621

1 file changed

Lines changed: 9 additions & 0 deletions

File tree

AGENTS.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -336,6 +336,15 @@ For any non-trivial change, report exactly what was run.
336336
- Update localization strings when adding new user-facing text
337337
- Update all supported languages or mark missing translations with English fallback
338338

339+
## AI Agent Workflow Notes
340+
341+
When working with GitHub CLI (`gh`) or other command-line tools that require long text inputs:
342+
343+
- Use `.ai/temp/` directory for temporary markdown files (issue descriptions, PR descriptions, etc.)
344+
- This directory is gitignored and safe for AI agent temporary files
345+
- Example: create `.ai/temp/pr-description.md` and use `gh pr create --body-file .ai/temp/pr-description.md`
346+
- This avoids command-line length limitations and shell escaping issues
347+
339348
## Documentation Drift Policy
340349

341350
When behavior and docs diverge:

0 commit comments

Comments
 (0)