nette-architecture

Define Nette project architecture across App, Core, Model, and Presentation layers.

41|4|Updated Jan 4, 2026
One-click install
npx skills add https://github.com/nette/claude-code --skill nette-architecture
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: nette-architecture
Source: https://github.com/nette/claude-code/tree/main/plugins/nette/skills/nette-architecture
Command: npx skills add https://github.com/nette/claude-code --skill nette-architecture

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a structured approach to planning and validating the architecture of Nette-based web applications before designing presenters, modules, or application structure.

Core Features & Use Cases

  • Architecture guidance defines where to place App core, Core infrastructure, Model, and Presentation layers to keep code organized and maintainable.
  • Directory structure decisions advocates a flat, domain-oriented layout to reduce coupling and improve navigability.
  • Use Case: When starting a new Nette project, use this Skill to determine the initial skeleton and module boundaries.

Quick Start

Outline your project boundaries (App, Core, Model, Presentation) and describe the target module layout to align with DI and routing conventions.

Frequently Asked Questions about nette-architecture

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

FAQPage Schema
How do I structure a scalable Nette project architecture before creating presenters and modules?

To structure a scalable Nette project architecture, define module boundaries and directory layouts across App, Core, Model, and Presentation layers. This approach enforces a flat, domain-oriented structure to reduce coupling and improve navigability before you build presenters.

What is the best way to organize Nette directory structure for domain-oriented modules?

The best way to organize a Nette directory structure is adopting a flat, domain-oriented layout. This separates Core infrastructure, Model logic, and Presentation layers, keeping code organized and maintainable while aligning with Nette 3.x conventions.

Does this Nette architecture guidance support PHP 8.3 and Nette 3.x conventions?

Yes, this Nette architecture guidance fully complies with PHP 8.3+ and Nette 3.x conventions. It ensures your directory structure, routing, and Latte templating align with modern framework standards during initial project setup or major refactors.

When do I need to define module boundaries and dependency injection configuration in Nette?

You need to define module boundaries and dependency injection configuration during initial Nette project setup or major refactors. Planning these boundaries early ensures proper separation across App, Core, Model, and Presentation layers before applying routing rules.

How do I configure routing and Latte templating across Nette presentation layers?

To configure routing and Latte templating across Nette presentation layers, outline your project boundaries and target module layout first. This ensures your architecture aligns with DI configuration and Nette routing conventions before building presenters.