Skip to content

Commit 0b4df60

Browse files
committed
fix: document blocktank plugin setup + ship marketplace manifest
1 parent 56dc586 commit 0b4df60

4 files changed

Lines changed: 46 additions & 9 deletions

File tree

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
{
2+
"name": "bitkit-android",
3+
"owner": {
4+
"name": "Synonym",
5+
"email": "dev@synonym.to"
6+
},
7+
"plugins": [
8+
{
9+
"name": "blocktank-api",
10+
"source": "./blocktank-api",
11+
"description": "Interact with the Blocktank LSP API for Lightning testing during bitkit development."
12+
}
13+
]
14+
}

.claude/plugins/blocktank-api/README.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,17 +4,16 @@ A Claude Code plugin that gives Claude knowledge of the full Blocktank LSP API,
44

55
## Setup
66

7-
Enable the plugin in `.claude/settings.local.json`:
8-
9-
```json
10-
{
11-
"enabledPlugins": {
12-
"blocktank-api@blocktank-api": true
13-
}
14-
}
7+
Run these two commands once from the repo root:
8+
9+
```sh
10+
claude plugin marketplace add ./.claude/plugins --scope user
11+
claude plugin install blocktank-api@bitkit-android --scope user
1512
```
1613

17-
Then restart Claude Code. After restart the `/lsp` skill will be available.
14+
Then restart Claude Code if it was already running. The `blocktank-api:lsp` skill (invoked as `/lsp`) will be available.
15+
16+
The repo ships a matching `.claude/settings.json` and `.claude/plugins/.claude-plugin/marketplace.json` so the two commands above resolve against committed, portable definitions — nothing to hand-edit. Verify with `claude plugin list | grep blocktank-api`.
1817

1918
## Usage
2019

.claude/settings.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
{
2+
"extraKnownMarketplaces": {
3+
"bitkit-android": {
4+
"source": {
5+
"source": "directory",
6+
"path": "${CLAUDE_PROJECT_DIR}/.claude/plugins"
7+
}
8+
}
9+
},
10+
"enabledPlugins": {
11+
"blocktank-api@bitkit-android": true
12+
}
13+
}

README.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,17 @@ The following IDE plugins are recommended for development with Android Studio or
6262
```
6363
Reports are generated in: `app/build/reports/detekt/`.
6464

65+
### AI tooling
66+
67+
The repo ships a Claude Code plugin under `.claude/plugins/blocktank-api/` that gives Claude the `/lsp` skill for driving Blocktank LSP during local development. One-time setup after first clone:
68+
69+
```sh
70+
claude plugin marketplace add ./.claude/plugins --scope user
71+
claude plugin install blocktank-api@bitkit-android --scope user
72+
```
73+
74+
See [.claude/plugins/blocktank-api/README.md](.claude/plugins/blocktank-api/README.md) for usage and configuration.
75+
6576
## Test
6677

6778
**Commands**

0 commit comments

Comments
 (0)