Skip to content

docs: clarify slash commands (/newtask vs /smol) (#2160)#5869

Merged
olearycrew merged 1 commit into
Kilo-Org:mainfrom
EloiRamos:docs/2160-slash-commands-clean
Feb 16, 2026
Merged

docs: clarify slash commands (/newtask vs /smol) (#2160)#5869
olearycrew merged 1 commit into
Kilo-Org:mainfrom
EloiRamos:docs/2160-slash-commands-clean

Conversation

@EloiRamos
Copy link
Copy Markdown
Contributor

Context

Users have reported confusion between the /newtask and /smol slash commands (issue #2160). The existing documentation did not clearly explain the difference between these commands or when each should be used.

Implementation

  • Added documentation for /newtask and /smol to the Using Modes page.
  • Introduced a comparison section explaining the behavioral difference:
    • /newtask creates a new task while carrying over context.
    • /smol condenses the current context window.
  • Added a small clarification reference in the CLI documentation, without making unsupported claims about CLI-specific behavior.

Behavior was verified against:

  • webview-ui/src/utils/slash-commands.ts
  • src/core/slash-commands/kilo.ts
  • src/core/prompts/commands.ts

Docs-only change. No runtime code modified.

Fixes #2160

@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Feb 13, 2026

⚠️ No Changeset found

Latest commit: c3abce1

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@jeremylongshore
Copy link
Copy Markdown

Review: kilocode #5869

docs: clarify slash commands (/newtask vs /smol) (#2160) by @EloiRamos
Multi-AI analysis: Fork PR #5 — reviewed by CodeRabbit, Gemini, CodeQL, Qodo

Checklist

Check Result Notes
Correctness PASS /newtask and /smol descriptions match source code
Conventions ISSUE cli.md change breaks existing document structure
Changeset SKIP Docs-only PR, no version bump required
Tests N/A No code changes
i18n N/A Docs site, not UI strings
Types N/A No TypeScript
Security N/A Static documentation
Scope PASS Two files, single concern

Findings

🟡 cli.md: New section breaks existing configuration list

File: apps/kilocode-docs/pages/code-with-ai/platforms/cli.md (lines 167-174)

The new ## Slash Commands header is inserted in the middle of the "Configuration is managed through:" list, which:

  1. Removes two existing list items (/connect command and config file path ~/.config/kilo/config.json)
  2. Orphans the remaining kilo auth bullet point after the new section
  3. Breaks the grammatical flow — the sentence "Configuration is managed through:" now has no list following it

Before:

Configuration is managed through:

- `/connect` command for provider setup (interactive)
- Config files directly at `~/.config/kilo/config.json`
- `kilo auth` for credential management

After (problematic):

Configuration is managed through:

## Slash Commands
...
{% /callout %}
- `kilo auth` for credential management

Suggested fix: Keep the configuration list intact. Place the new Slash Commands section either before or after the Configuration block, and restore the removed list items.

✅ using-modes.md: Clean and accurate

The additions to using-modes.md are well-structured. The comparison table for /newtask vs /smol is clear and the descriptions match the source code in webview-ui/src/utils/slash-commands.ts.

CI Status

Check Result
Build Markdoc Site PASS
compile PASS
check-translations PASS
unit-test PASS
test-extension (ubuntu) PASS
test-extension (windows) PASS
test-webview (ubuntu) PASS
test-webview (windows) PASS
build-cli PASS
test-cli PASS
test-jetbrains PASS
Vercel SKIP (auth required, expected for external contributors)

Code Snippets

# apps/kilocode-docs/pages/code-with-ai/platforms/cli.md (structural issue)

 Configuration is managed through:

-- `/connect` command for provider setup (interactive)
-- Config files directly at `~/.config/kilo/config.json`
+## Slash Commands
+
+The CLI's interactive mode supports slash commands for common operations...
+
+{% callout type="tip" %}
+**Confused about /newtask vs /smol in the IDE?**...
+{% /callout %}
 - `kilo auth` for credential management
# apps/kilocode-docs/pages/code-with-ai/agents/using-modes.md (clean)

-2. **Slash command:** Type `/architect`, `/ask`, `/debug`, or `/code` in the chat input
+2. **Slash command:** Type `/architect`, `/ask`, `/debug`, or `/code` in the chat input to switch modes. Type `/newtask` to create a new task, or `/smol` to condense your context window.

+### Understanding /newtask vs /smol
+
+| Command    | Purpose                                               | When to Use                                      |
+| ---------- | ----------------------------------------------------- | ------------------------------------------------ |
+| `/newtask` | Creates a new task with context from the current task | When you want to start something new...          |
+| `/smol`    | Condenses your current context window                 | When your conversation is getting too long...    |

Verdict

COMMENT - The using-modes.md changes are clean and accurate. However, the cli.md change has a structural issue: it breaks the existing configuration list by inserting a new ## Slash Commands section in the middle of it, removing two configuration items (/connect and config file path) and orphaning kilo auth. This was independently flagged by both CodeRabbit and Gemini on the fork analysis. Recommend restructuring cli.md to keep the configuration list intact while adding the slash commands section separately.

@jeremylongshore
Copy link
Copy Markdown

jeremylongshore commented Feb 14, 2026

Review Journal: kilocode #5869

PR: #5869 |
Title: docs: clarify slash commands (/newtask vs /smol) (#2160) |
Author: @EloiRamos |
Category: docs | Tier: 1 | Size: 20 lines, 2 files | Confidence: 4/5

Multi-AI analysis: Fork PR #5 — CodeRabbit, Gemini, CodeQL, Qodo


Summary

This PR addresses issue #2160 by clarifying the difference between /newtask and /smol slash commands. The using-modes.md change is clean — a well-structured comparison table that matches the source code. The cli.md change has a structural problem: it breaks an existing configuration list by inserting a new section mid-list, removing two items and orphaning a third. Both AI reviewers independently flagged the same issue.

First Impressions

A docs: prefix with two files suggests a cross-cutting documentation improvement. The linked issue (#2160) is a reasonable user confusion point — /newtask and /smol sound similar but serve different purposes. Expected a straightforward clarification; found one clean change and one that needs structural revision.

What I Looked At

  1. The PR diff — 2 files: using-modes.md (+9 lines, clean) and cli.md (+5/-2, structural issue)
  2. Issue #2160 — User request to clarify command differences
  3. Source codewebview-ui/src/utils/slash-commands.ts:22-34 to verify command descriptions
  4. Fork PR More rename #5 — Bot reviews from CodeRabbit and Gemini
  5. All upstream CI checks — 12/12 pass (Vercel skipped, expected)

Analysis

using-modes.md — Clean

The change extends step 2 in the "Four ways to switch modes" list and adds a subsection with a comparison table:

Command Purpose When to Use
/newtask Creates a new task with context from the current task Starting something new while carrying over context
/smol Condenses your current context window Conversation too long, want to summarize

I verified these descriptions against the source code:

// webview-ui/src/utils/slash-commands.ts
{ name: "newtask", description: "Create a new task with context from the current task" },
{ name: "smol", description: "Condenses your current context window" },

Accurate match. The ### Understanding /newtask vs /smol heading also creates a clean anchor for the cross-reference in the cli.md callout.

cli.md — Structural Break

The new ## Slash Commands section is inserted between line 165 ("Configuration is managed through:") and the configuration list items. This creates three problems:

  1. Removed content: The /connect command reference and config file path (~/.config/kilo/config.json) are deleted
  2. Orphaned bullet: kilo auth now sits alone after a callout block, disconnected from its parent list
  3. Broken grammar: "Configuration is managed through:" introduces nothing

The intent is good — adding a cross-reference to the using-modes.md explanation. But the execution needs restructuring: keep the configuration list intact and place the Slash Commands section in its own location.

Verification

All relevant CI checks pass:

Build Markdoc Site     PASS    (directly relevant - docs build)
check-translations     PASS    (directly relevant - no broken strings)
compile                PASS
test-extension         PASS    (ubuntu + windows)
test-webview           PASS    (ubuntu + windows)
unit-test              PASS
build-cli              PASS
test-cli               PASS
test-jetbrains         PASS
Vercel                 SKIP    (auth required for external contributors)

Diagrams

graph LR
    subgraph "using-modes.md ✅"
        A["Step 2: Slash command"] --> B["Extended text<br>/newtask, /smol mentioned"]
        B --> C["NEW: ### Understanding<br>/newtask vs /smol"]
        C --> D["Comparison table"]
    end

    subgraph "cli.md ⚠️"
        E["'Configuration is<br>managed through:'"] --> F["❌ /connect removed"]
        E --> G["❌ config path removed"]
        E --> H["NEW: ## Slash Commands<br>(breaks list)"]
        H --> I["Tip callout<br>(cross-ref to using-modes)"]
        I --> J["⚠️ Orphaned:<br>'kilo auth'"]
    end

    style C fill:#2d6a4f,stroke:#1b4332,color:#d8f3dc
    style D fill:#2d6a4f,stroke:#1b4332,color:#d8f3dc
    style F fill:#9d0208,stroke:#6a040f,color:#fff
    style G fill:#9d0208,stroke:#6a040f,color:#fff
    style H fill:#e9c46a,stroke:#f4a261,color:#264653
    style J fill:#e9c46a,stroke:#f4a261,color:#264653
Loading

Bot Review Synthesis

Bot Verdict Key Finding Useful?
CodeRabbit Comment Flagged orphaned kilo auth bullet and structural break Yes — same finding as manual review
Gemini Comment Flagged both cli.md structure break AND using-modes.md list nesting Yes — caught both files, one was a false positive
Greptile No response Did not comment on this PR Needs investigation
CodeQL N/A No security findings (docs-only) Expected
Qodo Failed "Failed to generate code suggestions" Config issue persists

Bot consensus: CodeRabbit and Gemini both independently identified the cli.md structural issue. Gemini also flagged the ### Understanding /newtask vs /smol header inside a numbered list in using-modes.md as potentially breaking list continuity — this is a valid concern with strict Markdown parsers, though Markdoc may handle it fine. Two-bot consensus on the main finding increases confidence.

Lessons Learned

1. Cross-cutting docs changes need structural awareness. When adding content to existing documentation, check that you're not splitting an in-progress syntactic structure (list, table, code block). The cli.md change is a classic "insert in the wrong spot" issue.

2. Bot agreement strengthens review confidence. When two independent AI reviewers flag the same issue with different framing (CodeRabbit: "orphaned bullet", Gemini: "breaks grammatical flow"), the finding is almost certainly real. This is the first review where bot consensus directly validated manual analysis.

3. Source code verification catches docs drift. Checking slash command descriptions against slash-commands.ts confirmed accuracy. As the codebase evolves, these descriptions could drift — the source code is the ground truth.

4. All CI green doesn't mean all content is correct. Markdoc built successfully despite the structural issue. The build validates syntax, not document coherence. Human/AI review catches what CI cannot.


Review #2 of 75 | Review methodology: AI PR Review Case Studies | Reviewed with GWI + Claude Code

jeremylongshore added a commit to jeremylongshore/kilocode that referenced this pull request Feb 15, 2026
Mirror: docs: clarify slash commands /newtask vs /smol (Kilo-Org#5869)
@kevinvandijk kevinvandijk added the documentation Improvements or additions to documentation label Feb 15, 2026
Copy link
Copy Markdown
Contributor

@olearycrew olearycrew left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@EloiRamos thanks for this!

@olearycrew olearycrew merged commit e23b742 into Kilo-Org:main Feb 16, 2026
13 of 14 checks passed
@vercel vercel Bot temporarily deployed to docs-staging – docs February 16, 2026 16:02 Inactive
j-Guru pushed a commit to j-Guru/kilocode that referenced this pull request Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document various slash commands

4 participants