context-loader

Load coding rules and design documents from the .claude/ directory.

1|Updated Jun 13, 2017
One-click install
npx skills add https://github.com/RoyMcCrain/dotsfile --skill context-loader-roymccrain
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: context-loader
Source: https://github.com/RoyMcCrain/dotsfile/tree/main/gemini/skills/context-loader
Command: npx skills add https://github.com/RoyMcCrain/dotsfile --skill context-loader-roymccrain

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Manually locating and loading global coding rules, design decisions, and library constraints for each project slows down research and analysis tasks. This Skill automatically gathers that context from the .claude/ directory, ensuring consistent information without extra effort.

Core Features & Use Cases

  • Global Rules Loading: Reads ~/.claude/rules/ to apply shared coding standards.
  • Project Design Retrieval: Pulls DESIGN.md from the current project's folder for design guidance.
  • Library Constraints Access: Includes documentation from the project's libraries/ directory.
  • Use Case: Before starting a new research or code generation task, the Skill loads all relevant context so the AI operates with up‑to‑date project knowledge.

Quick Start

Use the context-loader skill to load the current project's design documents and rules before starting analysis.

Frequently Asked Questions about context-loader

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

FAQPage Schema
How do I load project context and coding rules from the .claude directory automatically?

To load project context automatically, this Skill reads the .claude directory at the start of each task, retrieving global coding rules, DESIGN.md files, and library constraints to ensure consistent project knowledge without manual effort.

What is the best way to apply consistent coding standards across research and analysis tasks?

Applying consistent coding standards is achieved by automatically reading ~/.claude/rules/ and project-specific design documents before starting any research or code generation task, ensuring the AI operates with up-to-date constraints.

Can I use this context loader to pull DESIGN.md files from my current project folder?

Yes, you can pull DESIGN.md files from your current project folder. The Skill identifies the current project name and retrieves design guidance alongside library documentation from the project's designated directories.

Does loading project context from .claude require specific read permissions or home directory access?

Loading project context requires read permissions for .claude/rules and .claude/docs project files, along with access to the user's home directory to locate global coding standards and identify the current project name.

When do I need to automatically load library constraints and design decisions before code generation?

You need to load library constraints and design decisions before starting any new research or code generation task, ensuring the AI operates with up-to-date project knowledge and adheres to established architectural guidelines.