intent-layer
Installation
Review the source and dependencies with a prompt. A package is available to download.
Install with an AI assistant
Copy the prompt so your assistant can review the pinned revision and dependencies first.
View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "intent-layer" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-eb37e0ae9d0d1f2879ef72b1ff7c05ab26544bdae86985faeea6887543a50f32. Verify the upstream source and version against https://github.com/crafter-station/skills before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.
Source and setup
github.com
Setup guidance pending
See the original source for supported tools, dependencies, and permissions.
Installation test pending
Set up a layered intent layer for a codebase (AGENTS.md file). Suitable for initializing new projects or adding contextual infrastructure to existing repos, creating AGENTS.md per user requirements, adding an intent layer to help agents understand the codebase, or building an AI-friendly project documentation framework.
Introduction source: third_party · crafter-station · 1.0.0 Reference
SkillPi interpretation
- Tasks
- Hierarchical AGENTS.md infrastructure so agents navigate codebases like senior engineers.
- Audience
- Not specified in the source documentation.
- Inputs and outputs
- Not specified in the source documentation.
- Software, accounts and paid services
- Not specified in the source documentation.
- Limits and differences
- Not specified in the source documentation.
- Testing
- Not tested
Browse files
Frontmatter
name: intent-layer
version: 1.0.0
description: >
Set up hierarchical Intent Layer (AGENTS.md files) for codebases.
Use when initializing a new project, adding context infrastructure to an existing repo,
user asks to set up AGENTS.md, add intent layer, make agents understand the codebase,
or scaffolding AI-friendly project documentation.Intent Layer
Hierarchical AGENTS.md infrastructure so agents navigate codebases like senior engineers.
Core Principle
Only ONE root context file. CLAUDE.md and AGENTS.md should NOT coexist at project root. Child AGENTS.md in subdirectories are encouraged for complex subsystems.
Workflow
1. Detect state
scripts/detect_state.sh /path/to/project
→ Returns: none | partial | complete
2. Route
none/partial → Initial setup (steps 3-5)
complete → Maintenance (step 6)
3. Measure [gate - show table first]
scripts/analyze_structure.sh /path/to/project
scripts/estimate_tokens.sh /path/to/each/source/dir
4. Decide
No root file → Ask: CLAUDE.md or AGENTS.md?
Has root file → Add Intent Layer section + child nodes if needed
5. Execute
Use references/templates.md for structure
Use references/node-examples.md for real-world patterns
Validate: one root, READ-FIRST directive, <4k tokens per node
6. Maintenance mode (when state=complete)
Ask user:
a) Audit nodes → Use references/capture-protocol.md for SME questions
b) Find candidates → Re-measure tokens, suggest new nodes
c) Both
When to Create Child Nodes
| Signal | Action |
|---|---|
| >20k tokens in directory | Create AGENTS.md |
| Responsibility shift | Create AGENTS.md |
| Hidden contracts/invariants | Document in nearest ancestor |
| Cross-cutting concern | Place at LCA |
Do NOT create for: every directory, simple utilities, test folders (unless complex).
Capture Questions
When documenting existing code, ask:
- What does this area own? What's out of scope?
- What invariants must never be violated?
- What repeatedly confuses new engineers?
- What patterns should always be followed?
Resources
Scripts:
scripts/detect_state.sh- Check Intent Layer state (none/partial/complete)scripts/analyze_structure.sh- Find semantic boundariesscripts/estimate_tokens.sh- Measure directory complexity
References:
references/templates.md- Root and child node templatesreferences/node-examples.md- Real-world examplesreferences/capture-protocol.md- SME interview protocol
Current listing version
1.0.0
Safety and assessment details
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供清晰的代码库分层意图层解决方案
- 适用于新项目和现有仓库的 AI 上下文基础设施建设
- 满足开发者对 AI 友好项目文档的实际需求
Highlights
- 触发描述完整覆盖多种使用场景
- 边界清晰,不易与其他 Skill 混淆
- 包含多个变体表达,提升触发准确性
Areas to improve
-
缺少显式 When to Use 章节 Reported severity: Minor
虽然 description 中已包含使用场景,但未在正文中设立显式的 When to Use 章节
Recommendation: 建议在正文开头增加显式的 When to Use 章节以提升可读性
Highlights
- Phase/步骤划分清晰,包含完整的端到端工作流
- frontmatter 完整,文件长度适中
- 包含门控条件和决策逻辑
Highlights
- 工具来源明确,参数使用正确
- 覆盖主要异常情况和维护模式
- 包含用户确认机制,降低误操作风险
The arithmetic mean of the first four original scores, rounded to a whole number.
Static text checks
100 / 100 · skillpi-20261123-no-r3-v1
No current rules matched the text.
This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.
Permissions and checks before use
Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.
These common operations were not identified in the main document. This does not mean no permissions or risks exist.
Security rating and access scope
safe · Static evidence review; not a runtime safety guarantee.
Not specified in the source documentation.
Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.
User discussion
No verified reviews yet.