--- description: Generate a high-quality prompt for GitHub Copilot on the Fidelity development machine --- Generate a prompt that the user can send to GitHub Copilot or another AI assistant on the Fidelity development machine. Read: @core/README.md @core/memory/operational-memory.md @prompts/copilot-prompt.md @project-knowledge/01-current/current-work.md @project-knowledge/01-current/work-items.md @project-knowledge/03-context/project.md @agent-memory/workflows/ai-to-ai-prompting.md @project-knowledge/03-context/ios/index.md @project-knowledge/03-context/ios/project-swift-guidance.md @project-knowledge/03-context/systems/index.md @project-knowledge/03-context/workstreams/index.md Active profile, if present: !`profile="${AIW_PROJECT_PROFILE:-fidelity}"; if [ -f "profiles/$profile/profile.md" ]; then cat "profiles/$profile/profile.md"; elif [ -f profiles/fidelity/profile.md ]; then cat profiles/fidelity/profile.md; else echo "No profile file found."; fi` Detailed active work item files, if available: !`if [ -d project-knowledge/02-work-items ]; then for f in project-knowledge/02-work-items/*.md; do case "$f" in *README.md|*index.md) continue;; esac; echo "\n### $f"; cat "$f"; done; else echo "No work item files available."; fi` User request: $ARGUMENTS Instructions: - Use `ai-prompt-engineering` and `copilot-prompt-engineering` if available. - Generate a self-contained prompt for the target AI. - Include only context relevant to the request. - Include Jira ID/title when the task maps to an active work item. - Tell Copilot what to inspect before making assumptions. - Include constraints, non-goals, expected output, and validation. - If the user asks for implementation help but the write scope is unclear, generate an investigation/plan prompt rather than a code-change prompt. - Do not mention this workspace unless explaining that the target AI will not have access to it. Return only the final prompt unless the user explicitly asks for commentary.