Final. Deploy ready
This commit is contained in:
parent
f3dc03cffc
commit
bae42507e4
29
AGENTS.md
Normal file
29
AGENTS.md
Normal file
@ -0,0 +1,29 @@
|
||||
# Глобальные инструкции проекта
|
||||
|
||||
## Язык общения
|
||||
- ВСЕГДА отвечай на русском языке.
|
||||
- Код, комментарии, коммиты, техническая документация — на английском (стандарт).
|
||||
- Объяснения, архитектурные решения, анализ, рекомендации — на русском.
|
||||
- Если пользователь пишет на другом языке — отвечай на том же языке.
|
||||
|
||||
## Оптимизация DeepSeek v4 Flash
|
||||
- Модель: `opencode/deepseek-v4-flash-free`
|
||||
- DeepSeek v4 Flash оптимизирован для быстрых инференсов с большим контекстом.
|
||||
- Для сложных задач используй декомпозицию: разбивай на подзадачи, выполняй последовательно.
|
||||
- Для работы с файлами: предпочитай пакетные операции (множественные чтения/записи) вместо последовательных вызовов.
|
||||
- Для поиска по коду: используй glob/grep с точными паттернами, избегай избыточного сканирования.
|
||||
- При работе с большими проектами — используй подзадачи (Task/Explore) для параллельного исследования.
|
||||
- tool_output лимиты увеличены для работы с большими результатами (max_lines: 300, max_bytes: 10240).
|
||||
- compaction включён, tail_turns: 20 — удержание контекста в длинных сессиях.
|
||||
- MCP таймаут: 60s (для работы с медленными внешними сервисами).
|
||||
|
||||
## Профиль разработчика
|
||||
- WP-Architect — WordPress full-stack architect.
|
||||
- Специализация: теминг, SEO, производительность, маркетинг.
|
||||
- Доступно >80 скиллов: SEO/AEO, CRO, UI/UX, CI/CD, аналитика, безопасность.
|
||||
|
||||
## Принципы работы
|
||||
- Используй скиллы при каждой возможности (даже 1% совпадения).
|
||||
- Caveman-режим активируется пользователем (/caveman).
|
||||
- Коммиты и PR — на нормальном английском.
|
||||
- Сообщай о проблемах безопасности сразу, без caveman.
|
||||
33
opencode.json
Normal file
33
opencode.json
Normal file
@ -0,0 +1,33 @@
|
||||
{
|
||||
"$schema": "https://opencode.ai/config.json",
|
||||
"model": "opencode/deepseek-v4-flash-free",
|
||||
|
||||
"instructions": ["AGENTS.md"],
|
||||
|
||||
"default_agent": "wp-architect",
|
||||
|
||||
"plugin": [
|
||||
"file:///home/letoline/.config/opencode/plugins/caveman/plugin.js",
|
||||
"file:///home/letoline/.config/opencode/plugins/claude-mem.js",
|
||||
"@zenobius/opencode-skillful"
|
||||
],
|
||||
|
||||
"command": {
|
||||
"wp-audit": { "template": "short" },
|
||||
"wp-seo": { "template": "short" },
|
||||
"wp-content": { "template": "short" },
|
||||
"wp-speed": { "template": "short" },
|
||||
"design-persona": { "template": "short" },
|
||||
"design-research": { "template": "short" },
|
||||
"critique": { "template": "short" },
|
||||
"gsd": { "template": "short" },
|
||||
"caveman": { "template": "short" },
|
||||
"caveman-commit": { "template": "short" },
|
||||
"caveman-review": { "template": "short" },
|
||||
"design-screen": { "template": "short" },
|
||||
"design-system": { "template": "short" },
|
||||
"ux-audit": { "template": "short" },
|
||||
"prototype": { "template": "short" },
|
||||
"school": { "template": "short" }
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -254,57 +254,9 @@ $metrics = [
|
||||
</section>
|
||||
<style>
|
||||
@media (max-width: 768px) {
|
||||
.infograph__grid {
|
||||
grid-template-columns: 1fr 1fr !important;
|
||||
gap: 15px !important;
|
||||
}
|
||||
.infograph__card {
|
||||
display: flex !important;
|
||||
justify-content: center !important;
|
||||
align-items: center !important;
|
||||
padding: 25px 10px !important;
|
||||
text-align: left;
|
||||
border-radius: 16px;
|
||||
box-shadow: 0 4px 24px rgba(0,0,0,0.08);
|
||||
}
|
||||
.infograph__card::before {
|
||||
display: none;
|
||||
}
|
||||
.infograph__card-icon {
|
||||
width: 60px !important;
|
||||
height: 60px !important;
|
||||
flex: 0 0 60px !important;
|
||||
border-radius: 50%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
background-color: #f8f9fa;
|
||||
}
|
||||
.infograph__card-icon img {
|
||||
max-width: 28px;
|
||||
max-height: 28px;
|
||||
width: auto;
|
||||
height: auto;
|
||||
}
|
||||
.infograph__card-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
margin-left: 14px;
|
||||
}
|
||||
.infograph__stat {
|
||||
font-size: 1.25rem !important;
|
||||
font-weight: 900;
|
||||
line-height: 1;
|
||||
white-space: nowrap;
|
||||
margin: 0;
|
||||
}
|
||||
.infograph__label {
|
||||
font-size: 0.85rem !important;
|
||||
margin-top: 3px;
|
||||
color: #666;
|
||||
line-height: 1.2;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
<section class="section-bg infograph" data-bg="white">
|
||||
|
||||
Loading…
Reference in New Issue
Block a user