Skip to content

Commit 0798c3c

Browse files
authored
feat: add ruby file extension mappings and simplification skill (#44)
* feat(simplify): add ruby file extension mappings * docs: update changelog
1 parent ee1b394 commit 0798c3c

3 files changed

Lines changed: 465 additions & 2 deletions

File tree

CHANGELOG.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,18 @@ All notable changes to agent-stuff are documented here.
7575

7676

7777

78-
## docs/update-interview-tool-docs
78+
79+
80+
81+
## feat/ruby-extension-support
82+
83+
Added Ruby file extension support to the code simplification pipeline, enabling the tool to properly identify and process `.rb`, `.rake`, `.gemspec`, `.ru`, and `.erb` files (#44). A comprehensive Ruby code simplification skill has been introduced, targeting Ruby 3.4+ and Rails 8, covering modern idioms (pattern matching, endless methods, hash shorthand), Rails-specific patterns (model macros, Strong Parameters, Solid Queue), and best practices for clarity and maintainability. The skill emphasizes preserving functionality while reducing complexity through guard clauses, guard clauses, eliminating dead code, and leveraging standard library methods—backed by automated tooling (RuboCop, Brakeman, Rails test suite) for verification.
84+
85+
## [1.0.29](https://github.com/kostyay/agent-stuff/pull/43) - 2026-03-14
7986

8087
Updated the brainstorming tool documentation to reflect migration from `ask_question` to the new `interview` tool (#43). The `interview` tool provides a richer user experience with native form windows supporting multiple question types (single/multi-select, text, info panels), inline editing, and rich media rendering including code blocks, tables, and mermaid diagrams. Documentation now clarifies when to batch independent questions into a single call versus sequential questions, introduces recommendation and conviction signals for guiding user choices, and provides comprehensive examples for common patterns like trade-off analysis, design validation, and architecture decisions. Key principle updates emphasize always using the `interview` tool, batching strategies to reduce round-trips, and leveraging rich context presentation to enhance decision-making.
8188

82-
## feat/background-task-runner
89+
## [1.0.29](https://github.com/kostyay/agent-stuff/pull/40) - 2026-03-14
8390

8491
Introduces a comprehensive background task runner extension (#40) that enables users to launch, monitor, and manage long-running processes via tmux with `/bgrun` and `/bgtasks` commands, plus a `bgrun` tool for LLM-initiated task control. Tasks are automatically assigned memorable window names derived from commands (e.g., `npm run dev``npm-dev`), tracked per session, and killed on `/new` or shutdown with a timed confirmation prompt. The extension emits `bgrun:stats` events for real-time status-bar integration and includes an interactive task manager TUI for viewing output, killing tasks, and monitoring durations. Also adds `control-channel.ts` library for inter-process UDP communication and updates status-bar to display background task counts alongside existing metrics.
8592

pi-extensions/simplify.ts

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,11 @@ const FILE_EXTENSIONS: Record<string, string> = {
5252
".go": "go",
5353
".py": "py",
5454
".pyi": "py",
55+
".rb": "ruby",
56+
".rake": "ruby",
57+
".gemspec": "ruby",
58+
".ru": "ruby",
59+
".erb": "ruby",
5560
};
5661

5762
// ---------------------------------------------------------------------------

0 commit comments

Comments
 (0)