Skip to content

Commit 63c44f7

Browse files
groeimetaiclaude
andcommitted
fix(agile): remove explicit tool names from agents template
Tool names must never be hardcoded in instruction files — all tools must be discovered via tool_search first per the lazy-loading pattern. Replaced explicit snow_agile_* tool names with tool_search discovery queries consistent with the rest of the document. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 9e00ad3 commit 63c44f7

File tree

1 file changed

+9
-15
lines changed

1 file changed

+9
-15
lines changed

packages/opencode/src/project/agents-template.txt

Lines changed: 9 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -56,28 +56,22 @@ Tools are organized around functionality, not exact names:
5656
- **ServiceNow Development**: Update sets, deployment, artifact management
5757
- **ServiceNow UI**: Widget development, workspaces, UI builder
5858
- **ServiceNow ITSM**: Incident, change, problem management
59-
- **ServiceNow Agile 2.0**: Sprint management, stories, backlog, epics, velocity, capacity planning (native SN agile module — `snow_agile_*` tools)
59+
- **ServiceNow Agile 2.0**: Sprint management, stories, backlog, epics, velocity, capacity planning (native SN agile module — discovered via `tool_search` with query `"agile"`)
6060
- **ServiceNow Flow Designer**: Flow creation, triggers, actions, flow logic (discovered via `tool_search` with query `"flow designer"`)
6161
- **Enterprise Integrations**: Jira, Azure DevOps, Confluence, GitHub, GitLab (discovered via `tool_search` on the enterprise server, same lazy pattern as ServiceNow tools)
6262

6363
### Agile Tool Selection: Native ServiceNow vs Enterprise Integrations
6464

65-
**CRITICAL**: When users ask about sprints, stories, backlogs, epics, or agile workflows, determine which tools to use:
65+
**CRITICAL**: When users ask about sprints, stories, backlogs, epics, or agile workflows, determine which platform's tools to use:
6666

67-
| User Intent | Tools to Use | How to Discover |
68-
|-------------|-------------|-----------------|
69-
| Manage sprints/stories/epics **in ServiceNow** | `snow_agile_*` tools (native) | `tool_search` on ServiceNow server with query `"agile"` |
70-
| Manage issues **in Jira** | Jira enterprise tools | `tool_search` on enterprise server with query `"jira"` |
71-
| Manage work items **in Azure DevOps** | ADO enterprise tools | `tool_search` on enterprise server with query `"azure devops"` |
72-
| User says "agile" without specifying platform | **Default to native ServiceNow** `snow_agile_*` tools | Check INSTANCE.md for platform preference |
67+
| User Intent | How to Discover |
68+
|-------------|-----------------|
69+
| Manage sprints/stories/epics **in ServiceNow** | `tool_search` on ServiceNow server with query `"agile"`, `"sprint"`, `"backlog"`, etc. |
70+
| Manage issues **in Jira** | `tool_search` on enterprise server with query `"jira"` |
71+
| Manage work items **in Azure DevOps** | `tool_search` on enterprise server with query `"azure devops"` |
72+
| User says "agile" without specifying platform | **Default to native ServiceNow** — discover via `tool_search` with `"agile"`. Check INSTANCE.md for platform preference |
7373

74-
**Native ServiceNow Agile tools (14 tools):**
75-
- `snow_agile_sprint_manage` / `snow_agile_sprint_query` / `snow_agile_sprint_board` / `snow_agile_sprint_burndown`
76-
- `snow_agile_story_manage` / `snow_agile_backlog_query` / `snow_agile_backlog_groom` / `snow_agile_epic_manage`
77-
- `snow_agile_team_manage` / `snow_agile_velocity_report` / `snow_agile_capacity_plan`
78-
- `snow_agile_release_manage` / `snow_agile_standup_report` / `snow_agile_retrospective`
79-
80-
These work with ServiceNow Agile 2.0 tables (`rm_sprint`, `rm_story`, `rm_epic`, `rm_scrum_task`, `rm_team`, `rm_release`). Requires plugin `com.snc.sdlc.agile.2.0`.
74+
The native ServiceNow Agile tools cover: sprint lifecycle, story/epic management, backlog grooming, team management, velocity reports, capacity planning, release management, standup reports, and retrospectives. They work with ServiceNow Agile 2.0 tables and require plugin `com.snc.sdlc.agile.2.0`.
8175

8276
---
8377

0 commit comments

Comments
 (0)