Skip to content

Commit ef741db

Browse files
Kasper Jungeclaude
authored andcommitted
docs: explain --dangerously-skip-permissions for users who hesitate at the flag name
Add an info box in getting-started explaining what the -p and --dangerously-skip-permissions flags do and why they're safe to use with ralphify's check system. Also fix the project detection table order in how-it-works to match the actual code evaluation order. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 4579fac commit ef741db

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

docs/getting-started.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,11 @@ args = ["-p", "--dangerously-skip-permissions"]
5353
prompt = "PROMPT.md"
5454
```
5555

56+
!!! info "What does `--dangerously-skip-permissions` do?"
57+
Claude Code normally asks for your approval before running shell commands, editing files, or making git commits. The `--dangerously-skip-permissions` flag disables these interactive prompts so the agent can work autonomously without waiting for input. The `-p` flag enables non-interactive ("print") mode, which reads the prompt from stdin instead of opening a chat session.
58+
59+
This is safe to use when ralphify is the only thing running the agent, because **checks** act as your guardrails — they validate the agent's work after each iteration and feed failures back for the agent to fix.
60+
5661
**`PROMPT.md`** — the prompt that gets piped to the agent each iteration. The default is a generic starting point — you'll customize it next.
5762

5863
## Step 3: Write your prompt

docs/how-it-works.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -280,10 +280,12 @@ When you run `ralph init`, ralphify detects your project type by looking for mar
280280

281281
| File found | Detected type |
282282
|---|---|
283-
| `pyproject.toml` | Python |
284283
| `package.json` | Node.js |
284+
| `pyproject.toml` | Python |
285285
| `Cargo.toml` | Rust |
286286
| `go.mod` | Go |
287287
| None of the above | Generic |
288288

289+
Files are checked in the order shown above. If a project contains multiple manifest files (e.g. both `package.json` and `pyproject.toml`), the first match wins.
290+
289291
The detected type is displayed during init but doesn't currently change the generated configuration. All project types get the same default `ralph.toml` and `PROMPT.md`.

0 commit comments

Comments
 (0)