一键导入
primer
Refresh codebase context via Serena memories
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Refresh codebase context via Serena memories
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
| name | primer |
| description | Refresh codebase context via Serena memories |
| category | researching |
| model | claude-haiku-4-5-20251001 |
| disable-model-invocation | false |
| user-invocable | true |
Always obey .docs/guides/mcp-tools.md. Read it now if not already in context.
| Operation | REQUIRED Tool | FORBIDDEN Alternative |
|---|---|---|
| List memories | mcp__serena__list_memories | N/A |
| Read memories | mcp__serena__read_memory | N/A |
| Write memories | mcp__serena__write_memory | N/A |
| Edit memories | mcp__serena__edit_memory | N/A |
| Rename memories | mcp__serena__rename_memory | N/A |
| Explore code | mcp__serena__find_symbol, mcp__serena__get_symbols_overview | |
| Find files | mcp__serena__find_file, mcp__serena__list_dir | |
| Search code | mcp__serena__search_for_pattern |
PROHIBITED: Using Read, Glob, or Grep for code exploration.
Quick workflow to refresh understanding of the codebase via Serena memories.
mcp__serena__list_memories → list all available memories (use topic parameter to filter by area, e.g. topic="api")mcp__serena__read_memory → read each relevant memory to rebuild contextMemory organization uses / separators for topic hierarchies (e.g. modules/frontend, auth/login/logic). Use topic filtering to efficiently navigate large memory sets.
Use MCP Serena to verify and extend your understanding:
mcp__serena__get_symbols_overview → file/module structuremcp__serena__find_symbol → locate specific functions, classes, componentsmcp__serena__search_for_pattern → find patterns, usages, integrationsCross-reference what you find against existing memories — if reality has drifted from what's documented, note it for Step 3.
Keep memories current and useful for future conversations:
mcp__serena__edit_memory with mode="literal" for precise text swaps or mode="regex" for pattern-based updates. Prefer editing over full rewrites.mcp__serena__write_memory for genuinely new knowledge:
/ in names for topic hierarchy (e.g. api/auth/jwt-flow)mcp__serena__rename_memory to move memories into proper topic hierarchiesSee .docs/guides/mcp-tools.md for the complete Serena memory reference.
/tackle no-args mode reads only wiki/work/tasks/README.md to survey active tasks — it relies on a structured index table rather than reading every task file. Older projects using this template predate that contract; check and bootstrap if needed.
mcp__serena__list_dir on wiki/work/tasks/ to list task files (top-level only, not archive/). If the directory is empty or has no task files, skip this step.wiki/work/tasks/README.md (use Read — markdown). Decide whether it is bootstrapped: it must contain an ## Active Tasks section followed by a markdown table whose header row includes the columns #, Slug, Progress, UAT, Flags, Objective (in any order, case-insensitive).Progress: 0/0), report a one-line warning to the user listing what's off, but do NOT auto-fix; the skill that mutated state without updating the index is the bug.Task index at wiki/work/tasks/README.md is not in the structured-table format /tackle expects. Bootstrap it now? (Y/n) via AskUserQuestion.wiki/work/tasks/ only (do not iterate archive/ for the table itself — the index lists active tasks only), read the file and compute: # (filename prefix), Slug (filename slug, linked to the file), Progress (count of - [x] vs all - [ ]/- [x] checkboxes — read each task file once with Read; this is a one-time bootstrap so a parallel batch of Read calls is acceptable), UAT (pending if a matching file exists in wiki/work/uat/, else none — done/skipped tasks are not represented here because those have moved to archive/), Flags (presence of [WIP], [BLOCKED: ...], [FAILED: ...], [DEFERRED-TO-UAT]), Objective (first sentence under ## Objective). Also compute the two header values: list filename prefixes across wiki/work/tasks/ and wiki/work/tasks/archive/ (skip either that doesn't exist); take the max NNN-slug — that's Last task (link path = whichever directory it lives in); set Next task number = max + 1, zero-padded to 3 digits. If no task files exist anywhere, omit Last task and set Next task number to 001. Write the result as wiki/work/tasks/README.md with the two header lines followed by a single Active Tasks table, using the format documented in that file's column reference. Reference: this template's own wiki/work/tasks/README.md shows the canonical layout./tackle with no args will not be able to survey active tasks until the index is bootstrapped — they'll need to invoke /tackle <path-or-slug> explicitly.File a new bug report in wiki/work/bugs/ with required-on-report fields and append it to the bug index
Audit all project functionality at a high level and produce a 2-3 minute demo run book plus a Marp slideshow
Orchestrator for parallel agent teams. When invoked with a roadmap file path, drives every item through the full tackle → uat-generate → uat-auto pipeline until complete. When invoked with a task file path, runs that pipeline once and stops.
Append a new item (task link or inline) to an existing roadmap in wiki/work/roadmaps/, optionally under a named phase
Create a structured execution-plan roadmap in wiki/work/roadmaps/ via short Socratic Q&A — captures goal, phases, and the initial hybrid (task-link OR inline) checklist
Execute an outlined task file step-by-step with subagent delegation