feat: add comprehensive agent rules and workflows for memory curation, communication synchronization, and project documentation management
This commit is contained in:
@@ -1,39 +0,0 @@
|
||||
---
|
||||
description: Generate a self-contained prompt for another AI assistant
|
||||
---
|
||||
|
||||
Generate a high-quality prompt for another AI assistant that may not have access to this workspace memory.
|
||||
|
||||
Read:
|
||||
|
||||
@core/README.md
|
||||
@core/memory/operational-memory.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
|
||||
|
||||
Read 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`
|
||||
|
||||
Relevant 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` when available
|
||||
- make the prompt self-contained
|
||||
- include only relevant project context
|
||||
- tell the target AI what to inspect before changing code or producing conclusions
|
||||
- include constraints, non-goals, expected output, and validation expectations
|
||||
- include work-item IDs and approved titles when relevant
|
||||
- do not assume the target AI can read this workspace
|
||||
- do not invent file paths if the implementation repository is not available here
|
||||
|
||||
Return only the prompt unless the user asks for explanation.
|
||||
1
.opencode/commands/ai-prompt.md
Symbolic link
1
.opencode/commands/ai-prompt.md
Symbolic link
@@ -0,0 +1 @@
|
||||
../../.agents/workflows/ai-prompt.md
|
||||
Reference in New Issue
Block a user