smithery/bnomei

kirby-ide-support

Improves IDE autocomplete and static analysis in Kirby projects with PHPDoc hints and Kirby IDE helper generation. Use when types are missing or IDE support is degraded.

Installation

$ npx skills add smithery/bnomei --skill kirby-ide-support

Similar popular skills

Related neighbors and high-traction skills in the same topics — useful to compare before installing.

Also in this package

Other skills from smithery/bnomei · top by installs.

npx skills add smithery/bnomei

Browse all from smithery/bnomei

More details

Agent compatibility

Declared targets from SKILL.md / docs. Unmarked agents are not listed — the skill may still install via the CLI.

Claude Code Not declared
Cursor Not declared
Codex Not declared
GitHub Copilot Not declared
Windsurf Not declared
Gemini CLI Not declared
Cline Not declared
OpenCode Not declared

Package contents

Files included with this skill beyond the listing page.

  • skill md SKILL.md 1,797 B
  • docs SUMMARY.md 194 B

History

  1. First recorded snapshot · 0 installs

SKILL.md

Kirby IDE Support

Quick start

  • Follow the workflow below for a minimal, types-only IDE pass.

KB entry points

  • kirby://kb/scenarios/18-ide-support
  • kirby://kb/glossary/page-model
  • kirby://kb/glossary/template

Required inputs

  • Target files and scope (templates/snippets/controllers/models).
  • Whether to generate helpers or only add PHPDoc hints.

Minimal PHPDoc hints

/** @var Kirby\Cms\Site $site */
/** @var Kirby\Cms\Page $page */
  • Place hints at the top of templates/snippets; keep them types-only.

Generation rule

  • Add PHPDoc hints for a few files or local fixes.
  • Generate IDE helpers when multiple templates/models lack types or for project-wide refresh.

Common pitfalls

  • Generating helpers for a single missing type.
  • Leaving stale helpers after blueprint or model changes.

Workflow

  1. Call kirby:kirbyinit, then check status with kirby:kirbyidehelpersstatus.
  2. Inspect templates/snippets/controllers/models for missing hints:

- kirby:kirbytemplatesindex - kirby:kirbysnippetsindex - kirby:kirbycontrollersindex - kirby:kirbymodelsindex

  1. Add minimal, types-only improvements:

- @var hints in templates/snippets - typed controller closures - ensure page models extend the correct base class

  1. If generating helpers, run kirby:kirbygenerateide_helpers(dryRun=true) first; ask before writing, then run with dryRun=false.
  2. Re-run kirby:kirbyidehelpers_status and summarize changes.
  3. Search the KB with kirby:kirby_search (example: "ide support").