Files
fidelity-ai-workspace/.opencode/commands/copilot-prompt.md
david.delagneau 8026da5719 Refactor AI workspace for improved context management and communication integration
- Introduced new commands and skills for workspace memory curation, professional communication, and status reporting.
- Updated existing commands to utilize new skills and improve clarity in instructions.
- Created a new workspace context command to load reusable core and active project profile.
- Enhanced Mattermost inbox integration with support for generic environment variables.
- Established a clear separation between project-independent core logic and project-specific profiles.
- Improved documentation across various files to reflect changes in workflow and command usage.
- Added operational memory management rules to ensure accurate context promotion and correction.
- Updated README and workflow documents to guide users in utilizing the new structure effectively.
2026-04-16 08:35:53 -06:00

1.8 KiB

description
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 @ai/AGENTS.md @ai/context/process/ai-to-ai-prompting.md @ai/context/index.md @ai/context/project.md @ai/context/ios/index.md @ai/context/ios/project-swift-guidance.md @ai/context/systems/index.md @ai/context/workstreams/index.md @ai/work-items/index.md @ai/state/current.md @ai/state/work-items.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 ai/work-items ]; then for f in ai/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.