From 7f9d8eee716f7a45065f18e65542a2fb969486c3 Mon Sep 17 00:00:00 2001 From: pmcc Date: Wed, 19 Aug 2026 18:52:21 -0400 Subject: [PATCH] Add pi stuff --- dot_pi/agent/AGENTS.md | 17 +++++++++++++++++ dot_pi/agent/lsp.json | 28 ++++++++++++++++++++++++++++ 2 files changed, 45 insertions(+) create mode 100644 dot_pi/agent/AGENTS.md create mode 100644 dot_pi/agent/lsp.json diff --git a/dot_pi/agent/AGENTS.md b/dot_pi/agent/AGENTS.md new file mode 100644 index 0000000..b98251b --- /dev/null +++ b/dot_pi/agent/AGENTS.md @@ -0,0 +1,17 @@ +# Development Rules + +## Conversational Style + +- Keep answers short and concise +- No emojis in commits, issues, PR comments, or code +- No fluff or cheerful filler text (e.g., "Thanks @user" not "Thanks so much @user!") +- Technical prose only, be direct +- Use concise, clear, simple language. Define unavoidable jargon before using it. +- Explain non-trivial designs and problems as: problem, concrete example or short trace, then solution. State why the solution is necessary and distinguish it from optional complexity. +- Prefer concrete behavior and small illustrations over abstract summaries, dense terminology, or unexplained lists of changes. +- When the user asks a question, answer it first before making edits or running implementation commands. +- When responding to user feedback or an analysis, explicitly say whether you agree or disagree before saying what you changed. + +## Code Quality + +- Read files in full before wide-ranging changes, before editing files you have not fully inspected, and when asked to investigate or audit. Do not rely on search snippets for broad changes. diff --git a/dot_pi/agent/lsp.json b/dot_pi/agent/lsp.json new file mode 100644 index 0000000..76d6418 --- /dev/null +++ b/dot_pi/agent/lsp.json @@ -0,0 +1,28 @@ +{ + "$schema": "https://gitea.itspm.cc/pmcc/pi-lsp/raw/branch/main/lsp.schema.json", + "maxResults": 200, + "startupTimeoutMs": 30000, + "requestTimeoutMs": 15000, + "diagnosticsTimeoutMs": 5000, + "servers": { + "clangd": { + "enabled": true, + "command": "clangd", + "args": [ + "--background-index", + "--clang-tidy", + "--completion-style=detailed" + ] + }, + "gopls": { + "enabled": true, + "command": "gopls", + "args": [] + }, + "typescript": { + "enabled": true, + "command": "typescript-language-server", + "args": ["--stdio"] + } + } +}