codebase-intel
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 "codebase-intel" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-01364ac77c19b2f6d7b8e0d90209c339e5b66787fc82129d38c8d3421ac5f41e. Verify the upstream source and version against https://github.com/wednesday-solutions/ai-agent-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
Skill for unified codebase intelligence analysis. Handles questions about code structure, logic, risks, and dependencies, combining natural-language Q&A with deterministic lookups, and performs impact-scope checks before edits.
Introduction source: third_party · wednesday-solutions · 0.0.1 Reference
SkillPi interpretation
- Tasks
- Unified codebase intelligence. Handles all questions about structure, logic, risk, and dependencies. Combines natural-language Q&A with deterministic lookups and pre-edit blast radius checks.
- Testing
- Not tested
Browse files
Frontmatter
name: codebase-intel
description: Unified codebase intelligence. Handles all questions about structure, logic, risk, and dependencies. Combines natural-language Q&A with deterministic lookups and pre-edit blast radius checks.
permissions:
allow:
- Bash(wednesday-skills query *)
- Bash(wednesday-skills blast *)
- Bash(wednesday-skills fill-gaps *)
- Read(.wednesday/codebase/MASTER.md)
- Bash(git log *)
- Bash(git diff *)Codebase Intelligence Specialist
This skill provides a comprehensive understanding of the project's structure, intent, and risk. Use it for everything from high-level architecture questions to detailed impact analysis before editing code.
When to use
1. Codebase Discovery & Q&A
- "What does
tokenServicedo?" (Summaries) - "Where is the payment logic located?" (Role/Path mapping)
- "Show me an overview of the architecture." (Stats & Entry points)
- "Who last touched this file?" (Git history)
- "Find circular dependencies or dead code." (Structural audit)
2. Risk Assessment (Before Editing)
- "Is it safe to change this function signature?"
- "What is the blast radius of this file?"
- "What will break if I delete this constant?"
3. Graph Maintenance
- If a query returns "not mapped" or coverage is low.
- If you notice missing dependencies in the graph.
How to use — by task type
🔍 Discovery & Q&A
- File Summary:
Bash(wednesday-skills query getFileSummary <file_path>)- Returns: Role, Summary, Risk Score, and Blast Radius.
- Architecture Stats:
Bash(wednesday-skills query getCodebaseStats)- Use
getHighConfidenceEntryPointsto identify the best starting files.
- Use
- Advanced Lookups:
Bash(wednesday-skills query getHighRiskFiles 70)— find critical technical debt.Bash(wednesday-skills query getCircularDependencies)— find architectural smells.Bash(wednesday-skills query getAllDeadCode)— find unreachable modules.
- Context:
Read .wednesday/codebase/MASTER.mdfor danger zones and primary data flows. - History:
Bash(git log --follow --oneline -20 -- <file>)for authorship.
⚠️ Pre-Edit Safety Check (Mandatory)
Before modifying any file, you MUST perform these checks:
- Check Risk:
Bash(wednesday-skills query getFileSummary <file_path>)- Score 0–30: Proceed directly.
- Score 31–60: Inform dev of the risk, proceed with care.
- Score 61–80: List direct dependents and transitive count; ask confirmation.
- Score 81–100: STOP. Require explicit dev approval before touching.
- Blast Radius:
Bash(wednesday-skills blast <file_path>::<symbol_optional>)- Review direct/transitive callers. Use this for cross-language impact (Go/Py/JS).
🛠 Graph Maintenance & Gaps
If you hit "not mapped" or detect a missing link:
- Gap Check:
Bash(sqlite3 .wednesday/graph.db "SELECT file_path, meta FROM nodes WHERE file_path LIKE '%<file>%'")- Check
metaforgaps.eventEmitter,gaps.dynamic, etc.
- Check
- Fill Gaps:
Bash(wednesday-skills fill-gaps --file <file> --min-risk 50)- Rule: Only edges with confidence > 0.70 are added automatically.
- Annotations: If gaps persist, ask dev to add
// @wednesday-skills:connects-to <symbol> → <file>. - Refresh:
Bash(wednesday-skills analyze --incremental)after adding annotations.
🚫 Never
- Guess: If data is missing, report "Not mapped" and suggest
wednesday-skills map --full. - Skip Checks: Never edit a file with risk > 80 without explicit dev confirmation.
- Token Bloat: Do NOT read raw source files to answer structural questions.
- Add Unreliable Edges: Never manually add edges with confidence below 0.70.
📄 Source Citation
Always end with the source:
graph.db— Structural/Summary dataMASTER.md— Architectural contextgit log— History/Authorship
Current listing version
0.0.1
Quality assessment
Out of 100 · Assessment report from SkillPi LAB.
Highlights
- 提供代码库结构发现、风险评估、依赖分析和预编辑影响检查,解决开发者高频刚需痛点
- 显著提升代码维护与修改效率,具备高实用价值
Areas to improve
-
description写错位置 Reported severity: Minor
顶层 frontmatter 中 description 字段为空,实际描述内容位于 skill_body 内部
Recommendation: 将 description 内容移至顶层 frontmatter 的 description 字段中,确保触发系统能正确识别
Highlights
- 触发描述清晰完整,覆盖代码结构、逻辑、风险、依赖等多种场景
- 提供了丰富的触发示例和任务类型,边界清晰,易于理解
Areas to improve
-
排版问题 Reported severity: Minor
'When to use' 章节标题使用小写,建议统一为首字母大写 'When to Use' 以符合常规文档规范
Recommendation: 将 'When to use' 调整为 'When to Use',保持标题格式一致性
Highlights
- 结构清晰,分 When to use、How to use、Never、Source Citation 等章节
- 步骤明确,有出口条件,含端到端示例,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.
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.