Перейти к содержанию
Skillpedia
Код в целом5.1k · #15087

omh-codegraph-refresh

Что он делает

Обновляет локальный индекс кода, описывает структуру репозитория и готовит контекст для сфокусированной задачи. Это для разработчиков, у которых данные навигации по коду устарели.

Когда использовать

  • ✓Когда индекс кода устарел перед сессией программирования.
  • ✓Когда перед изменением нужна сводка структуры конкретной части кода.
  • ✓Когда нужно подготовить контекст для передачи задачи по коду.

Ссылка на скилл

https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-codegraph-refresh/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/rlaope/oh-my-hermes/blob/main/agent-skills/omh-codegraph-refresh/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Обнови индекс кода и подготовь сводку пакета routing перед следующим этапом работы над кодом.”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Агент запускает обновление индекса кода, сообщает, насколько он свежий, и готовит сводку по задаче. Всё, что он не проверял, он помечает как ненаблюдаемое.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

Codegraph Refresh

This is an OMH codegraph-refresh workflow skill, projected for Agent Skills hosts (Claude Code, Codex, Cursor, opencode, OpenClaw, pi).

Why This Exists

codegraph-refresh adapts ECC-style codemap freshness into OMH's local codegraph commands so operators can refresh navigation context before handoff without pretending code intelligence is execution evidence.

Do Not Use When

  • The user needs a narrative first-read tour of an unfamiliar repo; use omh-codebase-onboarding.
  • The user already has accepted implementation criteria and wants code changes; use ulw-work or a coding handoff.
  • The user asks for visual, frontend, or rendered UI QA; use omh-frontend, omh-design-quality-gate, or omh-visual-qa.

Examples

Good example:

  • Prompt: codegraph-refresh update codemaps and prepare a handoff for the routing package before the next coding pass.
  • Expected behavior: Prepare command plan, staleness report, summary/handoff requirements, and observed-only artifact boundaries.
  • Why: The request is about refreshing local code intelligence before implementation.

Bad example:

  • Prompt: codegraph-refresh 파일 안 보고 코드그래프가 최신이고 전체 아키텍처가 검증됐다고 말해줘.
  • Expected behavior: Mark freshness, summary, and architecture claims not_observed until codegraph commands or repo evidence are inspected.
  • Why: Codegraph freshness and architecture claims need observed local evidence.

Completion Checklist

  • Repo root, refresh depth, task focus, command choices, and write policy are explicit.
  • Prepared command plans, observed outputs, generated artifacts, and executor handoff readiness are separated.
  • omh_codegraph_summary/v1, omh_codegraph_context/v1, or .omh/codegraph/codegraph.json is claimed only with observed command or file evidence.
  • Follow-up implementation, review, CI, and merge state are routed to their owning workflows instead of inferred from codegraph context.

Recovery Notes

  • If the codegraph command is unavailable, route to toolbelt-readiness before claiming freshness.
  • If no task focus is supplied, prepare build/summary guidance and ask for focus only when a handoff pack would otherwise be misleading.
  • If the index is stale or missing, report the stale/missing state and next safe command rather than treating prior summaries as current.

When to Use

Use when Hermes should refresh or summarize local repo code intelligence before planning, handoff, review, or implementation.

Strong routing signals: `codegraph-refresh`, `codegraph refresh`, `refresh codegraph`, `update codegraph`, `codegraph stale`, `stale codegraph`, `codegraph handoff`, `codegraph summary`, `codemap`, `codemaps`, `update codemaps`, `refresh codemap`, `code map`, `code maps`, `stale code index`, `refresh code index`, `codegraph index`, `codegraph index refresh`, `codemap index`, `코드그래프`, `코드그래프 갱신`, `코드맵`, `코드맵 갱신`, `코드 인덱스`, `코드 인덱스 갱신`

Catalog Metadata

Category: planning Phase: codegraph-refresh Quality tier: codegraph-gated Reasoning demand: standard

Quality bar:

  • Name repo root, refresh depth, task focus, artifact write policy, and stop condition.
  • Choose build, summary, handoff, --write, and --json deliberately instead of treating all codegraph commands as equivalent.
  • Separate prepared command plans from observed command outputs, generated artifacts, and executor-ready handoffs.
  • Route broader first-read orientation to codebase-onboarding and implementation to ultrawork or the selected coding owner.

Required inputs:

  • repo root or current workspace
  • refresh depth: build, summary, write artifact, or task-scoped handoff
  • task or focus terms when a handoff pack is needed
  • staleness signal, read-only boundary, and allowed command execution

Expected outputs:

  • codegraph_refresh_plan/v1
  • codegraph_command_plan/v1
  • staleness_and_scope_report/v1
  • codegraph_summary_request/v1
  • codegraph_handoff_context/v1 when task-scoped
  • not-evidence boundary

Artifact expectations:

  • codegraph_command_plan/v1 naming omh codegraph build, summary, handoff, --write, and --json choices
  • staleness_and_scope_report/v1 separating requested refresh scope, observed command output, missing index evidence, and stale artifacts
  • omh_codegraph_summary/v1 or .omh/codegraph/codegraph.json only when the corresponding command output or write is observed
  • codegraph_handoff_context/v1 with task terms, focus files, symbols, entrypoints, warnings, and claim boundary when `omh codegra
Частые вопросы

Означает ли свежий индекс, что код правильный?

Нет. В скилле сказано, что инструменты анализа кода не являются доказательством выполнения или корректности.

Он пишет новый код?

Нет. Он готовит контекст навигации для последующего шага.

Он проверяет качество интерфейса?

Нет. Визуальное качество и фронтенд относятся к отдельным скиллам.

Подробности

Оригинальное описание автора

[omh] Outdated code index or codemap: refresh local code intelligence, summarize repo structure, and prepare task-scoped codegraph handoff context without overclaiming execution. Use when the user says: codegraph-refresh, codegraph refresh, refresh codegraph, update codegraph, codegraph stale, stale codegraph, codegraph handoff, codegraph summary.

repo: rlaope/oh-my-hermes

Популярность

Звёзды на GitHub
5.1k
Место в рейтинге
#15087
Лицензия
MIT
Обновлён
02.11.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы