Користувальницькькі налаштування

Налаштування сайту


programming:ai

Це стара версія документу!


ШІ-помічники

Для Amazon Kiro

Експериментальні можливості

Один раз на компі:

kiro-cli settings chat.enableTangentMode true
kiro-cli settings chat.enableContextUsageIndicator true
kiro-cli settings chat.enableTodoList true

Початкове налаштування в новому проєкті

Це робиться один раз, перед першим використанням ШІ-помічника.

1) Налаштувати language server (необов'язково)

Якщо це Terraform/Terragrunt, то пропустити. І так норм.

Якщо це популярна мова програмування, то виконати (наприклад Python, Ruby, Java, Kotlin etc), то запустити

/code init

це створить .kiro/settings/lsp.json

Language server потрібно встановити. Крім того, вони вимагають певних файлів, щоб визначити корінь проєкту

2) Згенерувати документацію для ШІ (codebase-summary SOP):

Виконати промпт в Kiro або іншому ШІ-помічнику:

Analyze this project and create full documentation. AGENTS.md in the project root should be a concise
summary (max 200 lines) covering project overview, architecture, conventions, and key decisions. In 
.kiro/summary/ create detailed documentation files with an index.md that links to all docs. The 
detailed docs should cover architecture, conventions, testing, deployment, and any other relevant 
aspects found in the codebase. Verify all docs are consistent and complete.

це створить файл AGENTS.md в корні проєкту, а також каталог .agents/summary з описом проєкту. Також цього можна добитися за допомогою “/code overview”, з додатковими питаннями.

На початку нової таски

Запит такий:

Read AGENTS.md. If you need more details, check .kiro/summary/ (start with index.md for navigation). 
Help me with [task].

В кінці робочого дня зберігати поточний діалог за допомогою

/chat save <task name or number>

Оновлення

Після великих змін у проєкті, або просто якщо довго не чіпав її та інші накопичили зміни, треба оновити документацію:

Quick Update

Review the current .kiro/summary/ documentation and AGENTS.md against the codebase. Update any docs that 
are outdated or missing new information.

This is the most common one — I'll diff what's documented vs what's actually in the code and patch the gaps.

Targeted Update

If you know what changed:

I added a new authentication service in services/auth/ and switched from REST to GraphQL. Update 
.kiro/summary/ docs and AGENTS.md to reflect these changes.

Faster because Kiro don't have to scan everything — it focus on what you tell me changed.

Full Rebuild

If the project has changed drastically:

Regenerate all .kiro/summary documentation and AGENTS.md from scratch. Treat the codebase as the source 
of truth.

Nuclear option — rewrites everything.

Consistency Check Only

If you just want to verify without changing anything:

Review .kiro/summary docs and AGENTS.md against the codebase. Report any inconsistencies, outdated info, 
or missing coverage — but don't change anything yet.

This gives you a report first so you can decide what to update.

Посилання

programming/ai.1774973699.txt.gz · Востаннє змінено: 2026/03/31 19:14 повз charon