К основному содержанию
скилл CX Codex

external-resource-context — скилл для Claude Code

Скилл external-resource-context фиксирует пути и методы доступа к внешним схемам API, макетам, IaC и хранилищам секретов. Помогает агенту работать с ресурсами вне репозитория.

MIT ★ 720 обновлён 2026-10-29

Установить в Claude Code · Через Skills CLI (Vercel) Все способы и платформы ↓
npx skills add shinpr/claude-code-workflows --skill external-resource-context -a claude-code
Открыть на GitHub

Что делает external-resource-context

Скилл вводит двухуровневую структуру для описания внешних зависимостей. На уровне проекта создаётся файл docs/project-context/external-resources.md, где хранятся постоянные способы доступа: ссылки, имена MCP-серверов, пути к файлам и команды. Второй уровень привязан к конкретной задаче: в спецификациях интерфейса или дизайне в разделе ## External Resources Used указываются только точечные идентификаторы вроде node id в дизайнере или пути эндпоинта.

Перед тем как сканировать код или опрашивать разработчика, агент проверяет docs/project-context/external-resources.md и спецификацию нужной фичи. Если ресурс недоступен или файл отсутствует, агент опирается на данные репозитория и фиксирует ограничение в итоговом документе.

Какие задачи решает

  • зафиксировать единые пути к схемам OpenAPI, Protobuf и GraphQL
  • сохранить адреса макетов и дизайн-системы для реализации UI
  • задокументировать доступ к IaC, хранилищам секретов и миграциям
  • избежать повторных поисков внешних данных при планировании задач

Примеры запросов агенту

  • Зафиксируй схему OpenAPI и хранилище секретов в контексте внешних ресурсов
  • Добавь ссылку на дизайн-систему и макет фичи в external resources
  • Проверь внешние ресурсы перед составлением дизайн-документа

Как установить external-resource-context

1Через Skills CLI (Vercel)

npx skills add shinpr/claude-code-workflows --skill external-resource-context -a claude-code

2Вручную: положить файлы

~/.claude/skills/external-resource-context/SKILL.md

Папка скилла целиком; для одного проекта — .claude/skills/external-resource-context/

По шагам, с командами для каждой платформы: Как установить скилл в Claude Code: пять способов

Вопросы об external-resource-context

Как установить external-resource-context в Claude Code?

Выполните команду npx skills add shinpr/claude-code-workflows --skill external-resource-context -a claude-code.

Где сохраняются данные об источниках?

Общие сведения о проекте пишутся в docs/project-context/external-resources.md. Идентификаторы конкретных фич вносятся в блок ## External Resources Used внутри спецификаций.

Что произойдёт, если внешний ресурс недоступен?

Агент продолжит работу на основе файлов репозитория и отметит ограничение в выходном документе.

Исходный текст

SKILL.md · MIT
---
name: external-resource-context
description: Records where resources outside the repository live (design source, design system, API schema, IaC source, secret store) and how design, implementation, and verification reach them. Use when work depends on an external resource, or when the user mentions design source, design system, API schema, IaC source, secret store, or canonical source.
---

# External Resource Context

## Purpose

Repository evidence does not contain every external resource surrounding a system. This skill captures, in a deterministic location, the **access methods** to resources outside the repository so downstream work (design, planning, implementation, review) can reach them without repeatedly rediscovering access details.

Resources covered: design origin (where the canonical visual specification lives), design system (component library and tokens), guidelines (usage docs, accessibility rules), visual verification environment (how to confirm rendering), database schema source, migration history, secret store location, API schema source (OpenAPI / proto / GraphQL SDL), mock environment, IaC source, environment configuration.

## Storage Locations (Two-Tier)

| Tier | Location | Holds | Update Frequency |
|------|----------|-------|------------------|
| Project | `docs/project-context/external-resources.md` | Environment-stable facts: which resources exist for this project and how to access them (URL, MCP name, file path, command) | Rare — only when the project's environment changes |
| Feature | `## External Resources Used` section inside the relevant UI Spec or Design Doc | The subset of project-tier resources actually used by this feature, plus feature-specific identifiers (e.g., a specific node id within the design tool, a specific endpoint path) | Per feature |

### Single Source of Truth Rule

The project tier owns environment facts. Feature-tier sections list only feature-specific identifiers (node id within the design source, specific endpoint path within the API, specific IaC module name) and reference project-tier entries by label; URLs, MCP names, and access commands remain in the project-tier file. When the environment changes, only the project-tier file is updated.

Example feature-tier entry uses the table format defined in `references/template.md`: a row with the project-tier label in the first column and the feature-specific identifier in the second column.

## Reference Protocol (For Downstream Consumers)

Before investigating the repository for an external fact, check whether it is already recorded:

1. Read `docs/project-context/external-resources.md` (if present) to learn what is available and how to access it.
2. Read the target UI Spec or Design Doc's `## External Resources Used` section for feature-specific identifiers.
3. Use the access method declared in the project tier (e.g., the named MCP, the URL, the file path) to fetch the actual resource content.

When the file is absent or the resource is unreachable, continue from governing and repository evidence. Each consumer records the limitation in its applicable output.

## Capturing and Updating Records

Capture only resources needed by the current decision. Reuse supplied access details and repository records, verify them within current authority, and ask only for missing information that prevents that decision. Follow [references/hearing.md](references/hearing.md) for evidence, questions and storage.

## Output Format

Use [references/template.md](references/template.md) for a compact project record. Preserve existing labels referenced by consumers; include only relevant entries with their access details and source evidence.

For feature-tier sections inside UI Spec or Design Doc, the heading text "External Resources Used" is fixed; the heading level matches the parent document's natural structure (h2 in UI Spec where it is a sibling of other top-level sections, h3 in Design Doc where it sits under Background and Context).

## References

- [references/hearing.md](references/hearing.md) — Decision-specific capture and storage
- [references/frontend.md](references/frontend.md) — Frontend domain axes
- [references/backend.md](references/backend.md) — Backend domain axes
- [references/api.md](references/api.md) — API contract domain axes
- [references/infra.md](references/infra.md) — Infrastructure domain axes
- [references/template.md](references/template.md) — Project-tier and feature-tier structure templates

© shinpr · MIT · shinpr/claude-code-workflows

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

Все скиллы по теме «Настройка агента: память, контекст, субагенты» →
external-context Yeachan-Heo Скилл external-context для Claude Code разбивает запрос на аспекты и запускает агентов для параллельного поиска в документации и веб. Собирает контекст по теме или сравнивает подходы. CX Codex +1 861установок context-network jwynia Скилл context-network помогает выстроить и поддерживать сеть контекста проекта, когда документация разрознена или агент забывает детали между сессиями. CX Codex +1 449установок context-builder mvschwarz Скилл context-builder собирает контекст по фиче из заметок встреч, конкурентного анализа и регуляторных требований. Создаёт файл background.md и обновляет общую базу знаний. CX Codex +1 ★ 8 928звёзд репо establishing-project-context GanyuanRan Скилл establishing-project-context для Claude Code ведёт словарь доменных терминов проекта в CONTEXT.md. Обновляет его при появлении нового понятия, переименовании или конфликте терминов. CX Codex +1 ★ 1 450звёзд репо research-external parcadei Скилл research-external для Claude Code, Codex, Cursor, Copilot и Gemini CLI, который ищет информацию во внешних источниках: документации библиотек, веб-страницах и API. CX Codex +1 505установок bmad-project-context bmad-code-org Скилл bmad-project-context помогает составить, обновить или проверить блок инструкций в AGENTS.md для кодовых агентов. Фиксирует ошибки модели и выносит правила в файл проекта. CX Codex +1 17 200установок

Из того же набора43

Весь набор →
ui-analyzer Субагент ui-analyzer собирает факты о интерфейсе из кодовой базы и записанных внешних ресурсов. Нужен перед подготовкой UI Spec или Design Doc. CX Codex ★ 720звёзд репо recipe-quality-profile Скилл recipe-quality-profile предлагает политику качества кода для проекта и сохраняет её в docs/project-context/quality.yaml. Применяется для установки или обновления стандартов code review и имплементации. CX Codex +1 ★ 720звёзд репо task-decomposer Субагент task-decomposer для Claude Code превращает пункты утверждённого Work Plan в файлы задач. Создаёт отдельный файл для каждой задачи. CX Codex ★ 720звёзд репо acceptance-test-generator Субагент acceptance-test-generator для Claude Code создаёт каркасы интеграционных и E2E-тестов на основе критериев приёмки из Design Doc. Запускается при проектировании тестов или по фразе test skeleton. CX Codex ★ 720звёзд репо requirement-analyzer Субагент requirement-analyzer собирает границы изменений и факторы затрат в кодовой базе для подтверждения требований перед разработкой. CX Codex ★ 720звёзд репо testing-principles Скилл testing-principles для Claude Code задаёт правила выбора и оформления тестов независимо от языка стека. Включается при написании новых тестов, проверке их качества и выборе между unit-, integration- и E2E-уровнями. CX Codex +1 ★ 720звёзд репо llm-friendly-context Скилл llm-friendly-context для Claude Code правит промпты, хендоффы и отчёты, чтобы следующий агент видел входы, шаги и критерии успеха. CX Codex +1 ★ 720звёзд репо requirement-convergence Скилл requirement-convergence для Claude Code отделяет целевой результат изменений от предложенных требований и фиксирует исключения пользователя. Включается на этапе сбора требований до проектирования архитектуры. CX Codex +1 ★ 720звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой