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

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


programming:ai

Розбіжності

Тут показані розбіжності між вибраною ревізією та поточною версією сторінки.

Посилання на цей список змін

Наступна ревізія
Попередня ревізія
programming:ai [2026/03/11 21:26]
charon створено
programming:ai [2026/04/01 13:22] (поточний)
charon
Рядок 1: Рядок 1:
 ====== ШІ-помічники ====== ====== ШІ-помічники ======
 Для Amazon Kiro Для Amazon Kiro
 +
 +===== Експериментальні можливості =====
 +Один раз на компі:
 +  kiro-cli settings chat.enableTangentMode true
 +  kiro-cli settings chat.enableContextUsageIndicator true
 +  kiro-cli settings chat.enableTodoList true
 +
 ===== Початкове налаштування в новому проєкті ===== ===== Початкове налаштування в новому проєкті =====
 Це робиться один раз, перед першим використанням ШІ-помічника. Це робиться один раз, перед першим використанням ШІ-помічника.
Рядок 8: Рядок 15:
 Якщо це Terraform/Terragrunt, то пропустити. І так норм. Якщо це Terraform/Terragrunt, то пропустити. І так норм.
  
-Якщо це популярна мова програмування, то виконати (наприклад Python, Ruby, Java, Kotlin etc), то запустити "/code init" (це створить //.kiro/settings/lsp.json//)+Якщо це популярна мова програмування (наприклад Python, Ruby, Java, Kotlin etc), то запустити 
 +  /code init 
 +це створить //.kiro/settings/lsp.json// 
 +<WRAP center round info 70%> 
 +Language server потрібно встановити. Крім того, вони вимагають певних файлів, щоб визначити корінь проєкту 
 +</WRAP> 
 + 
 +2Згенерувати документацію для ШІ: 
 + 
 +Виконати промпт в Kiro або іншому ШІ-помічнику: 
 +<code> 
 +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. 
 +</code> 
 + 
 +це створить файл //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 ==== 
 +<file>Review the current .kiro/summary/ documentation and AGENTS.md against the codebase. Update any docs that  
 +are outdated or missing new information.</file> 
 + 
 +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: 
 + 
 +<file>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.</file> 
 + 
 +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: 
 + 
 +<file>Regenerate all .kiro/summary documentation and AGENTS.md from scratch. Treat the codebase as the source  
 +of truth.</file>
  
-2) codebase-summary SOP +Nuclear option — rewrites everything.
-Run prompt in Kiro: "Run the codebase-summary SOP with default settings (output to .agents/summary, create AGENTS.md, check consistency and completeness)" +
-this will create AGENTS.md file and .agents/summary directory with project description. This is what "/code overview" does.+
  
-===== When starting new task ===== +==== Consistency Check Only ==== 
-Run prompt: +If you just want to verify without changing anything:
-  Read AGENTS.md. If you need more details, check .agents/summary/ (start with index.md for navigation). Help me with [task].+
  
-===== Update ===== +<file>Review .kiro/summary docs and AGENTS.md against the codebase. Report any inconsistenciesoutdated info,  
-After big changes re-run prompt: +or missing coverage — but don't change anything yet.</file>
-  "Run the codebase-summary SOP with default settings (output to .agents/summary, create AGENTS.md, check consistency and completeness)"+
  
 +This gives you a report first so you can decide what to update.
  
 +===== Посилання =====
 +  * [[https://www.youtube.com/watch?v=TZ-ilGRnN1w|Agent Skills: The Complete Guide]]
 +  * [[https://kiro.dev/docs/|Amazon Kiro documentation]]
programming/ai.1773257192.txt.gz · Востаннє змінено: 2026/03/11 21:26 повз charon