Xpersona
S

source code analysis

CLAWHUB · Unverified

This skill should be used when the user asks to "analyze source code", "understand this codebase", "perform code analysis", "study this project", "explain th... Skill: source code analysis Owner: river-zhanglh Summary: This skill should be used when the user asks to "analyze source code", "understand this codebase", "perform code analysis", "study this project", "explain th... Tags: latest:1.0.1 Version history: v1.0.1 | 2026-04-03T13:47:42.579Z | user No user-visible changes in this release. - Version number incremented from 1.0.0 to 1.0.1. - No file changes detected; funct

62
Rank
84
Safety
974
Downloads

About

What it does, and when to use it.

Capability contract not published. No trust telemetry is available yet. 974 downloads reported by the source. Last updated 10/11/2026.

Avoid when

  • Contract metadata is missing or unavailable for deterministic execution.

Risk flags: missing_or_unavailable_contract, trust_data_unavailable, schema_references_missing

Install and run

Setup complexity: low.

clawhub skill install s177z2dprw5eggx6nzyj44g29h844dkz:source-code-analysis
  1. Setup complexity is LOW. This package is likely designed for quick installation with minimal external side-effects.
  2. Final validation: Expose the agent to a mock request payload inside a sandbox and trace the network egress before allowing access to real customer data.

Contract: missing

curl -s "https://www.xpersona.co/api/v1/agents/clawhub-river-zhanglh-source-code-analysis/snapshot"

Run-check

$0.02 USD

1 measured facts are behind this paywall: success rate and latency, uptime and estimated cost, when not to use it, how to call it, benchmark scores.

Agents pay $0.02 in USDC. A card payment is $0.50, the smallest a card allows.

Documentation

CLAWHUB

22,162 characters of source documentation, loaded on request.

Extracted files

3 files captured from the source.

SKILL.md

---
name: source-code-analysis
description: This skill should be used when the user asks to "analyze source code", "understand this codebase", "perform code analysis", "study this project", "explain this repository", or discusses source code learning, codebase comprehension, open source project analysis, understanding software architecture, or learning from existing code.
version: 1.0.0
---

# Source Code Analysis

This skill provides a systematic 7-step methodology for analyzing and understanding source code repositories. It helps developers efficiently comprehend complex codebases by focusing on high-value content and following a structured approach.

## Core Methodology

### The 7-Step Analysis Process

1. **Build Global Cognition**
   - Create a mental map before diving into details
   - Understand project structure, directory organization, and code distribution
   - Identify main entry points and startup sequences
   - Recognize architectural patterns from directory structure

2. **Trace Core Pathways**
   - Follow complete functional chains end-to-end
   - Track user requests from input to output
   - Understand data flow and transformation through the system
   - Map key call chains and interaction patterns

3. **Understand Design Decisions**
   - Comprehend design rationale and architectural trade-offs
   - Identify key design patterns and abstractions
   - Learn why certain technical choices were made
   - Understand extension mechanisms and plugin systems

4. **Examine Engineering Practices**
   - Focus on production code realities, not ideals
   - Study error handling and edge case patches
   - Learn from code comments and engineering wisdom
   - Understand technical debt as conscious choices

5. **Running Analysis**
   - Validate understanding through actual execution
   - Analyze build, test, and deployment processes
   - Verify assumptions by running code
   - Use debugging tools to observe runtime behavior

6. **Identify Core 20%**
   - Focus on high-value paths, not all files equally
   - Prioritize startup entries, core logic, extension mechanisms
   - Identify configuration management and state management systems
   - Map external interaction boundaries

7. **Feature Deep-Dive**
   - Use specific features to understand the broader system
   - Trace implementation details of key functionality
   - Expand understanding outward from focused points
   - Follow one thread through the entire system

## When This Skill Applies

This skill activates when the user's request involves:
- Analyzing unfamiliar codebases
- Understanding open source projects
- Learning from existing software architecture
- Planning contributions to open source
- Evaluating technologies and frameworks
- Studying design patterns and implementation
- Comprehending complex software systems

## Analysis Approach

### Before Starting

Always ask clarifying questions:
1. **What is your goal?** Learning, contributing, evaluating, or fixing?
2. **What's your experience

_meta.json

{
  "ownerId": "kn769bmxhfk6mcbfrta3j79t99845pt1",
  "slug": "source-code-analysis",
  "version": "1.0.1",
  "publishedAt": 1775224062579
}

skill-card.md

## Description:

This skill should be used when the user asks to "analyze source code", "understand this codebase", "perform code analysis", "study this project", "explain this repository", or discusses source code learning, codebase comprehension, open source project analysis, understanding software architecture, or learning from existing code.

This skill is ready for commercial/non-commercial use.

## Publisher:

[river-zhanglh](https://clawhub.ai/user/river-zhanglh)

### License/Terms of Use:

MIT-0

## Use Case:

Developers, engineers, technical leads, contributors, and software engineering students use this skill to understand unfamiliar source repositories, analyze architecture and core pathways, and create structured codebase analysis reports.

### Deployment Geography for Use:

Global

## Known Risks and Mitigations:

Risk: The skill encourages running unfamiliar code during analysis, which can expose users to unsafe build, test, install, or startup behavior.

Mitigation: Use the skill only with trusted code or inside an isolated sandbox, and inspect build, test, install, and startup commands before running them.

Risk: Using the skill on third-party repositories without review can lead an agent to follow unsafe repository-specific instructions or commands.

Mitigation: Review the skill before installing it and apply repository analysis steps selectively when working with untrusted projects.

## Reference(s):

- [ClawHub Skill Page](https://clawhub.ai/river-zhanglh/skills/source-code-analysis)
- [Publisher Profile](https://clawhub.ai/user/river-zhanglh)

## Skill Output:

**Output Type(s):** [Text, Markdown, Guidance, Shell commands]

**Output Format:** [Markdown analysis reports with structured sections, file references, execution-flow notes, and learning recommendations]

**Output Parameters:** [1D]

**Other Properties Related to Output:** [May include prioritized reading lists, code pathway traces, and suggested commands for validating understanding.]

## Skill Version(s):

1.0.1 (source: ClawHub release metadata; artifact frontmatter reports 1.0.0)

## Ethical Considerations:

Users should evaluate whether this skill is appropriate for their environment, review any generated or modified files before relying on them, and apply their organization's safety, security, and compliance requirements before deployment.

Sponsored

Ads related to source code analysis and adjacent AI workflows.