Skills
Skill 5 of 9
Design, scaffold, build, and validate a new Contentful App Framework custom app for a customer’s own repository or workspace.
4 minutes · 824 words · 10 sections
Install
npx skills add contentful/skills --skill contentful-custom-app-from-scratchnpx skills add contentful/skills/plugin marketplace add contentful/skillsThe first command installs just this skill, by the name in its SKILL.md; the second installs the whole repository.
Use this skill to turn a customer app idea into a small, locally testable Contentful App Framework implementation.
Default to the user’s own repository, Contentful organization, and app delivery workflow unless they explicitly choose another destination.
Public Contentful Marketplace apps and Contentful’s public apps repository
(https://github.com/contentful/apps) can be useful references for mature App
Framework patterns, UX conventions, and configuration flows. Use them as
examples to adapt, not as required repo structure or publication process.
Capture a short brief before scaffolding:
If the idea is still broad, propose 2-3 feasible v1 options and recommend the smallest useful one.
For planning details, use App planning (opens in a new tab).
Choose locations by user workflow:
app-config when the app needs installation-time setup.entry-sidebar for entry-level context, status, helper actions, and
lightweight insights.entry-field to replace or enhance a field’s editing experience.dialog for focused picker, confirmation, or multi-step flows launched
from another location.page or home for dashboards, bulk tools, onboarding, or full-screen
operational workflows.entry-editor only when replacing or heavily extending the full entry
editing experience is worth the maintenance cost.If sensitive credentials are required, model them as secret installation parameters and consume raw values only in a backend or Function-backed path.
If the user already has a repo:
package.json, app-related docs, existing app locations, build
scripts, tests, and style conventions.@contentful/app-sdk,
@contentful/react-apps-toolkit, @contentful/f36-components, or
contentful-management.If the user does not have a repo:
npx create-contentful-app@latest <app-name>.sdk.parameters.installation. Do not fetch app installation records
through CMA from mount effects, render paths, hooks, or user interactions just
to retrieve configured parameters.Create or update the app definition in a development organization or sandbox:
http://localhost:3000,For local test and handoff steps, use Repository and validation (opens in a new tab).
Run the closest meaningful checks available in the user’s project:
rg -n "appInstallation\\.(getForOrganization|get)\\(|getForOrganization"
over the app source when runtime code reads installation parameters, with any
remaining CMA app-installation call explained.Do not claim the app works unless you ran the relevant validation or clearly state what could not be run.
End with:
contentful-custom-app-enhancement - improve or debug an existing custom app.contentful-api - concrete CMA, CDA, CPA, Images API, and GraphQL examples.contentful-migration - content model migration scripts.contentful-guide - Contentful concepts and API routing.Design, scaffold, build, and validate a new Contentful App Framework custom app for a customer's own repository or workspace. Use when users want to create a custom app from an idea, choose App Framework locations, build a sidebar app, field editor app, page app, dialog, configuration screen, App Action, or Function-backed app, scaffold with create-contentful-app, or make a locally testable app for an organization-specific Contentful workflow. Also triggers on "build a Contentful app", "custom app from scratch", "App Framework app", "sidebar app", "field editor app", "page app", "app action", and "app function". Not for generic Contentful API examples (contentful-api), content model migrations (contentful-migration), or website integration (contentful-nextjs).
The verbatim description from this skill’s front matter — the string an agent matches on to decide whether to load it.
mcp__contentful-mcp__*mcp__plugin_contentful_contentful-mcp__*skills/contentful-apps/contentful-custom-app-from-scratch/SKILL.mdmain, last pushed 21 September 2026.SKILL.md, not by matching a directory convention. 3 distinct layouts observed: local-skills/skills/*/SKILL.md, skills/*/SKILL.md, skills/contentful-apps/*/SKILL.md.h1 and no skipped levels:.claude-plugin/marketplace.json by Contentful, declaring 1 plugin. It is read for editorial metadata only — never as the skill index, which is always the repository tree./contentful/skills.md, and each skill at its own .md URL.3 files · 7 KB
Everything this skill ships beside its prose. All of it is set here, as subchapters of skill 5.
Documentation the agent loads on demand, rather than up front.
Everything else published alongside the skill.