Agent Skills: Meta

Broad project-level implementation and validation heuristics

UncategorizedID: codebuffai/codebuff/meta

Repository

CodebuffAILicense: Apache-2.0
4,407498

Install this agent skill to your local

pnpm dlx add-skill https://github.com/CodebuffAI/codebuff/tree/HEAD/.agents/skills/meta

Skill Files

Browse the full folder contents for meta.

Download Skill

Loading file tree…

.agents/skills/meta/SKILL.md

Skill Metadata

Name
meta
Description
Broad project-level implementation and validation heuristics

Meta

  • When validating CLI changes, run a non-effectful command path first (for example --help) before any command that could trigger external side effects. (from .agents/sessions/03-03-0909-add-console-log)
  • For tightly scoped edits, pair runtime smoke-checks with git diff -- <file> to verify no unintended spillover. (from .agents/sessions/03-03-0909-add-console-log)
  • From monorepo root, run workspace scripts as bun run --cwd <workspace> <script>; if Bun prints global run help, re-check flag order/command shape. (from .agents/sessions/03-03-0909-add-console-log)
  • For SDK-driven agent evaluation, persist both structured run artifacts and raw tmux capture paths so you can compare event-level behavior against what the CLI actually displayed. (from .agents/sessions/03-06-0850-cli-tester-efficiency)
  • For SDK-driven before/after comparisons, keep prompts, logging granularity, and timeout conditions fixed; otherwise event-count, cost, and duration deltas are too noisy to trust. (from .agents/sessions/03-06-0850-cli-tester-efficiency)

Debugging approach

  • When static code analysis and tracing through the codebase isn't enough to find a bug, add targeted logging to the suspected code path, reproduce the issue live (e.g. via the codebuff-local-cli tmux agent), and inspect the structured logs in debug/web.jsonl.
  • Structured log files: debug/web.jsonl (root-level, structured JSON from pino), debug/console/web.log (pretty-printed console output). The root-level .jsonl file is best for grepping specific fields.
  • Log all the key decision variables (inputs, intermediate booleans, outputs) in a single structured log line so you can see exactly why a code path was taken.
  • Clean up debug logging after the issue is found — don't leave it in.