Skip to content

Fastest way to scaffold your LLM powered personal knowledge base - Obsidian, Claude Code, qmd, Github

feat: inform user that GitHub repo is created as private and clean up test-vault repo after pack-test

jessepinkman99009011c62ca91c
diff --git a/.claude/skills/pack-test/SKILL.md b/.claude/skills/pack-test/SKILL.md
index 3e64687..9d50f70 100644
--- a/.claude/skills/pack-test/SKILL.md
+++ b/.claude/skills/pack-test/SKILL.md
@@ -88,6 +88,7 @@ rm -rf test-vault
rm claude-second-brain-$(node -p "require('./package.json').version").tgz
rm -rf ~/.claude/skills/brain-ingest
rm -rf ~/.claude/skills/brain-search
+gh repo delete test-vault --yes
```
> **Note:** If you had pre-existing `brain-ingest` / `brain-search` global skills from a real vault, they were overwritten by this test. Re-run `/setup` inside your real vault to restore them.
diff --git a/.github/workflows/pack-test.yml b/.github/workflows/pack-test.yml
index fde68ad..a99606d 100644
--- a/.github/workflows/pack-test.yml
+++ b/.github/workflows/pack-test.yml
@@ -99,3 +99,6 @@ jobs:
rm -rf test-vault
VERSION=$(node -p "require('./package.json').version")
rm -f "claude-second-brain-${VERSION}.tgz"
+ gh repo delete test-vault --yes 2>/dev/null || true
+ env:
+ GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
diff --git a/bin/create.js b/bin/create.js
index 6d7e45f..945b628 100644
--- a/bin/create.js
+++ b/bin/create.js
@@ -107,7 +107,7 @@ async function main() {
let ghRepoName = null
if (createGhRepo) {
- const ghNameAnswer = await ask(rl, `GitHub repo name? (${targetName}) › `)
+ const ghNameAnswer = await ask(rl, `GitHub repo name? (${targetName}) [will be created as private] › `)
ghRepoName = ghNameAnswer.trim() || targetName
}