weline-framework-core

Organizes Welframework Core contributions around modules, controllers, models, env/config, i18n, and routing.

1|Updated Mar 2, 2024
One-click install
npx skills add https://github.com/Aiweline/WelineFramework --skill weline-framework-core
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: weline-framework-core
Source: https://github.com/Aiweline/WelineFramework/tree/main/dev/ai/archive/codex-skills/weline-framework-core
Command: npx skills add https://github.com/Aiweline/WelineFramework --skill weline-framework-core

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

Provides structured guidance and guardrails for contributing to the WelineFramework core, ensuring consistent module, controller, model, env/config, i18n, and routing practices.

Core Features & Use Cases

  • Establishes a centralized workflow for framework core development, including guardrails, setup:upgrade, route registration, and HTTP request validation.
  • Helps teams align on coding conventions and best practices when extending or modifying the framework.
  • Use cases include starting new module development, adding controllers/models, configuring environment and i18n, and validating routes via upgrade commands.

Quick Start

Read the guardrails and development workflow references to begin contributing.

Frequently Asked Questions about weline-framework-core

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I structure a new module in the Weline Framework?

To structure a new module in the Weline Framework, follow the established guardrails for module, controller, and model development. These references provide centralized workflow guidance to align your coding conventions with core framework practices.

What is the proper way to register routes and validate HTTP requests in WelineFramework?

Registering routes and validating HTTP requests in WelineFramework requires following defined routing practices and dev workflow guardrails. You must execute `php bin/w setup:upgrade` for verification to ensure route registration meets workflow validation requirements.

Can I configure environment variables and i18n settings when extending the framework core?

Yes, you can configure environment and i18n settings when extending the framework core. The Skill organizes core contributions around consistent env/config and i18n practices, providing structured guidance for these specific framework extensions.

Do I need to run setup commands after modifying controllers or models?

Yes, you need to run `php bin/w setup:upgrade` after modifying controllers or models. This command serves as the verification step required by the WelineFramework dev workflow to validate changes and ensure proper route registration.

What are the limitations when editing generated assets during Weline module development?

The limitation when editing generated assets during Weline module development is that you must not edit them. The framework's frontmatter-based metadata standards and workflow validation requirements explicitly prohibit modifying generated assets to maintain repository integrity.