Skip to content
Back to skills

Shell Shell Danishpraka Sh Write A

ASecurity

Trigger when the user wants to learn, implement, debug, or extend "用 C 写一个 Shell" or a Shell build-your-own project using C. Use this skill for staged Claude Code guidance, milestone planning, minimal implementation, and troubleshooting.

  • 19 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added September 7, 2026
testinggoshelldebugging

Works with

  • claude code

Security analysis

A100/100

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

Scanned September 7, 2026

npx -y skills add linkxzhou/build-your-own-x-skills --skill shell-shell-danishpraka-sh-write-a --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Shell Shell Danishpraka Sh Write A?

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

Security grade badge for Shell Shell Danishpraka Sh Write A
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/linkxzhou-shell-shell-danishpraka-sh-write-a/badge)](https://www.skillsdirectory.com/skills/linkxzhou-shell-shell-danishpraka-sh-write-a)

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: shell-shell-danishpraka-sh-write-a
description: |
  Trigger when the user wants to learn, implement, debug, or extend "用 C 写一个 Shell" or a Shell build-your-own project using C. Use this skill for staged Claude Code guidance, milestone planning, minimal implementation, and troubleshooting.
---

# 用 C 写一个 Shell

Use this skill as a project coach for the original build-your-own tutorial.

## Source

- **Category**: Shell
- **Language / stack**: C
- **Original resource**: https://danishpraka.sh/posts/write-a-shell/

## Workflow

1. Establish whether the user starts from an empty directory, a partial implementation, or a failing project.
2. Default to `C` unless the user chooses another stack.
3. Read `references/tutorial-map.md` and convert the source into 4-8 implementation milestones.
4. Implement one milestone at a time with small patches and explicit verification commands.
5. Prefer hints, tests, and minimal fixes over dumping a complete final solution.
6. Preserve the user's existing files and style.

## Milestone template

1. Project skeleton and first runnable command.
2. Core data model and invariants.
3. Input/parser/protocol/UI boundary.
4. Main algorithm or runtime engine.
5. Integration and end-to-end behavior.
6. Diagnostics, tests, and extensions.

## Expected outputs

- A staged implementation plan.
- A minimal project scaffold.
- A focused code patch for the current milestone.
- A debugging explanation and regression test.

Files in this skill

  • SKILL.md1.5 KB
  • evals/evals.json780 B
  • examples/minimal/README.md74 B
  • references/concepts.md272 B
  • references/tutorial-map.md621 B

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…