docs
เอกสาร setup ของ Noyap
ติดตั้ง communication rules ให้ agent ตัวเดียว, ทุก agent ที่รองรับ, หรือเฉพาะ agent ที่ตรวจเจอจากไฟล์ใน repo. Noyap ทำให้คำตอบสั้นลง แต่ยังเก็บ warnings, project rules และภาษา dev ที่เป็นธรรมชาติ.
agents
modes
presets
npx @ppwnr88/noyap init --interactive
npx @ppwnr88/noyap init --all
npx @ppwnr88/noyap init --detected
npx @ppwnr88/noyap agents
npx @ppwnr88/noyap init --agent codex
npx @ppwnr88/noyap init --agent opencode
npx @ppwnr88/noyap init --mode thai-dev
npx @ppwnr88/noyap doctor
npx @ppwnr88/noyap doctor --all --fixconfiguration
ค่า default ใน noyap.config.json
{
"language": "auto",
"mode": "balanced",
"preserveWarnings": true,
"codeFirst": true,
"maxExplanationLines": 4,
"preserveMixedLanguage": true,
"thaiTechnicalTerms": "preserve",
"naturalThaiMode": true,
"rolePreset": "default"
}language
auto, en, th
auto follows the user's language
mode
minimal, balanced, senior, thai-dev, bilingual, hardcore, hardcore-th
Controls response density
rolePreset
default, backend, frontend, devops, sql, security, reviewer
Adds role-specific priorities
preserveWarnings
true, false
Keep important warnings visible
codeFirst
true, false
Put code or commands first when useful
maxExplanationLines
number
Soft limit for extra explanation
preserveMixedLanguage
true, false
Keep Thai/English developer style mixed
thaiTechnicalTerms
preserve, translate
Keep common dev terms in English by default
naturalThaiMode
true, false
Avoid formal translated Thai
agentsMdStrategy
merge, separate, overwrite, cancel
CLI-only AGENTS.md handling
options
Workflow ที่ใช้บ่อย
Language options
ตรวจจับ English, Thai และ mixed Thai/English อัตโนมัติ.
AGENTS.md strategy
ใช้ merge, separate, overwrite หรือ cancel สำหรับ Codex/OpenCode.
Doctor command
เช็กไฟล์ config/rules หรือใช้ --all --fix เพื่อซ่อมไฟล์ที่ขาด.
Diff and dry run
preview การเปลี่ยนแปลงด้วย init --all --dry-run หรือ diff --all.
Update and remove
refresh rules ด้วย update --all หรือ remove generated rules ด้วย remove --all.
Shell completion
สร้าง completion scripts สำหรับ zsh, bash และ fish.
Warning preservation
เก็บ warnings เรื่อง security, data-loss, migration, deploy และ breaking change.
เอกสารเต็มอยู่ที่ GitHub README.