kb-context

Guide kb codebase setup with FCIS layer dependency rules.

Updated May 8, 2026
One-click install
npx skills add https://github.com/roalcantara/kodexb --skill kb-context
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: kb-context
Source: https://github.com/roalcantara/kodexb/tree/main/.agents/skills/kb-context
Command: npx skills add https://github.com/roalcantara/kodexb --skill kb-context

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) components.

What problem does it solve?

It ensures consistent project structure, naming, and architecture standards, preventing costly integration errors and promoting best practices.

Core Features & Use Cases

  • Defines Architecture: Implements the FCIS (Functional Core, Imperative Shell) model for project organization.
  • Sets Layer Rules: Enforces dependency rules among core, shell, and renderer layers to maintain clean separation.
  • Guides Development: Provides naming conventions and systematic patterns for UI components, routes, and database files.
  • Use Case: When starting a new feature within the kb project, load this skill to align with established architecture and avoid structural inconsistencies.

Quick Start

Load this skill at the beginning of any task involving kb project setup, feature development, or architectural review.

Frequently Asked Questions about kb-context

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

FAQPage Schema
How do I structure a React project to enforce strict dependency rules and separation of concerns?

To enforce separation of concerns in a React project, apply the Functional Core, Imperative Shell (FCIS) model to establish clear core, shell, and renderer layers. This architecture sets strict dependency rules among components to prevent structural inconsistencies and integration errors.

What is the FCIS architecture model for organizing application logic and UI components?

The FCIS architecture model separates application logic into a Functional Core for pure logic and an Imperative Shell for side effects. It organizes React UI components, routes, and database files into distinct layers, ensuring clean separation and reducing integration errors.

How do I set up naming conventions and project structure for a React and SQLite application?

Set up naming conventions and project structure for React and SQLite applications by standardizing systematic patterns for UI components, routes, and database files. Establishing these conventions early streamlines development and prevents costly structural inconsistencies.

When should I implement an RPC mechanism and dependency enforcement in my project architecture?

Implement RPC mechanisms and dependency enforcement when setting up a new feature within a complex application architecture. Loading architectural guidelines at the beginning of feature development aligns implementation with established standards and avoids structural inconsistencies.

Can I use the FCIS layer model to manage communication between React renderers and SQLite databases?

Yes, the FCIS layer model manages communication by defining strict boundaries between core, shell, and renderer layers. This separation ensures standardized RPC mechanisms handle interactions between React renderers and SQLite databases without violating dependency rules.

Why do React project structures suffer from integration errors when adding new features?

React project structures suffer from integration errors when adding new features due to inconsistent naming conventions and a lack of enforced dependency rules. Establishing a standard architecture with clear layer separation prevents these structural inconsistencies.