Claude-skill-registry agent-guidelines
When you need to understand the project's core mandate, operational rules, or "Constitution". Use this skill to align with the project's identity and strict coding standards.
install
source · Clone the upstream repo
git clone https://github.com/majiayu000/claude-skill-registry
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/majiayu000/claude-skill-registry "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/data/agent-guidelines" ~/.claude/skills/majiayu000-claude-skill-registry-agent-guidelines && rm -rf "$T"
manifest:
skills/data/agent-guidelines/SKILL.mdsource content
Agent Guidelines & Operational Rules
1. The "Constitution" & Project Identity
Project Name: NextBlock CMS Mandate: Build a premium, Open-Core Next.js CMS. Core Stack: Next.js (App Router), Supabase, Tailwind CSS, Tiptap v3.
Critical Rules
- Strict Separation:
andlibs/ui
must be publishable as standalone packages. They cannot depend onlibs/db
.apps/nextblock - Open-Core Model: The core is open-source; premium extensions are private.
- Distribution: Users get a standalone app via
.npm create nextblock
2. Operational Rules (Global Context)
- Context First: Before answering complex questions, always check
and relevant linked docs.docs/README.md - Strict Types: Always use
TypeScript. Nostrict: true
unless absolutely unavoidable and documented.any - Target the App, Not the Template: NEVER edit files in
directly. Always make changes inapps/create-nextblock/templates/nextblock-template
(the core app). The template is synced from the core app via scripts.apps/nextblock
3. Maintenance Rule: 'Ghost Module Synchronization'
[!IMPORTANT] CRITICAL: Whenever you modify the exports of
(the private library), you MUST immediately updatelibs/ecommerceto export the same names (as stubs).tools/stubs/libs/ecommerce/index.tsWhy? Failure to do this will break the public open-source build which relies on these stubs when the private library is not present.
4. Documentation Access
- Use the
MCP tool to fetch the latest documentation for Next.js, Supabase, Nx, Tailwind, etc.context7 - Do not guess about API updates; verify with
if unsure.context7