| name | edit-plugin-skills |
|---|---|
| description | This skill should be used when the user asks to "edit a skill", "update reference files", "fix a reference", "check alignment", "check correctness", "verify code examples", "update tracking", "add a new language", "edit plugin content", "modify skill references", "resume correctness verification", "check tracking status", "memory files", "run alignment checks", or mentions working on files inside plugins/ or .memory/ directories. |
| version | 0.1.0 |
This repository contains plugin skills with reference files organized by topic and language. Edits to these files must be tracked through two systems: alignment checking (structure and style) and correctness checking (factual accuracy). The tracking/memory documents in .memory/ serve as shared state between sessions and agents.
plugins/<plugin-name>/skills/<skill-name>/
├── SKILL.md
└── references/
├── core/ # Conceptual content (language-agnostic)
├── python/ # Python-specific code and guidance
├── typescript/ # TypeScript-specific code and guidance
└── go/ # Go-specific (future)
.memory/
├── alignment_checking/ # Structure and style tracking
│ ├── README.md
│ └── <topic>.md # One file per reference topic
└── correctness_checking/ # Factual accuracy tracking
├── README.md
└── <topic>.md # One file per reference topic
Key principle: Concepts belong in core/, language-specific code belongs in language directories. Avoid duplicating conceptual content across languages.
Determine the scope of the change:
- Which reference file(s) to modify
- Whether the change affects structure, content, or both
- Which languages are impacted
Before making edits, read the relevant memory files to understand current state:
.memory/alignment_checking/<topic>.mdfor structure/style status.memory/correctness_checking/<topic>.mdfor verification status
For alignment work, also read .memory/alignment_checking/README.md for the style target and legends. For correctness work, read .memory/correctness_checking/README.md for the verification workflow and status values.
See references/memory-formats.md for detailed table formats and field descriptions.
Edit the reference file(s) in plugins/. Complete all changes before updating memory.
After completing edits, update the relevant memory documents. Refer to the protocol table below.
| Situation | Update |
|---|---|
| Reorganizing sections between files | alignment_checking/ |
| Removing duplicate conceptual content | alignment_checking/ |
| Adjusting prose style (code-first, minimal prose) | alignment_checking/ |
| Adding a new language (e.g., Go) | Both directories |
| Fixing incorrect code example | correctness_checking/ |
| Receiving SDK team feedback | correctness_checking/ |
| Verifying content against official docs | correctness_checking/ |
| Adding new reference content | Both directories |
Memory docs must reflect current state, not pending work.
Do:
- Complete the work first, then update the memory doc
- Update inventory tables directly (change
✓to—when removing a section) - Summarize completed changes in the Style Alignment section
Do not:
- Leave
Sections marked DEL:orSections marked TODO:lists - Leave
Action items:lists with checkboxes - Leave any list of "things to do" that persists after completion
Correct example:
**Style alignment:** ✅ Complete. Removed OpenTelemetry (too detailed).Incorrect example:
**Action items:** ✅ All completed
- ✅ Removed OpenTelemetry sectionWhen verifying factual accuracy of code examples and statements:
- Read the section from the reference file
- Query documentation sources using MCP tools (see
references/memory-formats.mdfor tool names and library IDs) - Compare code examples against official docs
- Apply fixes to source file if needed
- Update memory table: Status, Fix Applied, Sources columns
- Update Detailed Notes with verification details
See references/memory-formats.md for status values and detailed table format.
To resume correctness work: Check the summary table in .memory/correctness_checking/README.md, then find the first unchecked or needs fixes section.
Style target: Python is the reference style (code-first, minimal prose). All languages should match.
When checking or adjusting alignment:
- Read the Section Inventory table in
.memory/alignment_checking/<topic>.md - Verify sections exist where expected (
✓), are intentionally missing (—), or need review - Check section ordering numbers (
Py#/TS#/Go#) increase monotonically - Review Style Compliance status per language
See references/memory-formats.md for the complete legend and table format.
When adding a new language (e.g., Go):
- Create
references/<language>/directory with language-specific files - Update alignment memory: add column to Section Inventory tables in each
.memory/alignment_checking/<topic>.md - Update correctness memory: add
## {Language}section to each.memory/correctness_checking/<topic>.md - Update summary tables in both README files
references/memory-formats.md— Detailed format specifications for alignment and correctness memory tables