-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(coder): Add Coder agent, README, and file creation tool
This commit introduces a new AI agent called "Coder" that assists with coding tasks. It includes a README file outlining the Coder agent's features, examples, and similar projects. Additionally, a new tool `fs_create.sh` is provided for creating files. The motivation behind this is to provide an AI assistant capable of handling various coding-related operations, such as project structure creation, screenshot-to-code conversion, file system operations, code analysis, and diff-based file editing. The `fs_create.sh` tool is the first step for file system operations.
- Loading branch information
1 parent
219b6bd
commit 788a51c
Showing
3 changed files
with
45 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
# Coder | ||
|
||
An AI agent that assists your coding tasks. | ||
|
||
## Features | ||
|
||
- 🏗️ Intelligent project structure creation and management | ||
- 🖼️ Convert screenshots into clean, functional code | ||
- 📁 Comprehensive file system operations (create folders, files, read/write files) | ||
- 🧐 Advanced code analysis and improvement suggestions | ||
- 📊 Precise diff-based file editing for controlled code modifications | ||
|
||
## Examples | ||
|
||
 | ||
|
||
https://github.com/user-attachments/assets/9363990f-15a9-48c6-b227-8900cfbe0a18 | ||
|
||
## Similar Projects | ||
|
||
- https://github.com/Doriandarko/claude-engineer | ||
- https://github.com/paul-gauthier/aider |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#!/usr/bin/env bash | ||
set -e | ||
|
||
# @env LLM_OUTPUT=/dev/stdout The output path | ||
|
||
ROOT_DIR="${LLM_ROOT_DIR:-$(cd "$(dirname "${BASH_SOURCE[0]}")/../.." && pwd)}" | ||
|
||
# @cmd Create a new file at the specified path with contents. | ||
# @option --path! The path where the file should be created | ||
# @option --contents! The contents of the file | ||
fs_create() { | ||
"$ROOT_DIR/utils/guard_path.sh" "$argc_path" "Create '$argc_path'?" | ||
mkdir -p "$(dirname "$argc_path")" | ||
printf "%s" "$argc_contents" > "$argc_path" | ||
echo "File created: $argc_path" >> "$LLM_OUTPUT" | ||
} | ||
|
||
# See more details at https://github.com/sigoden/argc | ||
eval "$(argc --argc-eval "$0" "$@")" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
fs_mkdir.sh | ||
fs_ls.sh | ||
fs_patch.sh | ||
fs_cat.sh |