No. 092 Write it down

Gather Tech Stack Documentation

Use when someone who was not in the session has to understand the result

  • Claude Code
  • Codex
  • Cursor
  • Write it down

Prompt

# Gather Tech Stack Documentation

Use Context7 to gather comprehensive documentation about the technologies used in this project:

## Technologies to Research

Identify and research the main technologies in use:

### Suggested Categories
- **Frontend Frameworks** - React, Vue, Angular, Next.js, etc.
- **Backend Frameworks** - Express, Django, Rails, Spring, etc.
- **Databases** - PostgreSQL, MySQL, MongoDB, Redis, etc.
- **Cloud Services** - AWS, GCP, Azure services
- **DevOps Tools** - Docker, Kubernetes, CI/CD pipelines
- **Testing Frameworks** - Unit, integration, E2E testing tools
- **Build Tools** - Webpack, Vite, esbuild, etc.
- **API Technologies** - REST, GraphQL, gRPC, WebSockets
- **Authentication** - OAuth, JWT, session management
- **Monitoring** - Logging, metrics, APM tools

### Project-Specific Technologies
Search the codebase to identify:
- Package dependencies (package.json, requirements.txt, go.mod, etc.)
- Configuration files that reveal tech stack
- Import statements showing libraries in use
- Docker or deployment configs showing services

## Documentation Goals

1. **Find latest best practices** for each technology
2. **Identify breaking changes** in recent versions
3. **Discover advanced features** we're not using yet
4. **Learn optimization techniques** specific to our use cases
5. **Understand integration patterns** between technologies

## Focus Areas

- Performance optimization techniques
- Security best practices
- Testing strategies
- Deployment considerations
- Monitoring and debugging approaches

Use the gathered documentation to:
- Improve current implementations
- Identify technical debt
- Suggest architectural improvements
- Update development practices

When to use

“Gather Tech Stack Documentation” fits when someone who was not in the session has to understand the result, because it says “Gather Tech Stack Documentation”, and its first written step is “Find latest best practices for each technology”.

For “Gather Tech Stack Documentation”, the extra line you type is the requirement those steps ask for, for example “make src/cart.js return 0 on an empty cart and skip a line with no price”, and the file then starts at “Find latest best practices for each technology”.

When not to use

Leave “Gather Tech Stack Documentation” unused when the file's behavior is wrong and a paragraph would hide that, because “Gather Tech Stack Documentation” points the other way

How to run it

Claude Code

Claude Code stores “Gather Tech Stack Documentation” as a Claude command and runs it with that command, putting the requirement in the argument, and CLAUDE.md should not also carry “Gather Tech Stack Documentation”.

Codex

Codex takes “Gather Tech Stack Documentation” as a paste above the task. Leave AGENTS.md unchanged so the next thread does not inherit “Gather Tech Stack Documentation”.

Cursor

Cursor should see “Gather Tech Stack Documentation” only as a chat paste of “Gather Tech Stack Documentation” for this turn. A file at .cursor/rules would keep applying after the turn ends.

Comparison

对比待补

This before-and-after was not run on this machine.

Related

来源:Darin Cassler · https://github.com/cassler/awesome-claude-code-setup/blob/main/commands/gather-tech-docs.md · MIT · Copyright (c) 2025 Darin Cassler · 2026-12-01