feat: Refactor communication context to generalize from Jeff to current manager and enhance people management structure
This commit is contained in:
44
.opencode/commands/manager-update.md
Normal file
44
.opencode/commands/manager-update.md
Normal file
@@ -0,0 +1,44 @@
|
||||
---
|
||||
description: Draft or polish a Mattermost update for the current manager or stakeholder
|
||||
---
|
||||
|
||||
Draft a concise Mattermost message for the current manager or stakeholder in natural professional English.
|
||||
|
||||
Read:
|
||||
|
||||
@prompts/manager-update.md
|
||||
@ai/AGENTS.md
|
||||
@ai/context/project.md
|
||||
@ai/context/people/manager.md
|
||||
@ai/context/people/index.md
|
||||
@ai/state/current.md
|
||||
@ai/state/work-items.md
|
||||
@knowledge/communication-rules.md
|
||||
@knowledge/agent-memory-rules.md
|
||||
|
||||
Today's log, if present:
|
||||
|
||||
!`if [ -f ai/logs/$(date +%F).md ]; then cat ai/logs/$(date +%F).md; else echo "No log exists for today yet."; fi`
|
||||
|
||||
Latest Mattermost context, if available:
|
||||
|
||||
!`if [ -s ai/inbox/mattermost-latest.md ]; then cat ai/inbox/mattermost-latest.md; elif [ -s scripts/mattermost/generated/mattermost_context.jsonl ]; then cat scripts/mattermost/generated/mattermost_context.jsonl; else echo "No Mattermost context available."; fi`
|
||||
|
||||
User draft or rough notes:
|
||||
|
||||
$ARGUMENTS
|
||||
|
||||
Requirements:
|
||||
|
||||
- Use Context, Observation, Action
|
||||
- Clarify scope
|
||||
- Preserve technical meaning
|
||||
- Mention auth state when relevant
|
||||
- Mention Jira IDs and approved titles when they materially improve clarity
|
||||
- Do not label something a regression unless the context supports it
|
||||
- Keep the result short enough for Mattermost
|
||||
|
||||
Return:
|
||||
|
||||
1. Final message
|
||||
2. One-line note with any assumption you had to make
|
||||
Reference in New Issue
Block a user