Skip to content

feat(skills): ship a Claude Code skill for integrating the framework - #19

Merged
CharanMN7 merged 1 commit into
mainfrom
feat/claude-skill
Sep 5, 2026
Merged

feat(skills): ship a Claude Code skill for integrating the framework#19
CharanMN7 merged 1 commit into
mainfrom
feat/claude-skill

Conversation

@CharanMN7

Copy link
Copy Markdown
Contributor

An agent skill that adds MDX docs, a blog, or a changelog to a Next.js site and opens the PR — so integrating the framework across several sites doesn't mean re-deriving it each time.

What's here

  • skills/inkform-framework/SKILL.md — the skill itself, self-contained markdown.
  • .claude-plugin/ — marketplace + plugin manifests, so it installs in one command.
  • skills/README.md — the three install routes.
  • examples/inkform-docs/content/docs/guides/claude-code-skill.mdx — a docs page so it's discoverable on framework.inkform.dev, registered in docs.json.

What the skill encodes

The published guides explain how the framework works. The skill adds what goes wrong:

  • transpilePackages: ['@inkform/framework'] is mandatory — the package ships TS/JSX source, and omitting it causes most "unexpected token" build failures.
  • Next ≥ 16 and React 19 are a hard floor. On an older site the skill stops and says so, rather than bumping a major version as a side effect of "add a blog" — that's separate work with its own risk.
  • Don't transplant the docs shell onto an existing site's layout and design system. They asked for /blog, not a theme.
  • Merge into next.config.ts, don't replace it.
  • Every docs page must be in docs.json — a file on disk that isn't listed won't route.

Install (any of three)

/plugin marketplace add inkform-dev/framework
/plugin install inkform-framework@inkform-framework

…or copy SKILL.md into ~/.claude/skills/, or link framework.inkform.dev in a prompt with no install at all.

Test plan

  • Both manifests are valid JSON
  • examples/inkform-docs builds; 25 static pages generate, including /guides/claude-code-skill
  • docs.json edit is a 2-line insertion — formatting preserved, no reflow
  • Skill content checked against guides/blog-in-existing-site, getting-started/quickstart, and reference/framework-api so it doesn't contradict them
  • Install in a fresh session and run it against a real site

Companion skill for newsletter signup and the platform API lives in inkform-dev/cms#26.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XicaJv3aZTSWCZsiQR1YgW

Adds skills/inkform-framework/SKILL.md — an agent skill that adds MDX docs, a
blog, or a changelog to a Next.js site and opens the PR, plus the marketplace
manifests that make it installable in one command and a docs page so it's
discoverable at framework.inkform.dev.

The skill encodes the failure modes the guides describe but don't emphasise:

- transpilePackages: ['@inkform/framework'] is mandatory, since the package
  ships TS/JSX source. Omitting it causes most "unexpected token" build errors.
- Next >=16 and React 19 are a hard floor. On an older site the skill stops and
  says so rather than bumping a major version inside a content PR — that's a
  separate piece of work with its own risk.
- Adding a blog to an existing site must not transplant the docs shell over
  that site's own layout and design system. They asked for /blog, not a theme.
- Every docs page must be registered in docs.json; a file on disk that isn't
  listed won't route.
- Merge into the existing next.config.ts rather than replacing it.

Installable three ways so nobody has to adopt a plugin to benefit: the
marketplace manifest, the self-contained SKILL.md copied into ~/.claude/skills/,
or just linking the published guide in a prompt.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XicaJv3aZTSWCZsiQR1YgW
@vercel

vercel Bot commented Sep 5, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
framework-inkform-docs Ready Ready Preview Sep 5, 2026 10:57am UTC
pokeapi Ready Ready Preview Sep 5, 2026 10:57am UTC

Request Review

@CharanMN7
CharanMN7 merged commit 9373b3f into main Sep 5, 2026
3 of 4 checks passed
@CharanMN7
CharanMN7 deleted the feat/claude-skill branch September 5, 2026 10:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant