Skip to content

Commit 7002a3e

Browse files
authored
chore(skills): remove git remote fetching from skills in favor of auto-detection in CLI (#245)
1 parent 299ad83 commit 7002a3e

2 files changed

Lines changed: 7 additions & 12 deletions

File tree

‎.claude/skills/detail-bugs/SKILL.md‎

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,11 @@ Get bugs from Detail for a repository and help the user triage them.
1010

1111
## Determining the Repository
1212

13-
If `$ARGUMENTS` is not empty, use it as the repository (`owner/repo`).
13+
If `$ARGUMENTS` is not empty, use it as the repository (`owner/repo`) for all `detail bugs` commands.
1414

15-
Otherwise, auto-detect from the current git remote:
16-
```bash
17-
git remote get-url origin 2>/dev/null | sed -E 's|.*github\.com[:/]||;s|\.git$||'
18-
```
19-
Use the extracted `owner/repo` as the argument for all `detail bugs` commands.
15+
Otherwise, the Detail CLI will infer the repository from the git remote. Use the CLI with no repository specified.
16+
17+
If commands fail to infer the repository, ask the user to provide the repository and use it for the `detail bugs` commands.
2018

2119
## Prerequisites
2220

‎.claude/skills/detail-create-rules/SKILL.md‎

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,11 @@ Guide the user through creating one or more new rules for their repository.
1010

1111
## Determining the Repository
1212

13-
If `$ARGUMENTS` is not empty, use it as the repository (`owner/repo`).
13+
If `$ARGUMENTS` is not empty, use it as the repository (`owner/repo`) for all `detail rules` commands.
1414

15-
Otherwise, auto-detect from the current git remote:
16-
```bash
17-
git remote get-url origin 2>/dev/null | sed -E 's|.*github\.com[:/]||;s|\.git$||'
18-
```
15+
Otherwise, the Detail CLI will infer the repository from the git remote. Use the CLI with no repository specified.
1916

20-
Use the extracted `owner/repo` as the argument for all `detail rules` commands.
17+
If commands fail to infer the repository, ask the user to provide the repository and use it for the `detail rules` commands.
2118

2219
## Prerequisites
2320

0 commit comments

Comments
 (0)