apache/ofbiz-plugins/create-component
Trust tier 3
- community
Source check pending
Checking that the SKILL.md file is still in the repository.
Scaffold a new OFBiz component (plugin) using Gradle. Use when starting a new feature set or isolating custom code.
Install
npx vskill@latest install apache/ofbiz-plugins/create-componentSKILL.md
Skill: create-component
Goal
Create a new, isolated OFBiz component with the correct directory structure and configuration.
Triggers
ALWAYS read this skill when:
- Creating a new plugin or component.
- Isolating a large feature set into a separate module.
- Understanding plugin discovery vs. manual registration.
Use when
- Starting a brand new feature (e.g.,
my-custom-module). - Developing an integration that should not impact core components.
Procedure
- Gradle Command:
- Run
./gradlew createPlugin -PpluginId=my-plugin-name. - Optional flags:
-PwebappName=my-app,-PbasePermission=MY_PERM.
- Base Structure:
- Ensure the following folders are present:
src,webapp,entitydef,servicedef,data,widget.
- Initial Configuration:
- Update
ofbiz-component.xmlwith proper titles and descriptions. - Add basic security permissions in
data/[Component]SecurityData.xml.
- Registration (Automatic):
- OFBiz automatically discovers any directory in
plugins/that contains anofbiz-component.xmlfile. - NO command like
./gradlew loadAllis required for registration. - OFBiz must be restarted (or a container reload triggered) to detect new components.
Post-Scaffold Customization
- Directory Structure: Verify the existence of
entitydef/,servicedef/,data/, andwebapp/. - Component XML: Update
ofbiz-component.xmlwith actual resource locations. - Web Application: If your component has a UI, ensure the
<webapp>entry has a uniquemount-point. - Permissions: Define base permissions in
data/MyComponentSecurityData.xml.
Guardrails
- Naming: Use lowercase, kebab-case (e.g.,
order-management). - Location: All custom components MUST reside in the
plugins/directory. - Discovery: Plugins in
plugins/are auto-discovered. Do not try to manually register them in framework load files. - Independence: Ensure the new component doesn't break existing ones.
- Best Practice: Immediately create a dedicated
SecurityData.xmlto avoid permission conflicts. - Cleanliness: Delete unused scaffolded files (e.g., placeholder entities) after creation.
Examples
Example: Creating a new inventory plugin
Then, verify the folder plugins/inventory-custom exists.
Security
- Security scanPassed, 95 of 100Pattern checks on the skill's files.
- Model reviewPassed
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingai-agent-skills/create-component/SKILL.md
Popularity
- Repository stars
- 176
- Repository forks
- 222
- 7-day trend score
- 31
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/apache/ofbiz-plugins/create-component)