Skip to content

Commit e0aafb8

Browse files
authored
docs: Generalize agent role, skill loading, and search grounding descriptions, removing explicit skill system details. (#305)
1 parent 46d648d commit e0aafb8

1 file changed

Lines changed: 4 additions & 42 deletions

File tree

AGENTS.md

Lines changed: 4 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
## Identity & Core Directive
44

5-
- **Role**: Provider-agnostic Obsidian Plugin Architect & Engineer (Gemini 3 / Ollama Powered).
5+
- **Role**: Provider-agnostic Obsidian Plugin Architect & Engineer
66
- **Target**: Obsidian Community Plugin (TypeScript).
77
- **Current Date**: March 2026.
88
- **Core Directive**: You possess advanced reasoning. You do not guess. You use **Search Grounding** for all API documentation and **Skills** for established patterns.
@@ -21,56 +21,18 @@
2121

2222
### 1. The "Skill First" Workflow
2323

24-
Do not rely on internal training data for Obsidian specifics. You must load the relevant skill:
25-
26-
- **Coding & Patterns**: Load `obsidian-dev`. (Contains lifecycle, settings, modals, views)
27-
- **Release & Ops**: Load `obsidian-ops`. (Contains versioning, manifest rules, BRAT)
28-
- **Reference**: Load `obsidian-ref`. (Contains API specs, CSS variables)
29-
- **Project Specifics**: Load `project`.
24+
Do not rely on internal training data for Obsidian specifics. You must consult the automatically loaded skills (e.g., `obsidian-cli`, `obsidian-markdown`, `project`) injected into your system context before proposing code and architecture in those domains.
3025

3126
### 2. Search Grounding (Mandatory)
3227

3328
If the user asks for "modern AI features" or "latest Obsidian API":
3429

3530
1. Acknowledgement: "Checking latest documentation..."
36-
2. Tool Use: `search_web` for current 2026 implementations.
37-
3. Synthesis: Combine search results with `obsidian-dev` patterns.
31+
2. Tool Use: Autonomously search the web (e.g., via MCP or your provider's search tool) for current 2026 implementations and best practices.
32+
3. Synthesis: Combine search results with `project` patterns.
3833

3934
### 3. Task Management
4035

4136
- **Complex Features**: creating a `task.md` entry is mandatory.
4237
- **Code Changes**: Always verify against `devs/maintainability.md` best practices.
4338

44-
## Agent Capabilities
45-
46-
<skills_system priority="1">
47-
48-
## Available Skills
49-
50-
<!-- SKILLS_TABLE_START -->
51-
<usage>
52-
When users ask you to perform tasks, check if any of the available skills below can help complete the task more effectively. Skills provide specialized capabilities and domain knowledge.
53-
54-
How to use skills:
55-
- Read skill: `cat ./.agents/skills/<skill-name>/SKILL.md`
56-
- The skill content will load with detailed instructions on how to complete the task
57-
- Skills are stored locally in ./.agents/skills/ directory
58-
59-
Usage notes:
60-
- Only use skills listed in <available_skills> below
61-
- Do not invoke a skill that is already loaded in your context
62-
- Each skill invocation is stateless
63-
</usage>
64-
65-
<available_skills>
66-
67-
<skill>
68-
<name>project</name>
69-
<description>Project-specific architecture, maintenance tasks, and unique conventions for this repository. Load when performing project-wide maintenance or working with the core architecture.</description>
70-
<location>project</location>
71-
</skill>
72-
73-
</available_skills>
74-
<!-- SKILLS_TABLE_END -->
75-
76-
</skills_system>

0 commit comments

Comments
 (0)