Logo di Research Codebase

Research Codebase

Organizzazione
modiqo
research-codebase

Document and explain the codebase as-is using parallel sub-agents. Use when the user asks to research, explore, map, document, or understand the codebase — including questions like 'how does X work', 'where is Y implemented', 'show me the architecture', 'what does this module do', or any request for codebase-level understanding. Also use when the user says /research_codebase. Even if the user's question seems simple, if it requires reading multiple files or understanding cross-component interactions, use this skill.

Add to TypingMind

Panoramica

Pubblicato damodiqo
Repositoryskillspec
Nome della skillresearch-codebase
Stelle
705
Fork
43
File inclusi
Solo istruzioni
LicenzaApache-2.0
Link
  • Istruzioni in Markdown

    Un file SKILL.md che il modello carica quando serve, consumando token solo quando una richiesta è effettivamente pertinente.

  • Funziona con qualsiasi LLM

    Le skill IA sono in semplice Markdown, non in codice specifico di un fornitore, quindi funzionano con GPT, Claude, Gemini, Grok o un modello locale.

  • Tutto nelle istruzioni

    Tutto ciò che serve al modello è nelle istruzioni: nessun file aggiuntivo da sincronizzare.

  • Open source

    Pubblicata da modiqo su GitHub. Leggi i sorgenti prima di installarla.

Installazione

Installa la skill IA Research Codebase in TypingMind per usarla con qualsiasi LLM, oppure copiala in un altro agente in grado di leggere SKILL.md.

1

Installa in TypingMind

TypingMind installa una skill direttamente dalla sua cartella GitHub: legge SKILL.md, raccoglie i file delle risorse e salva il risultato in locale.

  1. Apri l'app e vai su Plugin → Skill.
  2. Scegli "Installa da GitHub".
  3. Incolla l'URL della cartella della skill riportato qui sotto e conferma.
    https://github.com/modiqo/skillspec/tree/main/.claude/skills/research-codebase/source
  4. Attiva la skill in ogni chat in cui vuoi averla a disposizione.
Plugin → Skill → Aggiungi skill → Da URL GitHub, poi incolla l'URL della cartella e premi Continua.
2

Installa in un altro agente

Qualsiasi agente che legge il formato Agent Skills può usare questa skill: copia la cartella della skill nella directory delle skill di quell'agente.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/modiqo/skillspec.git /tmp/skillspec
mkdir -p .claude/skills
cp -r /tmp/skillspec/.claude/skills/research-codebase/source .claude/skills/research-codebase
Dopo la copia, riavvia Claude Code per caricare la nuova skill.

Usala in TypingMind

Attiva Research Codebase in qualsiasi chat di TypingMind e al resto pensa il modello. Il nome e la descrizione della skill sono nel prompt di sistema e, non appena arriva una richiesta pertinente, il modello carica da solo le istruzioni complete: non devi mai richiamarla manualmente e non consuma token finché non viene effettivamente usata.

Il modello carica automaticamente Research Codebase non appena riceve una richiesta pertinente.

Funziona con qualsiasi modello IA

Le skill IA sono semplici istruzioni in Markdown, non codice specifico di un fornitore, quindi Research Codebase non è vincolata al modello per cui è stata scritta. Installala una sola volta in TypingMind e usala con GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama o un modello locale che esegui tu, sempre con le tue chiavi API.

  • Caricata solo quando serve

    Il prompt di sistema contiene solo il nome e la descrizione. Le istruzioni vengono recuperate alla prima richiesta pertinente, quindi una skill inutilizzata non costa nulla.

  • Cambia modello durante la chat

    Poiché la skill è composta da istruzioni e non da codice, continua a funzionare anche se cambi modello: il nuovo modello legge lo stesso file SKILL.md.

Istruzioni della skill

Questo è il contenuto di SKILL.md che il modello carica. Leggilo prima dell'installazione: una skill è un insieme di istruzioni che il tuo modello seguirà.

Research Codebase

Conduct comprehensive read-only research across the codebase by spawning parallel sub-agents and synthesizing their findings into a structured document.

Your only job: document what exists

  • DO NOT suggest improvements or changes unless explicitly asked
  • DO NOT perform root cause analysis unless explicitly asked
  • DO NOT propose enhancements, critique the implementation, or recommend refactoring
  • ONLY describe what exists, where it exists, how it works, and how components interact
  • You are creating a technical map of the existing system

When invoked without a query

Respond with:

I'm ready to research the codebase. Please provide your research question or area of interest, and I'll analyze it thoroughly by exploring relevant components and connections.

Then wait for the user's research query.

Research workflow

1. Read directly mentioned files first

If the user mentions specific files (docs, configs, TOML, JSON), read them FULLY before doing anything else. Use the Read tool without limit/offset parameters. Read these yourself in the main context — this ensures full context before decomposing the research.

2. Decompose the research question

  • Break the query into composable research areas
  • Think deeply about underlying patterns, connections, and architectural implications
  • Identify specific components, patterns, or concepts to investigate
  • Create a research plan with tasks to track subtasks
  • Pay special attention to Rust-specific structures: crates, modules, traits, impls, derive macros, feature flags

3. Spawn parallel sub-agents

Create multiple agents to research different aspects concurrently. Use the specialized agents:

Codebase research:

  • codebase-locator — find WHERE files and components live
    • Look for Cargo.toml, lib.rs, main.rs, mod.rs to understand crate/module structure
    • Search *.rs files, build.rs, .cargo/config.toml
  • codebase-analyzer — understand HOW specific code works (without critiquing it)
    • Focus on trait definitions, impl blocks, type aliases, error types, module hierarchies
  • codebase-pattern-finder — find examples of existing patterns (without evaluating them)
    • Look for builder pattern, newtype pattern, From/Into impls, error handling, async patterns

Web research (when external context helps):

  • web-search-researcher — external docs, crate docs, RFCs, blog posts
    • Spawn proactively when the topic involves external crates, Rust language features, or ecosystem patterns
    • Instruct them to return LINKS with findings — include those links in the final report

All agents are documentarians, not critics. They describe what exists without suggesting improvements.

Agent usage strategy:

  • Start with locator agents to find what exists
  • Then use analyzer agents on the most promising findings
  • Run multiple agents in parallel when searching for different things
  • Each agent knows its job — tell it what you're looking for, not how to search
  • Remind agents they are documenting, not evaluating

4. Synthesize findings

Wait for ALL sub-agents to complete before proceeding. Then:

  • Compile all results
  • Connect findings across crates, modules, and components
  • Include specific file paths and line numbers
  • Highlight patterns, connections, and architectural decisions
  • Answer the user's questions with concrete evidence
  • Document trait relationships, generic type parameters, and lifetime annotations where relevant

5. Generate research document

Structure the output as:

markdown
# Research: [Topic]

**Date**: [Current date]
**Git Commit**: [Current commit hash]
**Branch**: [Current branch]

## Research Question
[Original query]

## Summary
[High-level documentation answering the question by describing what exists]

## Crate & Module Structure
[Workspace layout, crate dependencies, module tree relevant to the research]

## Detailed Findings

### [Component/Area 1]
- Description of what exists (file.rs:line)
- How it connects to other components
- Current implementation details (without evaluation)
- Key traits, types, and impls involved

### [Component/Area 2]
...

## Code References
- `path/to/file.rs:123` — Description
- `another/module/mod.rs:45-67` — Description

## Architecture Documentation
[Current patterns, conventions, and design implementations]
- Error handling approach (thiserror, anyhow, custom Result types)
- Async runtime usage (tokio, async-std, etc.)
- Serialization patterns (serde derives, custom impls)
- Feature flag organization

## Open Questions
[Areas that need further investigation]

6. Add GitHub permalinks (if applicable)

  • Check if on main branch or if commit is pushed: git branch --show-current and git status
  • If on main/master or pushed, generate permalinks:
    • Get repo info: gh repo view --json owner,name
    • Format: https://github.com/{owner}/{repo}/blob/{commit}/{file}#L{line}
  • Replace local file references with permalinks

7. Present findings

  • Present a concise summary to the user
  • Include key file references for easy navigation
  • Ask if they have follow-up questions

8. Handle follow-ups

  • Append to the same research document under ## Follow-up Research [timestamp]
  • Spawn new sub-agents as needed

Important notes

  • Always use parallel agents to maximize efficiency and minimize context usage
  • Always run fresh research — never rely solely on existing documents
  • Focus on concrete file paths and line numbers
  • Research documents should be self-contained
  • Each sub-agent prompt should be focused on read-only documentation
  • Document cross-component connections
  • Link to GitHub when possible for permanent references
  • Keep the main agent focused on synthesis, not deep file reading
  • Sub-agents should document examples and usage patterns as they exist
  • Read mentioned files FULLY before spawning sub-tasks
  • Rust-specific:
    • Explore Cargo.toml and Cargo.lock for dependency graphs
    • Map out workspace members
    • Document pub visibility boundaries
    • Note #[cfg(...)] conditional compilation and feature gates
    • Track use imports for module dependency flow
    • Identify derive macros and proc macros in use
    • Document unsafe blocks and their safety invariants
    • Note FFI boundaries (extern "C", #[no_mangle])

Domande frequenti

Cosa fa la skill IA Research Codebase?

Document and explain the codebase as-is using parallel sub-agents. Use when the user asks to research, explore, map, document, or understand the codebase — including questions like 'how does X work', 'where is Y implemented', 'show me the architecture', 'what does this module do', or any request for codebase-level understanding. Also use when the user says /research_codebase. Even if the user's question seems simple, if it requires reading multiple files or understanding cross-component interactions, use this skill.

Perché usare Research Codebase su TypingMind?

Perché la installi una volta e la usi con qualsiasi modello. Research Codebase è scritta in semplice Markdown anziché in codice specifico di un fornitore, quindi la stessa skill funziona con GPT-5, Claude, Gemini, Grok o un modello locale, e puoi cambiare modello durante la chat senza che la skill smetta di funzionare. TypingMind usa le tue chiavi API, quindi paghi direttamente i fornitori anziché un abbonamento per posto utente, e le tue skill e chat restano nel tuo spazio di archiviazione.

Come installo Research Codebase in TypingMind?

Apri Plugin → Skill → Installa da GitHub in TypingMind e incolla https://github.com/modiqo/skillspec/tree/main/.claude/skills/research-codebase/source. TypingMind legge il file SKILL.md e installa la skill, che puoi abilitare per ogni singola chat.

Quali modelli IA possono usare Research Codebase?

Qualsiasi modello che colleghi a TypingMind. Le skill IA sono semplici istruzioni in Markdown anziché codice specifico di un fornitore, quindi GPT, Claude, Gemini, Grok e i modelli locali possono tutti caricare questa skill quando una richiesta corrisponde al suo scopo.

Quanti modelli IA posso usare con Research Codebase?

Quanti ne vuoi. Se un modello supporta le skill, puoi usarlo con Research Codebase: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e molti altri, tutti su TypingMind con le tue chiavi API.

La skill IA Research Codebase è gratuita?

Sì. È pubblicata su GitHub da modiqo con licenza Apache-2.0. Paghi solo il tuo fornitore IA per i token che usi.

Cosa sono le skill IA?

Una skill IA è un pacchetto di istruzioni riutilizzabili che insegna a un modello IA come svolgere un'attività specifica. Segue il formato aperto Agent Skills: un file SKILL.md con un nome e una descrizione, più eventuali script, template o file di riferimento di cui il modello potrebbe aver bisogno. Il modello legge le istruzioni solo quando la tua richiesta corrisponde alla skill, quindi una skill installata non comporta costi finché non viene usata.

In cosa si differenziano le skill IA dai plugin o dai server MCP?

Un plugin o un server MCP fornisce a un modello nuovi strumenti da richiamare: codice che viene eseguito da qualche parte e restituisce un risultato. Una skill IA, invece, fornisce al modello conoscenze e procedure: come affrontare un'attività, quali passaggi seguire e quali caratteristiche deve avere un buon output. Le skill sono semplici istruzioni in Markdown, quindi non richiedono server, chiavi API né ambienti di esecuzione e funzionano con qualsiasi modello.

Elenco completo

Crea subito il tuo spazio di lavoro AI

Iscriviti alla nostra newsletter per ricevere aggiornamenti sulle nuove funzionalità e sulle prossime iniziative a premi 👇