domain-discover
Discover and document domain knowledge from a codebase into a structured knowledge file
How do I install this agent skill?
npx skills add https://github.com/delexw/claude-code-misc --skill domain-discoverIs this agent skill safe to install?
- Gen Agent Trust Hubpass
The domain-discover skill automates the extraction of domain knowledge from a codebase by scanning directory structures and reading configuration, source, and documentation files. It utilizes shell commands for directory setup. The main security risk is indirect prompt injection, as the skill lacks sanitization and explicit boundary markers when processing untrusted code comments and files from external repositories, which could be used to manipulate the agent's behavior.
- Socketpass
No alerts
- Snykpass
Risk: LOW · No issues
- Runlayerpass
2/3 files flagged
What does this agent skill do?
Discover Domain Knowledge
You are tasked with creating a comprehensive domain knowledge file for a codebase that will help future Claude Code instances work effectively with this repository.
Inputs
Raw arguments: $ARGUMENTS
Infer from the arguments:
- DOMAIN_NAME: the domain name, used as the output filename
- OUT_DIR: output directory, or
.(project root) if not provided
Output Location
- Creates or updates
OUT_DIR/{DOMAIN_NAME}.md - Run
mkdir -p OUT_DIRbefore writing to ensure the directory exists.
Objective
Analyze the provided codebase and create or update a {DOMAIN}.md file containing essential information for productive development.
Analysis Approach
- First, scan the repository structure to understand the project type and technology stack
- Read key configuration files (package.json, requirements.txt, Makefile, etc.) to identify build/test commands
- Examine main application files to understand the high-level architecture
- Review existing documentation (README.md, docs/) for important context
Execution
Follow references/rules.md for content requirements, guidelines, and safety rules. Use references/output-format.md for the output template and validation criteria.
How can the creator link this skill?
Add the canonical catalog link to the repository README so users can inspect current installs and available audits. The publishing guide covers the complete discovery path.
<a href="https://skillzs.dev/skills/delexw/claude-code-misc/domain-discover">View domain-discover on skillZs</a>