From intent-layer
Get oriented in an unfamiliar codebase using its Intent Layer. Use when joining a new project, exploring a codebase for the first time, or helping someone understand "where do I start?" questions.
npx claudepluginhub orban/intent-layer --plugin intent-layerThis skill uses the workspace's default tool permissions.
Use an existing Intent Layer to quickly orient yourself (or a new team member) in a codebase.
Creates new Angular apps using Angular CLI with flags for routing, SSR, SCSS, prefixes, and AI config. Follows best practices for modern TypeScript/Angular development. Use when starting Angular projects.
Generates Angular code and provides architectural guidance for projects, components, services, reactivity with signals, forms, dependency injection, routing, SSR, ARIA accessibility, animations, Tailwind styling, testing, and CLI tooling.
Executes ctx7 CLI to fetch up-to-date library documentation, manage AI coding skills (install/search/generate/remove/suggest), and configure Context7 MCP. Useful for current API refs, skill handling, or agent setup.
Use an existing Intent Layer to quickly orient yourself (or a new team member) in a codebase.
completeintent-layer skill first if state is none or partial# Check Intent Layer exists
${CLAUDE_PLUGIN_ROOT}/scripts/detect_state.sh /path/to/project
# Generate orientation overview
scripts/generate_orientation.sh /path/to/project
# View hierarchy
${CLAUDE_PLUGIN_ROOT}/scripts/show_hierarchy.sh /path/to/project
Get productive in a new codebase in 15 minutes using this workflow.
Read the root CLAUDE.md or AGENTS.md completely. Focus on:
# Find and display root node
cat /path/to/project/CLAUDE.md || cat /path/to/project/AGENTS.md
Visualize the full Intent Layer structure:
${CLAUDE_PLUGIN_ROOT}/scripts/show_hierarchy.sh /path/to/project
Note:
Based on your role or first task, find where to start:
| If your role is... | Start with... |
|---|---|
| Frontend engineer | UI/components AGENTS.md |
| Backend engineer | API/services AGENTS.md |
| DevOps/Platform | Infrastructure AGENTS.md |
| Full-stack | Root node + busiest subsystem |
| If your first task is... | Find... |
|---|---|
| Bug fix in area X | AGENTS.md closest to X |
| New feature | Entry Points in relevant subsystem |
| Understanding flow | Root → follow data path |
For your identified entry point:
Test your mental model:
If any answer is "no", re-read the relevant node.
When an AI agent needs to understand a new codebase:
Minimum context load:
Query pattern:
"I need to [task] in [area]. What should I know?"
Response pattern:
## Context for [task]
### Relevant Node
`path/to/AGENTS.md`
### Key Constraints
- [From local node]
- [Inherited from ancestors]
### Entry Point
Start at: `path/to/file.ts`
### Watch Out For
- [Pitfall 1]
- [Pitfall 2]
When a human is joining the team:
Day 1 Goals:
Week 1 Goals:
Onboarding Checklist:
## Onboarding Checklist: [Name]
### Day 1
- [ ] Read root CLAUDE.md/AGENTS.md
- [ ] Run show_hierarchy.sh to see structure
- [ ] Identify which subsystem I'll work in
- [ ] Read my subsystem's AGENTS.md
### Week 1
- [ ] Complete first small task
- [ ] Verify I followed all contracts
- [ ] Note any confusion for Intent Layer feedback
- [ ] Ask about anything not documented
When reviewing code in an unfamiliar area:
Workflow:
Output:
## Bug Fix Context: [area]
**Relevant Node:** `path/to/AGENTS.md`
**Common Pitfalls (check these first):**
- [Pitfall that might explain bug]
**Fix Constraints:**
- [Rules the fix must follow]
**Start Debugging At:**
- `path/to/entry/file.ts`
Workflow:
Output:
## Feature Context: [feature] in [area]
**In Scope:** Yes/No (from AGENTS.md)
**Entry Point:**
- Start at: `path/to/file.ts`
- Pattern to follow: [from Entry Points]
**Constraints:**
- [Local rules]
- [Inherited rules]
**Related Areas:**
- [Siblings that might be affected]
Workflow:
Output:
## Understanding: [Z]
**Owner:** `path/to/AGENTS.md`
**TL;DR:**
> [From node]
**Why It's Designed This Way:**
- [From Architecture Decisions]
**Key Files to Read:**
1. `file1.ts` - [purpose]
2. `file2.ts` - [purpose]
**Broader Context:**
- [From parent nodes]
For teams that want a static onboarding doc:
scripts/generate_orientation.sh /path/to/project --format overview
Produces:
scripts/generate_orientation.sh /path/to/project --format full
Produces:
scripts/generate_orientation.sh /path/to/project --role backend
Produces:
For a guided, interactive orientation:
Ask the newcomer:
Based on answers, create a reading list:
Junior + No specific task:
## Your Onboarding Path
1. **Start Here:** CLAUDE.md (root) - 10 min read
2. **Then:** [area matching role]/AGENTS.md - 5 min read
3. **Exercise:** Find where [simple task] would be done
4. **Verify:** Explain the project back to me
Senior + Specific task:
## Your Onboarding Path
1. **Quick Scan:** CLAUDE.md TL;DR + Subsystems - 2 min
2. **Deep Read:** [task area]/AGENTS.md - 5 min
3. **Context:** Walk ancestors for inherited rules - 3 min
4. **Start:** [Entry point for task]
After they complete the path, ask:
If answers are weak, point them to specific sections.
If they found the Intent Layer confusing or incomplete:
### Intent Layer Feedback
| Type | Location | Finding |
|------|----------|---------|
| Unclear | `src/api/AGENTS.md` | Entry Points don't explain X |
| Missing | `CLAUDE.md` | No mention of Y subsystem |
Feed this back via intent-layer-maintenance skill.
show_hierarchy.sh to see structureFor onboarding multiple people or generating comprehensive multi-role documentation, use parallel subagents.
| Scenario | Approach |
|---|---|
| Single person, known role | Sequential (standard 15-min workflow) |
| Single person, exploring roles | Parallel role summaries |
| Multiple new team members | Parallel per-person paths |
| Comprehensive onboarding docs | Parallel section generation |
Generate role-specific orientations simultaneously:
Task 1 (Explore): "Generate frontend engineer orientation from Intent Layer.
Focus on: UI components, state management, styling patterns.
Return: relevant nodes, key contracts, entry points, pitfalls"
Task 2 (Explore): "Generate backend engineer orientation from Intent Layer.
Focus on: API layer, database, services, integrations.
Return: relevant nodes, key contracts, entry points, pitfalls"
Task 3 (Explore): "Generate DevOps/platform orientation from Intent Layer.
Focus on: infrastructure, CI/CD, deployment, monitoring.
Return: relevant nodes, key contracts, entry points, pitfalls"
Output: Three role-specific onboarding guides generated in parallel.
Generate full onboarding documentation in parallel sections:
Task 1 (Explore): "Extract project overview from Intent Layer root.
Return: TL;DR, architecture overview, subsystem map"
Task 2 (Explore): "Extract all global contracts and pitfalls from Intent Layer.
Return: merged constraints list, common mistakes to avoid"
Task 3 (Explore): "Extract all entry points across Intent Layer nodes.
Return: task → starting point mapping for common tasks"
Task 4 (Explore): "Identify complexity hotspots from Intent Layer.
Return: areas with most contracts/pitfalls (need careful reading)"
Synthesis: Combine into comprehensive onboarding document.
When newcomer has multiple potential first tasks:
Task 1 (Explore): "Generate context for 'fix login bug' task.
Find: relevant node, constraints, pitfalls, entry point"
Task 2 (Explore): "Generate context for 'add new API endpoint' task.
Find: relevant node, constraints, pitfalls, entry point"
Task 3 (Explore): "Generate context for 'update dashboard component' task.
Find: relevant node, constraints, pitfalls, entry point"
Output: Three task-context summaries, let newcomer pick their starting point.
For AI agents needing to understand unfamiliar codebase quickly:
Task 1 (Explore): "Read CLAUDE.md root node. Extract: purpose, subsystems,
global constraints, and identify which child nodes exist"
Task 2 (Explore): "For each child AGENTS.md, extract: ownership scope,
key contracts, main pitfalls. Return summary table"
Task 3 (Explore): "Map data flow through system using Intent Layer.
How does data move between subsystems?"
Synthesis: Complete mental model of codebase in ~5 minutes vs ~15 minutes sequential.
Scenario: 3 new engineers joining (1 frontend, 1 backend, 1 fullstack)
Parallel execution:
Task 1: "Create onboarding path for frontend engineer.
- Identify UI-related AGENTS.md nodes
- Extract frontend-specific contracts and pitfalls
- List frontend entry points for common tasks
- Generate Day 1 and Week 1 checklist"
Task 2: "Create onboarding path for backend engineer.
- Identify API/service AGENTS.md nodes
- Extract backend-specific contracts and pitfalls
- List backend entry points for common tasks
- Generate Day 1 and Week 1 checklist"
Task 3: "Create onboarding path for fullstack engineer.
- Identify cross-cutting AGENTS.md nodes
- Extract integration contracts and pitfalls
- List full-stack entry points
- Generate Day 1 and Week 1 checklist"
Output: Three personalized onboarding documents in parallel.
| Scenario | Sequential | Parallel |
|---|---|---|
| 3-role documentation | ~30 min | ~10 min |
| 5-person team onboarding | ~75 min | ~15 min |
| Comprehensive docs (4 sections) | ~40 min | ~12 min |
| Script | Purpose |
|---|---|
generate_orientation.sh | Create onboarding documents |
show_hierarchy.sh | Visualize Intent Layer structure |
show_status.sh | Check Intent Layer health |
query_intent.sh | Search for specific concepts |
walk_ancestors.sh | Gather context from hierarchy |
Scripts from intent-layer: ${CLAUDE_PLUGIN_ROOT}/scripts/
Scripts from intent-layer-query: ${CLAUDE_PLUGIN_ROOT}/scripts/
| Don't Do This | Do This Instead |
|---|---|
| Skip root, jump to code | Always read root first |
| Read all nodes exhaustively | Read root + your area |
| Ignore Pitfalls section | Pitfalls prevent 80% of mistakes |
| Assume contracts are optional | Contracts are hard requirements |
| Start coding without reading Entry Points | Entry Points show the correct starting place |
After onboarding, the newcomer should be able to:
If any of these fail, the Intent Layer may need improvement via maintenance skill.