Token导航 LogoToken导航TokenDH.com
研究检索需要联网github未标认证来源可访问许可证需确认审计通过

gsd-codebase-mappergsd 代码库映射器

Agent Skill

gsd-codebase-mapper 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

12,300

周安装

411

GitHub Stars

825

下载量

4,523
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:gsd-codebase-mapper(gsd 代码库映射器)
来源仓库:https://github.com/toonight/get-shit-done-for-antigravity
仓库路径:skills/gsd-codebase-mapper
安装命令:
npx skills add https://github.com/toonight/get-shit-done-for-antigravity --skill 'GSD Codebase Mapper'
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/toonight/get-shit-done-for-antigravity --skill 'GSD Codebase Mapper'

简介

gsd-codebase-mapper 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。

  • 适用于分析代码库结构、映射模块依赖关系或查找特定功能实现的位置。
  • 通过关键词或任务描述返回相关文件路径和上下文信息。
  • 安装方式:npx skills add https://github.com/toonight/get-shit-done-for-antigravity --skill 'GSD Codebase Mapper',需确认权限范围和维护状态。
  • 建议在使用前检查是否会触发联网、命令执行或文件读写操作,确保符合安全策略。

SKILL.md

GSD Codebase Mapper Agent

Core responsibilities:

  • Scan and understand project structure
  • Identify patterns and conventions
  • Map dependencies and integrations
  • Surface technical debt
  • Produce ARCHITECTURE.md and STACK.md

Analysis Domains

1. Structure Analysis

Understand how the project is organized:

  • Source directories and their purposes
  • Entry points (main files, index files)
  • Test locations and patterns
  • Configuration locations
  • Asset directories

2. Dependency Analysis

Map what the project depends on:

  • Runtime dependencies (production)
  • Development dependencies
  • Peer dependencies
  • Outdated packages
  • Security vulnerabilities

3. Pattern Analysis

Identify how code is written:

  • Naming conventions
  • File organization patterns
  • Error handling approaches
  • State management patterns
  • API patterns

4. Integration Analysis

Map external connections:

  • APIs consumed
  • Databases used
  • Third-party services
  • Environment dependencies

5. Technical Debt Analysis

Surface issues to address:

  • TODOs and FIXMEs
  • Deprecated code
  • Missing tests
  • Inconsistent patterns
  • Known vulnerabilities

Scanning Process

Phase 1: Project Type Detection

Identify project type from markers:

# Node.js/JavaScript
Test-Path "package.json"

# Python
Test-Path "requirements.txt" -or Test-Path "pyproject.toml"

# Rust
Test-Path "Cargo.toml"

# Go
Test-Path "go.mod"

# .NET
Get-ChildItem "*.csproj"

Phase 2: Structure Scan

# Get directory structure
Get-ChildItem -Recurse -Directory |
    Where-Object { $_.Name -notmatch "node_modules|\.git|__pycache__|dist|build|\.next" } |
    Select-Object FullName

Phase 3: Dependency Extraction

For each ecosystem:

Node.js:

$pkg = Get-Content "package.json" | ConvertFrom-Json
$pkg.dependencies
$pkg.devDependencies

Python:

Get-Content "requirements.txt"

Phase 4: Pattern Discovery

Search for common patterns:

# Components
Get-ChildItem -Recurse -Include "*.tsx","*.jsx" | Select-Object Name

# API routes
Get-ChildItem -Recurse -Path "**/api/**" -Include "*.ts","*.js"

# Models/schemas
Select-String -Path "**/*.ts" -Pattern "interface|type|schema"

Phase 5: Debt Discovery

# TODOs
Select-String -Path "src/**/*" -Pattern "TODO|FIXME|HACK|XXX"

# Deprecated
Select-String -Path "**/*" -Pattern "@deprecated|DEPRECATED"

# Console statements (often debug leftovers)
Select-String -Path "src/**/*" -Pattern "console\.(log|debug|warn)"

Output Format

ARCHITECTURE.md

# Architecture

> Generated by /map on {date}

## Overview
{High-level system description}

## System Diagram

{ASCII or description of component relationships}

## Components

### {Component Name}
- **Purpose:** {what it does}
- **Location:** `{path}`
- **Dependencies:** {what it imports}
- **Dependents:** {what imports it}

## Data Flow
{How data moves through the system}

## Integration Points
| External Service | Type | Purpose |
|------------------|------|---------|
| {service} | {API/DB/etc} | {purpose} |

## Conventions
- **Naming:** {patterns}
- **Structure:** {organization}
- **Testing:** {approach}

## Technical Debt
- [ ] {Debt item with location}

STACK.md

# Technology Stack

> Generated by /map on {date}

## Runtime
| Technology | Version | Purpose |
|------------|---------|---------|
| {tech} | {version} | {purpose} |

## Production Dependencies
| Package | Version | Purpose |
|---------|---------|---------|
| {pkg} | {version} | {purpose} |

## Development Dependencies
| Package | Version | Purpose |
|---------|---------|---------|
| {pkg} | {version} | {purpose} |

## Infrastructure
| Service | Provider | Purpose |
|---------|----------|---------|
| {svc} | {provider} | {purpose} |

## Configuration
| Variable | Purpose | Required |
|----------|---------|----------|
| {var} | {purpose} | {yes/no} |

Checklist

Before Completing Map:

  • Project type identified
  • All source directories documented
  • Entry points found
  • Dependencies extracted and categorized
  • Key patterns identified
  • Integrations mapped
  • Technical debt surfaced
  • ARCHITECTURE.md created
  • STACK.md created

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

34.53%
按下载量换算1,562

Claude

31.2%
按下载量换算1,411

Cursor

17.32%
按下载量换算783

Gemini CLI

8.92%
按下载量换算403

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

需要联网

该 Skill 可能需要联网访问来源站点、仓库或外部 API;具体网络访问范围需要结合源码和 README 复核。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills