一键导入
skill-update-memory
Auto-update .AGENTS.md files based on code changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Auto-update .AGENTS.md files based on code changes.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Use when decomposing tasks into parallel sub-tasks or spawning sub-agents. Vendor-agnostic core; load a per-vendor reference for concrete tool names, directory conventions, and invocation syntax.
Use when performing Verification-Driven Development with adversarial approach. Actively challenge assumptions and find weak spots.
Use when performing VDD adversarial review with an opt-in sarcastic, provocative delivery style — a stylistic skin over vdd-adversarial mechanics (exhaustive reporting + objective bar).
Performance critic in adversarial style (optional sarcastic skin). Part of VDD Multi-Adversarial pipeline.
Use when performing OWASP security critique in adversarial style (optional sarcastic skin). Part of VDD Multi-Adversarial pipeline.
Use when performing security vulnerability assessment (OWASP, secrets, dependencies, IaC, LLM, API, MCP/agentic) or when "thinking like a hacker" to find exploits.
| name | skill-update-memory |
| description | Auto-update .AGENTS.md files based on code changes. |
| tier | 2 |
| version | 1.1 |
Prevent "Agent Amnesia" by keeping .AGENTS.md context files synchronized with code changes.
04-update-docs workflow.Tool: scripts/suggest_updates.py
Usage:
python3 .agent/skills/skill-update-memory/scripts/suggest_updates.py
Bootstrap Migration Mode (optional):
python3 .agent/skills/skill-update-memory/scripts/suggest_updates.py --mode bootstrap --create-missing --development-root src
Output:
.AGENTS.md (or suggested per-directory target in source folders)..AGENTS.md files without overwriting existing ones.--development-root, default: src)./.agent/skills/* and /.cursor/skills/* are always excluded from memory target creation.[!NOTE]
.AGENTS.mdremains optional. If it does not exist, the helper must not fail.
.AGENTS.md Update)For each file listed by the script:
(Deleted).[!IMPORTANT] NEVER delete sections marked
[Human Knowledge]or<!-- PRESERVE -->.
Append new information below manual annotations.
### [new_service.py]
**Purpose:** Handles user authentication.
**Classes:**
- `AuthService` — Main entry point.
- `login()` — Validates credentials.
.AGENTS.md skeletons in source folders.