Skip to content
Agentmart
Submit a tool

install

Install and configure @jimdrury/storyblok-component-schema in a project.

Skill by jimdrury

IndexedMIT
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/jimdrury-install

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Install and configure @jimdrury/storyblok-component-schema in a project. Use when the user wants to set up the package, configure the registry, create a config file, or connect to a Storyblok space.

Use cases: frontend

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/install

What's inside

Skill name
install
Description
Install and configure @jimdrury/storyblok-component-schema in a project. Use when the user wants to set up the package, configure the registry, create a config file, or connect to a Storyblok space.
License
MIT
Instructions
120 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Install

Set up `@jimdrury/storyblok-component-schema` in a consuming project. This package is published to the GitHub Package Registry, not npm.

## 1. Configure the registry

The package manager needs to know where to find `@jimdrury` scoped packages.

### npm / Yarn 1

Add a `.npmrc` to the project root:

```
@jimdrury:registry=https://npm.pkg.github.com
```

### Yarn 2+ (Berry)

Add to `.yarnrc.yml`:

```yaml
npmScopes:
  jimdrury:
    npmRegistryServer: https://npm.pkg.github.com
```

## 2. Install the package

```bash
npm install @jimdrury/storyblok-component-schema
# or
yarn add @jimdrury/storyblok-component-schema
```

## 3. Create a config file

Create `.component-schema.yaml` in the project root:

```yaml
componentsDir: ./schema
storyblok:
  apiToken: "${STORYBLOK_API_TOKEN}"
  spaceId: "${STORYBLOK_SPACE_ID}"
```

### Fields

| Field | Type | Default | Description |
|-------|------|---------|-------------|
| `componentsDir` | `string` | `./schema` | Path to the directory containing component `.ts` files. |
| `storyblok.apiToken` | `string` | -- | Storyblok Management API token. Falls back to `STORYBLOK_API_TOKEN` env var. |
| `storyblok.spaceId` | `string` | -- | Target Storyblok space ID. Falls back to `STORYBLOK_SPACE_ID` env var. |

All fields are optional. The CLI falls back to environment variables and defaults.

### Environment variable interpolation

Values wrapped in `${...}` are resolved from environment variables at runtime, just like `.yarnrc.yml`. Variables from `.env` and `.env.local` are loaded automatically.

You can also use literal values:

```yaml
storyblok:
  apiToken: "${STORYBLOK_API_TOKEN}"
  spaceId: "12345"
```

## 4. Set up credentials

Create a `.env.local` file (add to `.gitignore`):

```
STORYBLOK_API_TOKEN=your-management-api-token
STORYBLOK_SPACE_ID=your-space-id
```

The API token must have write access to the Storyblok space.

## 5. Verify

```bash
npx storyblok-component-schema plan
```

This should connect to your Storyblok space and report the current state.

## GitHub Actions

In CI, use `actions/setup-node` to configure the registry:

```yaml
- uses: actions/setup-node@v6
  with:
    registry-url: https://npm.pkg.github.com
    scope: '@jimdrury'
- run: yarn install
  env:
    NODE_AUTH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
```

Set `STORYBLOK_API_TOKEN` and `STORYBLOK_SPACE_ID` as repository secrets or variables.

## Resolution order

Configuration is resolved with the following precedence (highest wins):

1. **CLI flags** (`--dir`)
2. **Config file** (`.component-schema.yaml`)
3. **Environment variables** (`.env` / `.env.local`)
4. **Defaults** (`componentsDir: ./schema`, then `./components` if `./schema` does not exist)

## Checklist

- [ ] Registry configured (`.npmrc` or `.yarnrc.yml`)
- [ ] Package installed
- [ ] `.component-schema.yaml` created with `componentsDir`
- [ ] Storyblok credentials set (config file or `.env.local`)
- [ ] `npx storyblok-component-schema plan` runs successfully

From jimdrury/jimdrury-component-schema, MIT.

More from jimdrury/jimdrury-component-schema

Signals

Stars
0
Forks
0
Open issues
0
Last commit (this folder)
Mar 21, 2026 (7 months ago)
Last release
Mar 21, 2026 (7 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from jimdrury

Cite this page

install skill. Agent Mart. https://agentmart.dev/skills/jimdrury-install (last updated 2026-10-24)