Skip to content

Commit f986407

Browse files
committed
fix: fallback extensions
1 parent a3d8049 commit f986407

File tree

2 files changed

+13
-6
lines changed

2 files changed

+13
-6
lines changed

.claude/skills/add-extension/README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,9 @@ Claude Code skill for adding Scaffold-ETH-2 extensions to existing projects post
2929

3030
## Available Extensions
3131

32-
Fetched dynamically from [create-eth-extensions](https://github.com/scaffold-eth/create-eth/blob/main/src/extensions/create-eth-extensions.ts):
32+
Fetched dynamically from [create-eth](https://github.com/scaffold-eth/create-eth/blob/main/src/extensions/create-eth-extensions.ts):
3333

34-
`subgraph`, `x402`, `eip-712`, `ponder`, `erc-20`, `eip-5792`, `randao`, `erc-721`, `porto`, `envio`, `drizzle-neon`
35-
36-
Run `/add-extension --help` for current list.
34+
Run `/add-extension --list` for current list with repository details.
3735

3836
## How It Works
3937

.claude/skills/add-extension/lib/constants.mjs

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,18 @@ export const DEFAULT_EXTENSIONS_REPO = 'https://github.com/scaffold-eth/create-e
1616

1717
export const VALID_FRAMEWORKS = ['hardhat', 'foundry'];
1818

19-
// Fallback for offline mode (subset of most common extensions)
19+
// Fallback for offline mode
2020
export const FALLBACK_EXTENSIONS = [
21+
// Core extensions (11)
2122
'subgraph', 'x402', 'eip-712', 'ponder', 'erc-20',
2223
'eip-5792', 'randao', 'erc-721', 'porto', 'envio', 'drizzle-neon',
23-
'challenge-token-vendor', 'challenge-dice-game', 'challenge-dex'
24+
// Challenge extensions (13)
25+
'challenge-tokenization', 'challenge-crowdfunding', 'challenge-token-vendor',
26+
'challenge-dice-game', 'challenge-dex', 'challenge-state-channels',
27+
'challenge-multisig', 'challenge-svg-nft', 'challenge-oracles',
28+
'challenge-over-collateralized-lending', 'challenge-prediction-markets',
29+
'challenge-stablecoins', 'challenge-zk-voting',
30+
// Organization extensions (4)
31+
'metamask/erc-7715-extension', 'metamask/gator-extension',
32+
'signinwithethereum/scaffold-siwe-ext', 'ethereumidentitykit/scaffold-efp-ext'
2433
];

0 commit comments

Comments
 (0)