Skip to content

Commit 037382b

Browse files
committed
Revert "refactor: split skill docs into reference files and improve skill loader"
This reverts commit c1461d3.
1 parent c1461d3 commit 037382b

22 files changed

Lines changed: 874 additions & 2455 deletions

File tree

.cursor/skills/sentry-cli/SKILL.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../plugins/sentry-cli/skills/sentry-cli/SKILL.md

.github/workflows/ci.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -110,22 +110,22 @@ jobs:
110110
key: node-modules-${{ hashFiles('bun.lock', 'patches/**') }}
111111
- if: steps.cache.outputs.cache-hit != 'true'
112112
run: bun install --frozen-lockfile
113-
- name: Check skill files
113+
- name: Check SKILL.md
114114
id: check
115115
run: bun run check:skill
116116
continue-on-error: true
117-
- name: Auto-commit regenerated skill files
117+
- name: Auto-commit regenerated SKILL.md
118118
if: steps.check.outcome == 'failure' && steps.token.outcome == 'success'
119119
run: |
120120
git config user.name "github-actions[bot]"
121121
git config user.email "github-actions[bot]@users.noreply.github.com"
122-
git add plugins/sentry-cli/skills/sentry-cli/ docs/public/.well-known/skills/index.json
123-
git commit -m "chore: regenerate skill files"
122+
git add plugins/sentry-cli/skills/sentry-cli/SKILL.md
123+
git commit -m "chore: regenerate SKILL.md"
124124
git push
125-
- name: Fail for fork PRs with stale skill files
125+
- name: Fail for fork PRs with stale SKILL.md
126126
if: steps.check.outcome == 'failure' && steps.token.outcome != 'success'
127127
run: |
128-
echo "::error::Skill files are out of date. Run 'bun run generate:skill' locally and commit the result."
128+
echo "::error::SKILL.md is out of date. Run 'bun run generate:skill' locally and commit the result."
129129
exit 1
130130
131131
lint:

docs/public/.well-known/skills/index.json

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -3,21 +3,7 @@
33
{
44
"name": "sentry-cli",
55
"description": "Guide for using the Sentry CLI to interact with Sentry from the command line. Use when the user asks about viewing issues, events, projects, organizations, making API calls, or authenticating with Sentry via CLI.",
6-
"files": [
7-
"SKILL.md",
8-
"references/auth.md",
9-
"references/org.md",
10-
"references/project.md",
11-
"references/issue.md",
12-
"references/event.md",
13-
"references/api.md",
14-
"references/cli.md",
15-
"references/repo.md",
16-
"references/team.md",
17-
"references/log.md",
18-
"references/trace.md",
19-
"references/init.md"
20-
]
6+
"files": ["SKILL.md"]
217
}
228
]
239
}
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
../../../../../plugins/sentry-cli/skills/sentry-cli/SKILL.md

0 commit comments

Comments
 (0)