Skip to content
Back to skills

Walnut Register Repo

ASecurity

Deep-explore current codebase and register it as a Walnut repository. Produces a rich profile: what the project does, architecture overview, key components, tech stack, and common workflows. Use when user says "register repo", "add this repo", "/walnut-register-repo", or wants to create a Walnut repository profile for the current project.

  • 32 stars
  • 0 votes
  • 0 copies
  • 2 views
  • Added October 1, 2026
developmentpythongoreactfrontend

Works with

  • cli

Security analysis

A100/100

Pro scans all 3 files and shows the line behind each finding

Scanned October 1, 2026

npx -y skills add EvanZhang008/open-walnut --skill walnut-register-repo --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Walnut Register Repo?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Walnut Register Repo
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/evanzhang008-walnut-register-repo/badge)](https://www.skillsdirectory.com/skills/evanzhang008-walnut-register-repo)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: walnut-register-repo
description: >-
  Deep-explore current codebase and register it as a Walnut repository.
  Produces a rich profile: what the project does, architecture overview,
  key components, tech stack, and common workflows.
  Use when user says "register repo", "add this repo", "/walnut-register-repo",
  or wants to create a Walnut repository profile for the current project.
---

# Register Repository

Explore this codebase and produce a rich, structured repository profile.

## Goal

Create a YAML file at `~/.open-walnut/repositories/{slug}.yaml` that genuinely captures what this project is, how it works, and how to work with it. Someone reading this profile should understand the project without opening a single file.

## How to explore

Start with a quick broad scan — directory structure, README, package manifest — to get the lay of the land. Based on what you find, decide what needs deeper investigation. Use sub-agents for parallel deep dives into areas you identify as important.

You decide the exploration strategy. A React SPA needs different investigation than a microservice or a CLI tool. Go where the interesting stuff is.

**Quality bar**: "A web application built with React" is useless. "Real-time collaborative document editor with CRDTs for conflict resolution, React frontend with ProseMirror, and WebSocket sync server" is what we want.

## Output Format

Write the YAML to `~/.open-walnut/repositories/{slug}.yaml`:

```yaml
name: Project Name
description: >-
  1-3 sentences. Specific about what it does, not generic.
  This is what the Repositories page and every listing shows.
tech_stack: [Lang, Framework, DB, ...]
hosts:
  local:
    path: /absolute/path   # use current working directory

overview: |
  ## What
  What this project does — be specific.

  ## Why
  Why it exists — what problem, who uses it.

  ## How
  High-level how it works — the 30-second explanation.

architecture: |
  Major components, how they connect, key directories.
  An agent reading this should understand the codebase layout.

common_commands: |
  The commands a new developer needs on day one.
```

**Required**: name, description, hosts (at least one with path)
**Important**: overview and architecture. Nothing injects them into a session automatically, so write them for a person, and for the agent that reads the profile on purpose when a task names a repo it does not know. Anything a session must know unprompted belongs in that repo's own `AGENTS.md` / `CLAUDE.md` or in a skill.

The complete YAML format spec with examples is in `references/yaml-format.md` next to this SKILL.md file.

## After writing

Validate with the script next to this SKILL.md:
```
python3 {this_skill_dir}/scripts/validate-repo.py ~/.open-walnut/repositories/{slug}.yaml
```
(Replace `{this_skill_dir}` with the directory containing this SKILL.md file.)

Show the user the result. Don't ask a checklist of questions — just show it and ask if anything needs adjustment.

Files in this skill

  • SKILL.md2.9 KB
  • references/yaml-format.md5 KB
  • scripts/validate-repo.py5.9 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.