AGENT SKILL

tree-sitter-context-indexing

暂无简介

License 许可
MIT
最近更新
2026-10-16
Stars
★ 0
Forks
0

02 资源文件 5

03 SKILL.md 正文

Tree-Sitter Context Indexing

Purpose

Parse and extract syntax nodes using universal Tree-Sitter grammars.

Use when

  • Active Goal or Task explicitly requires tree-sitter context indexing operations.
  • Operating in mode(s): research.

Do not use when

  • Task is out of scope or unrelated to tree-sitter context indexing.
  • Bounded token budget or capability policy denies required operations.

Required context

  • Task requirements
  • System architecture
  • Relevant source files

Procedure

  1. Initialize minimal context for tree-sitter context indexing.
  2. Execute scoped operations adhering to protocol standards.
  3. Verify correctness with automated test gates.
  4. Record task intelligence and evidence.
  5. Garbage-collect transient state.

Decision rules

  • Always prefer smallest sufficient changeset over broad refactoring.
  • Preserve existing public contracts and architecture invariants.
  • Never weaken locked Goal acceptance criteria.

Evidence required

  • test

Output contract

  • Implementation / verification output
  • Evidence record

Stop conditions

  • Task acceptance criteria satisfied with evidence
  • Token budget exhausted
  • Blocked on external dependency

Escalation rules

  • Escalate to lead architect or human if locked Goal criteria cannot be met.
  • Escalate immediately upon discovering unexpected security vulnerabilities or data loss risks.

04 同仓库更多 Skills