architect
Skill1 starsChanged 3 months agoApache-2.0View on GitHub
Архитектура GenAI/LLM систем и автономных фабрик разработки: RAG, агенты, tool use, Hermes/Codex контуры, ADR, безопасность, evals, observability, cost/latency.
193 other projects use a version of this.
Adopted by
Most recently taken up by
- karanmrn/karanagentskillstheir own version, first seen Nov 29, 2026
- The-Utopia-Studio/skillstheir own version, first seen Nov 29, 2026
- karanmrn/kstacktheir own version, first seen Nov 29, 2026
- darknecrocities/SkillBuildertheir own version, first seen Nov 29, 2026
- Dimon94/skillstheir own version, first seen Nov 29, 2026
- Dimon94/dveritytheir own version, first seen Nov 29, 2026
Used with
Projects with it also use ecosystem-reference, fractal-delegation and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
naman10parikhSkillecosystem-reference
Quick-access directory of Claude Code ecosystem repos, skills, plugins, MCPs, and patterns. Use when improving the harness.
Also in 5 projects that use this
naman10parikhSkillfractal-delegation
Also in 5 projects that use this
jaydubya818Skillfigure-it-out
Use when novel or multi-phase work needs an auditable workflow and no narrower playbook fits.
Also in 66 projects that use this
shiwenbin1617Skillketchup-video
Catch the user up like /ketchup, with a short subtitled video of slides for what happened and the waiting calls as text under it. Use for /ketchup-video.
Also in 22 projects that use this
bnemaSkillsetup-pstack
Configure which Pi models pstack uses per role. Detects available provider/model specs and writes pstack's user configuration. Use for /setup-pstack, "configure pstack models", or changing pstack model choices.
Also in 33 projects that use this
eryzerzSkillmake-bot-ui
Use when building a custom UI (page, dashboard, buttons) that should wake a Grok Bot over a webhook, when the user must provide a webhook sender key, or when exposing that UI on Tailscale.
Also in 25 projects that use this
- +5 more from naman10parikh
Other versions193 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 193
- Yeachan-Heo/oh-my-claudecode★ 41ksame name
- Yeachan-Heo/oh-my-claude-sisyphus★ 41ksame name
- pascalorg/editor★ 26ksame name
- elizaOS/eliza★ 20ksame name
- backnotprop/pstack★ 5.4ksame name
- agenticnotetaking/arscontexta★ 3.5ksame name
- jsmastery-pro/skills★ 1.4ksame name
- SethGammon/Citadel★ 927same name
- nagi-studio/skills★ 706same name
- moeru-ai/xsai★ 669same name
183 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- ai-native-core-starter-kitSkill
- ai-native-proposalSkill
- document-templatesSkill
- editorial-styleSkill
- eepc-drawioSkill
- func-arch-drawioSkill
- sequential-thinkingSkill
- smd-drawioSkill
The file
We split this skill into the rules it gives an agent
1 rule. 0 are common, 0 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 170 edited versions we read keep these.
0
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 8
Document and process templates live in the document-templates skill under references/templates/.
“Common” is measured: kept by at least 6 in 10 of the 170 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Shared Platform Resources
- Document and process templates live in the
document-templatesskill underreferences/templates/. Load only the needed template file from the installed local skill. - Company systems must go through GatewayMCP. Discover routes with
gateway_search_tools; call Yonote, Tracker, Bitrix24, Telegram, Calendar, and OpenRouter audio throughgateway_call_tool. Do not call direct local MCP servers; company systems go through GatewayMCP.
Architect Skill — GenAI / LLM / RAG / Agents
Skill для архитектора, который проектирует и ревьюит системы на базе LLM: RAG, агентные контуры, tool-use, интеграции, оценка качества (evals), безопасность и эксплуатация.
Принципы (что считаем “best practice”)
- Начинай проще, усложняй только по измеримому эффекту: сначала “один вызов + RAG + примеры”, потом workflow, и только затем — автономные агенты. Основано на рекомендациях Anthropic о разделении workflows vs agents и “composable patterns” (Anthropic: Building effective agents).
- Workflow прежде агента: если можно предсказать шаги — делаем детерминированный workflow с чекпоинтами и валидациями; агент — когда шаги не предсказуемы и нужен гибкий tool-use в цикле (Anthropic: Building effective agents).
- Tool-use должен быть “пока-йоке”: хорошие схемы входов, примеры, строгая валидация, минимум неоднозначности. Для Codex — использовать strict tool use / structured outputs (Anthropic tool use docs).
- Eval-driven development: оцениваем рантайм-качество, а не “кажется норм”. Логи → датасет → метрики → регрессии → continuous evaluation (OpenAI: Evaluation best practices).
- Безопасность как часть архитектуры: угрозы prompt-injection, data exfiltration, confused deputy, токены и scopes, sandbox для инструментов. Для MCP — следовать best practices (Anthropic MCP best practices).
Канонические паттерны (что архитектор выбирает)
1) Augmented LLM
LLM + retrieval + tools + memory. Это базовый строительный блок “агентных” систем (Anthropic: Building effective agents).
2) Workflow patterns (управляемая сложность)
Из Anthropic:
- Prompt chaining (цепочка шагов + “gates”/валидации)
- Routing (классификация → специализированные промпты/модели)
- Parallelization (sectioning/voting)
- Orchestrator-workers
- Evaluator-optimizer (генератор ↔ оценщик) (Anthropic: Building effective agents)
3) Agent loop patterns
Если нужен “agent loop”, можно опираться на:
- встроенный “agent loop”, handoffs, guardrails, tracing (концептуально удобно сравнивать) (OpenAI Agents SDK).
4) RAG как слой “ground truth”
RAG — это не “фича”, а инфраструктурный слой: loading → indexing → storing → querying → evaluation (OpenAI Cookbook: Evaluate RAG).
Типовая архитектура (Python + React)
Backend (FastAPI)
- API: чат/вопросы, загрузка документов, админка.
- RAG service: ingestion pipeline, chunking, embeddings, retrieval, rerank, context assembly.
- LLM gateway: единый клиент к провайдерам, model routing (cheap/fast vs accurate), rate limiting, retries.
- Tool execution layer: whitelist инструментов, sandbox, audit-log.
- Stores:
- Postgres (в т.ч. pgvector) или отдельный vector DB (Qdrant/Weaviate) — по объёму/latency.
- Redis для кэшей (retrieval cache, response cache, session cache).
- Observability: tracing (request_id), токены/стоимость/latency, tool calls, retrieval metrics.
Frontend (React/TS)
- Streaming UI (SSE/WebSocket), статус tool-calls (“ищу”, “читаю”, “обновляю”).
- Цитирование источников (ссылки/фрагменты), “показать контекст”.
- Feedback (👍/👎 + причина) → в eval датасет.
Команды (что можно просить у скилла)
0) ADR для автономной фабрики разработки
Я архитектор фабрики разработки.
ТЗ: <текст или ссылка Yonote>
Проект/клиент: <название>
Tracker: <queue/project>
GitLab: <repo или группа>
Ограничения: <ИБ, on-prem, запреты, approvals>Выход:
- ADR в формате
document-templates/references/templates/adr.md; - решение: какие части отдать Hermes Factory, а какие оставить человеку;
- границы автономности: что фабрика может и что не может делать;
- контекстные источники: Yonote, Tracker, GitLab, runbooks, ADR, тестовые данные;
- список
Factory execution contractправил для будущих Story; - риск-реестр и quality gates;
- план декомпозиции в Story для
factory-tasks.
Правила:
- сначала отделить behavior specification от implementation context;
- не смешивать архитектурное решение и backlog;
- для каждого внешнего сервиса указать GatewayMCP route или route gap;
- для опасных действий указать approval boundary;
- если eval или тестовый контур отсутствует, ADR должен явно требовать его до расширения автономности.
1) Спроектируй архитектуру GenAI-системы
Я архитектор. Спроектируй архитектуру GenAI-системы.
Цель: [что делаем]
Данные: [где живут: файлы/БД/Confluence/Google Drive/…]
Интеграции: [MCP/CRM/Tracker/…]
Ограничения: [SLA по latency, бюджет, безопасность, on-prem/облако]Выход:
- high-level схема компонентов
- варианты (минимум 2) и trade-offs
- риск‑реестр (топ‑5)
- план внедрения (MVP → hardening)
- список ADR, которые нужно принять
2) Выбор подхода: “prompt-only vs RAG vs fine-tune vs agents”
Выбери подход для задачи.
Описание: ...
Точность/объяснимость: ...
Данные: ...
Требования к безопасности: ...Выход: решение + критерии “когда эволюционировать” (что измерить, чтобы перейти на следующий уровень сложности).
3) Спроектируй RAG (индексация, retrieval, rerank, цитирования)
Спроектируй RAG-пайплайн.
Корпус: [типы документов]
Языки: [ru/en]
Обновления: [частота]
SLA: [latency]Выход:
- chunking стратегия (структурная/семантическая)
- metadata (project, access_level, timestamps, source_url)
- retrieval: dense + (опционально) lexical hybrid, top_k, rerank
- контекстная сборка: правила, лимиты, anti-hallucination
- формат citations и UX
- план evaluation (retrieval + answer)
4) Спроектируй agent/tool-use контур
Спроектируй agent loop и инструменты.
Юзкейсы: ...
Инструменты: [список систем]
Какие действия разрешены: [read-only / write / финансовые операции]Выход:
- workflow vs agent: где граница
- tool taxonomy (read/write), scopes, approval gates
- strict schemas + примеры вызовов (tool docstrings)
- stopping conditions (max steps, timeouts)
- защита от prompt injection и “confused deputy”
5) Plan: evals и quality gates
Сделай план evals.
Сценарии: ...
Критерии успеха: ...Выход (по OpenAI: Evaluation best practices):
- что оцениваем (instruction following, tool selection, correctness, safety)
- датасет: источники (логи/эксперты/синтетика) + покрытие edge cases
- метрики + LLM-as-judge рубрики + human calibration
- continuous evaluation: когда запускать (каждый релиз/каждый prompt change)
6) Security review (GenAI)
Сделай security review архитектуры GenAI.
Компоненты: ...
Данные: ...
Инструменты: ...Выход:
- угрозы: prompt injection, data exfiltration, SSRF через fetch/tools, token leakage
- меры: scopes, allowlists, sandbox, redaction, audit logs
- рекомендации по MCP server hardening (Anthropic MCP best practices)
Артефакты (что фиксируем в проекте)
- ADR: решения по RAG/agents/vector store/security/evals (используем
document-templates/references/templates/adr.md). - Factory ADR: решение по автономному контуру разработки, границам Hermes/Codex, доступам GatewayMCP, реестру проектов и quality gates.
- Factory contracts: правила, которые затем попадают в Story через
factory-tasks. - Архитектурная схема: C4 (Context/Container) или упрощённая компонентная.
- Eval scorecard: метрики + пороги + регрессионные наборы.
- Runbook: как диагностировать деградации retrieval/качества/стоимости.
<!-- gateway-skill-telemetry:v1 -->Телеметрия
Считай содержательным запуском случай, когда этот skill выбран для выполнения задачи, а не только открыт как справка.
- Если GatewayMCP предоставляет инструменты телеметрии, в начале вызови
gateway_telemetry_skill_started. Передай фактическийagent, имя каталога какskill_id, известныеskill_pack,skill_version,projectи безопасный идентификатор клиента. Неизвестные значения оставь пустыми. - Сохрани
correlation_idиз ответа. При успехе вызовиgateway_telemetry_skill_completedс тем жеcorrelation_id, длительностью, использованными MCP-маршрутами и недостающими scope. - При ошибке после успешного события
startedвызовиgateway_telemetry_skill_failedс тем жеcorrelation_idи только классом ошибки вerror_class. - В
metadata_jsonпередавай только безопасные признаки: тип операции, итоговый статус и числовые счётчики. Не передавай промпты, документы, тексты сообщений и ответов, персональные, клиентские, кадровые или финансовые данные, токены, cookies, ключи, пароли и stack trace. - Недоступность телеметрии не должна блокировать основную работу. Не повторяй неуспешную телеметрическую запись больше одного раза.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

