core-agent-ide/docs
Abkari Mohammed Sayeem 326c1e0a7e
Fix documentation errors for Custom Prompts named arguments and add canonical examples (#5910)
The Custom Prompts documentation (docs/prompts.md) was incomplete for
named arguments:

1. **Documentation for custom prompts was incomplete** - named argument
usage was mentioned briefly but lacked comprehensive canonical examples
showing proper syntax and behavior.

2. **Fixed by adding canonical, tested syntax and examples:**
   - Example 1: Basic named arguments with TICKET_ID and TICKET_TITLE
   - Example 2: Mixed positional and named arguments with FILE and FOCUS
   - Example 3: Using positional arguments
- Example 4: Updated draftpr example to use proper $FEATURE_NAME syntax
   - Added clear usage examples showing KEY=value syntax
   - Added expanded prompt examples showing the result
   - Documented error handling and validation requirements

3. **Added Implementation Reference section** that references the
relevant feature implementation from the codebase (PRs #4470 and #4474
for initial implementation, #5332 and #5403 for clarifications).

This addresses issue #5039 by providing complete, accurate documentation
for named argument usage in custom prompts.

---------

Co-authored-by: Eric Traut <etraut@openai.com>
2025-11-15 09:25:46 -08:00
..
advanced.md docs: Fix code fence and typo in advanced guide (#6295) 2025-11-06 09:00:28 -08:00
agents_md.md docs: fix agents fallback example (#5396) 2025-10-22 11:32:35 -07:00
authentication.md chore: subject docs/*.md to Prettier checks (#4645) 2025-10-03 11:35:48 -07:00
CLA.md chore: subject docs/*.md to Prettier checks (#4645) 2025-10-03 11:35:48 -07:00
config.md Enable TUI notifications by default (#6633) 2025-11-14 09:28:09 -08:00
contributing.md Updated contributing guidelines and PR template to request link to bug report in PR notes (#6332) 2025-11-06 12:02:39 -08:00
example-config.md Enable TUI notifications by default (#6633) 2025-11-14 09:28:09 -08:00
exec.md docs: document exec json events (#5399) 2025-10-20 16:11:36 -07:00
experimental.md docs: remove stale contribution reference (#5400) 2025-10-20 16:11:14 -07:00
faq.md Add instruction for upgrading codex with brew (#5640) 2025-10-24 11:30:34 -07:00
getting-started.md docs: correct getting-started behaviors (#5407) 2025-10-20 16:17:07 -07:00
install.md chore: subject docs/*.md to Prettier checks (#4645) 2025-10-03 11:35:48 -07:00
license.md chore: subject docs/*.md to Prettier checks (#4645) 2025-10-03 11:35:48 -07:00
open-source-fund.md chore: subject docs/*.md to Prettier checks (#4645) 2025-10-03 11:35:48 -07:00
platform-sandboxing.md docs: improve overall documentation (#5354) 2025-10-19 15:07:33 -07:00
prompts.md Fix documentation errors for Custom Prompts named arguments and add canonical examples (#5910) 2025-11-15 09:25:46 -08:00
release_management.md Update Homebrew install instructions to use cask (#5377) 2025-10-20 17:43:40 +00:00
sandbox.md Windows Sandbox - Alpha version (#4905) 2025-10-30 15:51:57 -07:00
slash_commands.md Add documentation for slash commands in docs/slash_commands.md. (#5685) 2025-11-03 08:27:13 -08:00
zdr.md Never store requests (#3212) 2025-09-05 10:41:47 -07:00