architect
Skill1 starsChanged 3 months agoApache-2.0View on GitHub
Архитектура GenAI/LLM систем и автономных фабрик разработки: RAG, агенты, tool use, Hermes/Codex контуры, ADR, безопасность, evals, observability, cost/latency.
95 other projects use a version of this.
Adopted by
Most recently taken up by
- PickleBoxer/pstacktheir own version, first seen Oct 6, 2026
- uzairansaruzi/p3-stacktheir own version, first seen Oct 5, 2026
- Integralist/agent-skillstheir own version, first seen Oct 4, 2026
- jonmumm/skillstheir own version, first seen Oct 4, 2026
- alonbaron/claude-skillstheir own version, first seen Oct 4, 2026
- backnotprop/pstacktheir own version, first seen Oct 4, 2026
Used with
Projects with it also use figure-it-out, setup-pstack 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.
finograficSkillfigure-it-out
Design an auditable playbook when no narrower one fits: a large migration, an ambitious multi-part change, or work a human reviews after stepping away. Scales rigor to the task, runs a hypothesis loop, and logs decisions via show-me-your-work. Use for /figure-it-out, 'figure it out', a large migration, or when no narrower playbook applies.
Also in 22 projects that use this
shishivSkillsetup-pstack
Configure pstack delegation against the active Pi host. Use for /skill:setup-pstack, "configure pstack models", or checking delegation readiness.
Also in 15 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 8 projects that use this
jtarorehSkillPoteto Mode
poteto's agent style for concise, detailed responses, deliberate subagents, unslopped prose, simple code, and verified work. Use for poteto, /poteto-mode, or requests to work in this style.
Also in 5 projects that use this
TheOnlyFusionCubeSkillprinciple-attack-the-premise
Inventory who actually owns or exhibits the imbalance, then challenge the shared premise before writing another patch. Use when two or more fixes that share one premise have failed the same gate.
Also in 11 projects that use this
TheOnlyFusionCubeSkillprinciple-test-behavior-not-implementation
Call the system the way its consumer does and assert meaningful observable output; avoid mocks or assertions that only mirror internal calls. Use when when writing or evaluating tests.
Also in 11 projects that use this
Other versions95 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 95
- agenticnotetaking/arscontexta★ 3.5ksame name
- jsmastery-pro/skills★ 1.4ksame name
- backnotprop/pstack★ 991same name
- SethGammon/Citadel★ 922same name
- Hainrixz/the-architect★ 528same name
- atelier-fashion/adlc-toolkit★ 171same name
- uzairansaruzi/p3-stack★ 129same name
- dralgorhythm/claude-agentic-framework★ 124same name
- longbkit/clisbot★ 115same name
- javiarmesto/ALDC-AL-Development-Collection★ 108same name
85 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 88 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 88 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.

