Automated summary
Provides agent capabilities to explore projects, read and search code, edit files, and execute terminal commands.
Strengths
- Enables efficient file investigation and precise code editing using exact text matching
- supports batch edits with apply_edit_blocks
- reduces errors by using sed to extract exact context for replacements.
Limitations
- Requires exact string matching for edits, making it sensitive to whitespace differences
- depends on terminal commands for context extraction which may not be available in all environments
- limited to file-based operations.
Use when you need to make targeted edits to code files in a project, especially when requiring precise replacements or batch changes.
Do not use for tasks requiring high-level refactoring or understanding of code semantics beyond text manipulation.
Security analysis
CautionThe skill includes a powerful tool (run_terminal_command) that can run shell commands, posing a risk if the agent acts on untrusted instructions. However, it is intended for legitimate coding tasks and does not include destructive or exfiltrating patterns.
- •Allows arbitrary command execution via run_terminal_command, which could be misused if the agent is not properly sandboxed.
Examples
Investigate the folder structure of my project and save a summary report as .test.Agent.md.Search for the word 'deprecated' in the entire src directory.Replace a print statement in main.py with a new message. First, read the file to find the exact lines, then use sed to extract them, and finally apply the edit using apply_edit_blocks.name: coder description: Coding assistant capabilities including file investigation, reading, searching, editing, and command execution. allowed-tools:
- investigate_and_save_report
- read_code_file
- search_in_files
- edit_code_file
- apply_edit_blocks
- run_terminal_command
- create_file
Coder Skill
This skill provides the agent with capabilities to act as a coding assistant, exploring projects, reading code, and making edits.
Tools
investigate_and_save_report
Investigates a folder structure and writes a markdown summary named ".test.Agent.md" in that folder.
folder_path: The absolute path of the folder to investigate.
read_code_file
Read a code file incrementally.
file_path: Absolute path to the file.start_line: Starting line number (1-based, inclusive). Default is 1.end_line: Ending line number (1-based, inclusive). Default is -1 (end of file).
search_in_files
Use grep to search for patterns in files within a directory.
folder_path: The directory to search in.pattern: The text or regex pattern to search for.
edit_code_file
Edit a code file by replacing an exact text block.
file_path: Absolute path to the file.old_string: The exact string to find and replace.new_string: The string to replace it with.
apply_edit_blocks
Apply multiple search/replace edits to a file in a single pass. This is PREFERRED over edit_code_file for complex changes.
file_path: Absolute path to the file.edits: A string containing one or more edit blocks using the SEARCH/REPLACE format.
create_file
Create a new file with optional content, overwrite existing file, or append.
file_path: Absolute path to the file.content: Optional text content to write.overwrite: If True (default), overwrite existing file.append: If True, append content to existing file.
run_terminal_command
Run terminal commands.
command: The full shell command to execute.
Usage Strategy: Reliable Code Editing
To edit files efficiently and correctly using apply_edit_blocks, follow this distinct workflow. This method prevents "SEARCH block not found" errors by ensuring you have the exact text.
Standard Workflow
- Locate: Read the file (
read_code_file) to find the approximate location of the code you want to change. - Extract Exact Context:
- Once you identify the lines (e.g., lines 10-15), use
sedto extract exactly those lines. - Command:
sed -n '10,15p' <filename> - This output provides the perfect text for your
SEARCHblock, guaranteeing a match.
- Once you identify the lines (e.g., lines 10-15), use
- Apply Edit:
- Copy the output from step 2 into the
<<<<<<< SEARCHblock. - Write your new code in the
=======...>>>>>>> REPLACEblock. - Call
apply_edit_blocks.
- Copy the output from step 2 into the
Rules for apply_edit_blocks
- SEARCH Blocks Must Be Exact: The tool performs a string find. Any difference in whitespace or indentation will cause it to fail. Using
sedorcatto get the raw text is safer than remembering it. Note: Avoid usingcat -aon Windows or macOS, as the-aflag is not available. Usesedor plaincatinstead. - Use Sufficient Context: Include 3-5 lines of context in your
SEARCHblock to ensure it is unique within the file. - Multiple Edits: You can pass multiple
SEARCH/REPLACEblocks in one tool call to perform several edits at once.
Example
Goal: Change a print statement on line 42.
-
Check Content:
sed -n '40,45p' main.pyOutput:
if x > 0: print("Positive") return True -
Call Tool:
{ "file_path": "/abs/main.py", "edits": "<<<<<<< SEARCH\n if x > 0:\n print(\"Positive\")\n return True\n=======\n if x > 0:\n print(\"Found positive value\")\n return True\n>>>>>>> REPLACE" }
From the file to a first result
The download contains exactly the content displayed on this page. This copy may differ from the latest version in the source repository.
View the source and supporting filesThis download contains SKILL.md only. Any scripts, references, templates and dependencies are not included. Get the required files from the source, preserving their directory structure, before continuing.
1. Download the file
Download SKILL.mdFrom the root of a test project, save the file as .skill-downloads/coder-assistant-mm8o51om/SKILL.md, or use the command below. This folder is for inspecting the skill before installation.
Command for macOS/Linux or WSL: requires a POSIX shell and curl. On Windows without WSL, use the download button and create the folder manually.
mkdir -p '.skill-downloads/coder-assistant-mm8o51om' && curl --fail --show-error --location 'https://skills-guides.com/api/skills/coder-assistant-mm8o51om/download' --output '.skill-downloads/coder-assistant-mm8o51om/SKILL.md.part' && mv '.skill-downloads/coder-assistant-mm8o51om/SKILL.md.part' '.skill-downloads/coder-assistant-mm8o51om/SKILL.md'2. Check prerequisites
Read SKILL.md before using it. If it references scripts or external services, inspect them and prepare the required access in your test environment.
No recognized prerequisites section in this file. This does not mean it is self-contained: libraries, tools and access requirements may be mentioned elsewhere in the content or source repository.
The platforms on this page are catalog indications. The paths below follow tool documentation; they do not prove this skill has been run in those tools. No minimum tool version is confirmed for this listing.
3. Load the skill
After inspection, copy the complete folder into your project using one of the commands below, then open a new tool session. The command stops if a folder with the same name already exists: compare the files before replacing it.
Claude Code
test -f '.skill-downloads/coder-assistant-mm8o51om/SKILL.md' && test -s '.skill-downloads/coder-assistant-mm8o51om/SKILL.md' && mkdir -p '.claude/skills' && test ! -e '.claude/skills/coder' && cp -R '.skill-downloads/coder-assistant-mm8o51om' '.claude/skills/coder'OpenSkills
OpenSkills must already be installed. The local install/read procedure is checked with OpenSkills 1.5.0, which requires Node.js ≥ 20.6.0. Catalog slugs are not resolved automatically.
Official OpenSkills installationopenskills install './.skill-downloads/coder-assistant-mm8o51om'openskills read 'coder-assistant-mm8o51om'Reading should display the installed file content and its base directory. It does not run the skill or install its dependencies.
For an agent that reads AGENTS.md, then sync the index. This command changes AGENTS.md: review the diff before using it.
openskills syncManual method or another tool: attach SKILL.md to a conversation, or open it in an agent that can read files. Include any required supporting resources. No universal folder is recognized by every tool.
4. Try a first task
Use a short, synthetic input: an API endpoint, a small document or an interface brief. In a new conversation, attach the file or give the agent its path, then adapt this request:
Read .skill-downloads/coder-assistant-mm8o51om/SKILL.md and apply its instructions to this example: [describe a test input]. Identify any missing files, dependencies or access. Produce the result requested by the skill without inventing data or running unreviewed scripts.Expected result: output matching the skill instructions, or a precise list of missing prerequisites. A read confirmation alone does not validate a first use. If an external resource is unavailable, that path remains untested.
React Hook Form Best Practices
Development
Master React Hook Form: avoid anti-patterns, manage subscriptions, and handle reset, dirty state, and controlled inputs correctly.
Emotion to Mantine Migration
Development
Migrate Emotion styled-components to Mantine components with style props and CSS modules. Use when converting .styled.tsx files or removing @emotion imports.
Scope Creep Detector
Development
Analyzes git diffs against a stated intent to detect scope creep, unrelated files, broad PRs, and oversized changes, then suggests keep, split, or justify actions.