enhancement-docs
Use when writing or editing enhancement documents in docs/enhancements/. Provides format, conventions, and numbering guidance.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Use when writing or editing enhancement documents in docs/enhancements/. Provides format, conventions, and numbering guidance.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Batch, validate, and consolidate open Dependabot pull requests for memory-service. Use when asked to inspect the Dependabot queue, verify dependency PRs efficiently, reproduce dependency-update CI failures, combine compatible dependency PRs, or create a validated consolidated dependency PR.
Implement or review Memory Service backend operational logging. Use for REST or gRPC boundaries, provider errors, error wrapping, background workers and task attempts, indexers and maintenance jobs, SSE or gRPC streams, request correlation, and changes under internal/operationevent.
Prepare Memory Service changes for pull request submission. Use whenever Codex is asked to create, open, submit, publish, or ready a pull request, or to perform final PR preflight. Require `task generate` before the final PR commit so generated sources and repository-wide formatting are included.
Use when writing or debugging tests for memory-service. Covers Cucumber BDD patterns and failure reporting.
Use when you need build, test, or dev commands for memory-service across Go, Java, frontend, or Python modules.
Use when making changes to the OpenAPI contract. Workflow for updating spec and regenerating clients.
基于 SOC 职业分类
| name | enhancement-docs |
| description | Use when writing or editing enhancement documents in docs/enhancements/. Provides format, conventions, and numbering guidance. |
| autoTrigger | [{"files":["docs/enhancements/*.md","docs/enhancements/**/*.md"]}] |
Enhancement docs use the naming convention NNN-kebab-case-title.md where NNN is zero-padded and sequential.
docs/enhancements/.docs/enhancements/<status>/ where status is implemented, partial, or superseded.Check the highest existing number before creating a new one:
find docs/enhancements -maxdepth 2 -name '*.md' | sort -n | tail -3
Current backlog gotcha: docs/enhancements/ already contains two distinct proposed 085-*.md files. When discussing or editing those, refer to them by filename/title, not number alone, until they are renumbered.
Every enhancement doc must include:
---
status: proposed
---
Valid statuses: proposed, implemented, partial, superseded.
When superseded, add:
---
status: superseded
superseded-by:
- implemented/NNN-replacement-name.md
---
# Enhancement NNN: Brief Descriptive Title
> **Status**: Proposed.
For implemented docs: > **Status**: Implemented.
For partial: > **Status**: Partial — see [NNN](../implemented/NNN-name.md) for continuation.
| Section | Required | Purpose |
|---|---|---|
| Summary | Yes | 1-2 sentence overview of the change |
| Motivation | Yes | Why this is needed — current problems, risks, use cases |
| Design | Yes | Technical approach — API changes, data model changes, code examples |
| Testing | Yes | Test strategy — Cucumber scenarios (gherkin), unit test patterns |
| Tasks | Yes | Checkbox list of work items: - [ ] task / - [x] done |
| Files to Modify | Yes | Markdown table of files and what changes in each |
| Verification | Yes | Exact commands to compile and run tests |
| Non-Goals | Optional | Explicitly out of scope items |
| Design Decisions | Optional | Rationale for key choices |
| Security Considerations | Optional | Risk mitigations if relevant |
| Open Questions | Optional | Unresolved items needing discussion |
## Verification
\```bash
# Compile
./java/mvnw -f java/pom.xml compile
# Run tests
./java/mvnw -f java/pom.xml test -pl memory-service > test.log 2>&1
# Search for failures using Grep tool on test.log
\```
java, yaml, json, gherkin, bash, protobuf, sql[065](implemented/065-go-port.md) from a proposed doc or [017](../implemented/017-hide-conversation-groups.md) from a partial doc- [ ] for incomplete and - [x] for completed taskscontracts/openapi/openapi.yml, Admin API is in contracts/openapi/openapi-admin.ymlcontracts/protobuf/memory/v1/memory_service.proto.feature files.