Skip to content
Agentmart
Submit a tool

mcp-tools

Skill by sazardev

IndexedMIT★ 304
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/sazardev-mcp-tools

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

The publisher has not written a description yet.

Use cases: agent-building

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions: not checked yet.

What's inside

Skill name
mcp-tools
Description
None
License
MIT
Instructions
202 lines in SKILL.md · view on GitHub

Agent Skills spec issues

  • missing YAML frontmatter
  • name: missing
  • description: missing

Files (1)

  • SKILL.md

SKILL.md (first lines)

# Skill: MCP Tools for Goca

**Domain:** Maximizing the use of Serena MCP and Context7 MCP to work efficiently with the Goca codebase — minimal token usage, maximum accuracy.

---

## Serena MCP — Symbol-First Code Navigation

Serena provides symbolic understanding of Go code. Always use symbolic tools BEFORE reading raw files.

### The Serena Workflow

```
1. Get overview → 2. Find specific symbol → 3. Read body only if editing → 4. Edit symbolically
```

#### 1. Get structural overview of a file

```
mcp_oraios_serena_get_symbols_overview(relative_path="cmd/entity.go")
```

Returns: all top-level symbols (types, functions, vars) with line numbers — no code bodies.

#### 2. Find a specific symbol across the codebase

```
mcp_oraios_serena_find_symbol(name_path="TemplateData", include_body=false)
mcp_oraios_serena_find_symbol(name_path="SafetyManager/WriteFile", include_body=false)
```

- `name_path` supports `/` for nested symbols: `ClassName/MethodName`
- Set `include_body=true` only when you need to edit or understand the implementation

#### 3. Find all usages of a symbol before refactoring

```
mcp_oraios_serena_find_referencing_symbols(name_path="TemplateData", relative_path="cmd/")
```

Returns: all locations that reference `TemplateData` — safe to rename or restructure.

#### 4. Edit a complete function/method body

```
mcp_oraios_serena_replace_symbol_body(
    name_path="SafetyManager/WriteFile",
    relative_path="cmd/safety.go",
    new_body="..."
)
```

Replaces the entire body of `WriteFile` in `SafetyManager` — no need to read the full file.

#### 5. Insert new code at end of file

```
mcp_oraios_serena_insert_after_symbol(
    name_path="<last top-level symbol>",
    relative_path="cmd/entity.go",
    new_code="func newHelper() { ... }"
)
```

#### 6. Find symbol in specific file

```
mcp_oraios_serena_find_symbol(
    name_path="SafetyManager",
    relative_path="cmd/safety.go",
    include_body=false,
    depth=1  // show all direct children (methods)
)
```

### Serena for Goca — Common Patterns

| Task                                  | Serena Command                                                                      |
| ------------------------------------- | ----------------------------------------------------------------------------------- |
| What's in `cmd/safety.go`?            | `get_symbols_overview("cmd/safety.go")`                                             |
| What fields does `TemplateData` have? | `find_symbol("TemplateData", body=false)`                                           |
| How is `ValidateEntityName` called?   | `find_referencing_symbols("ValidateEntityName")`                                    |
| Edit `SafetyManager.WriteFile`        | `find_symbol("SafetyManager/WriteFile", body=true)` then `replace_symbol_body(...)` |
| What template constants exist?        | `get_symbols_overview("cmd/templates.go")`                                          |
| Add a new helper at end of file       | `get_symbols_overview` → get last symbol → `insert_after_symbol`                    |
| Rename a function safely              | `find_referencing_symbols` → update all, then `replace_symbol_body`                 |

### Serena Name Path Format

```
# Top-level symbol
"SafetyManager"           → type or function named SafetyManager
"entityCmd"               → variable named entityCmd

# Method of struct
"SafetyManager/WriteFile"      → method WriteFile on SafetyManager
"SafetyManager/CheckFileConflict"

# Nested (Go doesn't have deep nesting, but for receivers)
"CommandValidator/ValidateEntityName"
```

### When NOT to Use Serena

- For non-Go files: `.yaml`, `.md`, `.json`, `.toml` → use `read_file` directly
- For very small helper files (< 30 lines) where reading the whole file is faster
- For searching by pattern across many files → use `search_for_pattern` or `grep_search`

---

## Context7 MCP — Up-to-Date Library Documentation

### When to Use Context7

Use Context7 whenever working with:

- `github.com/spf13/cobra` — CLI flags, subcommands, completion
- `github.com/stretchr/testify` — assert/require/mock usage
- `gorm.io/gorm` — GORM v2 queries, associations, migrations
- `github.com/gorilla/mux` — router configuration

From sazardev/goca, MIT.

Signals

Stars
304
Forks
11
Open issues
0
Last commit (this folder)
Mar 24, 2026 (7 months ago)
Last release
Jul 12, 2026 (3 months ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from sazardev

Cite this page

mcp-tools skill. Agent Mart. https://agentmart.dev/skills/sazardev-mcp-tools (last updated 2026-10-24)