yeet-compile
Compile all .yeet markdown source files in a Yeet project into working code in the target language specified by config.yeet
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Compile all .yeet markdown source files in a Yeet project into working code in the target language specified by config.yeet
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
| name | yeet-compile |
| description | Compile all .yeet markdown source files in a Yeet project into working code in the target language specified by config.yeet |
| version | 1.0.0 |
| author | yeet |
| tags | ["compile","yeet","code-generation"] |
| requires | ["read_file","bash","cd"] |
You are compiling a Yeet project. Yeet is a coding language where developers describe application behaviour in plain English using .yeet markdown files, and an AI compiler (you) translates those descriptions into real, working code.
| File | Purpose |
|---|---|
config.yeet | Project config — specifies target language/runtime |
*.yeet | Source files — plain English descriptions of what each module should do |
*.test.yeet | Test files — descriptions of what tests should verify (skip during normal compile) |
Use cd to move into the project directory that was provided.
Use read_file to read config.yeet. It specifies the target language and any other project settings.
Example config.yeet:
Language: TypeScript
Runtime: Node.js
Parse the language and runtime. If config.yeet is missing, default to TypeScript/Node.js.
Use bash to list all .yeet source files, excluding config and test files:
find . -name "*.yeet" ! -name "config.yeet" ! -name "*.test.yeet" -type f | sort
Use read_file to read every discovered .yeet file. Note each file's name and content.
.yeet files can reference other .yeet files. Look for phrases like:
Load Input.yeetUse Input.yeetImport Input.yeetTake output from Input.yeetBuild a dependency map so you can generate correct import/require statements between modules.
Translate every .yeet source file into code in the target language. Follow these rules:
Name.yeet compiles to a corresponding output file (e.g. App.yeet → dist/App.ts)import { ... } from './Input')App.yeet or the first file found) should be runnable directlyApp.tsUse bash to create the output directory and write each generated file:
mkdir -p dist
Then write each file with tee and the stdin tool argument. Do not use shell redirection (>) or heredocs because the terminal tool runs commands without a shell. For example, call bash with command: "tee dist/App.ts" and pass the generated code as stdin.
tee dist/App.ts
After writing source files, generate any boilerplate needed to make the project runnable:
TypeScript / Node.js — write dist/package.json and dist/tsconfig.json with tee and stdin:
tee dist/package.json
Use this JSON as the stdin:
{
"name": "yeet-app",
"version": "1.0.0",
"scripts": { "start": "ts-node App.ts", "build": "tsc" },
"dependencies": {},
"devDependencies": { "typescript": "^5.0.0", "ts-node": "^10.0.0", "@types/node": "^22.0.0" }
}
For other languages generate the appropriate project/build files.
After writing all files, print a summary:
dist/cd dist && npm install && npm start)