Skip to main content
Link
Menu
Expand
(external link)
Document
Search
Copy
Copied
Shire - AI coding agent language
Home
Quick Start
Shire Language
Shire Language Introduction
Shire Command & Template
Shire Config (Hobbit Hole)
Shire Builtin Variable
Shire Custom Variable
Shire Toolchain Variable
Shire Toolchain Function
Shire Foreign Function
Condition Visible
Shire Environment
Lifecycle
onStreaming (TBC)
beforeStreaming
onStreamingDone
afterStreaming
ShireQL
ShireQL Basic
ShireQL PSI Query
ShireQL Git Query
ShireQL Database Query (TBC)
ShireQL Dependency Query (TBC)
Data Privacy
Pipeline 函数
AI 数据安全保护函数
Workflow
Response Routing - afterStreaming
Remote AI Agent
Custom AI Agent
Shire Workflow 示例
Cloud
Remote AI Agent
Http API Tool
Development
Design Principles
Language Specification
IDE Note
Shire Examples
AI AutoTest
AI Commit Message
Code Refactoring
Code Comments
CLI Copilot
Semantic Search
On Paste modify
Batch Execute
Shire Scene
Secondary Research
AI 增强技术文档写作
FAQ
View in on GitHub
Shire 语法由三部分组成:
Hobbit Hole:用于定义数据结构。
Pattern-Action:用于定义数据处理逻辑。
Condition Visible:用于定义可见性条件。
Output:用于定义输出。
Variable:用于定义过程变量。
Template:用于定义 LLM 模板。
Shire Template:用于定义代码生成模板。
Life Cycle:用于定义生命周期。
Table of contents
Shire Language Introduction
Shire Command & Template
Shire Config (Hobbit Hole)
Shire Builtin Variable
Shire Custom Variable
Shire Toolchain Variable
Shire Toolchain Function
Shire Foreign Function
Condition Visible
Shire Environment