Research codebase

From shopsys/shopsys · View interactive version

Research codebase is an AI agent skill from the GitHub repository shopsys/shopsys. Conducts comprehensive research across this Shopsys project using parallel specialized subagents, then writes a self-contained research document.

How to use this skill

Skill file

Monorepo note: if the repository has top-level packages/ and project-base/ directories (the shopsys/shopsys monorepo layout, not a standalone project), also read .agents/skills/monorepo-vs-project/SKILL.md and apply its delta (package-first + path/role remap) on top of this skill.

Research Codebase

You are tasked with conducting comprehensive research across this Shopsys project to answer user questions by spawning parallel sub-agents and synthesizing their findings.

This is a project built on Shopsys Platform: your code lives under app/ (backend) and storefront/ (frontend); the platform itself is installed read-only under vendor/shopsys/<pkg>/src/. For how the code is shaped and how to extend it, see .agents/skills/shopsys-architecture/SKILL.md.

Initial Setup:

When this command is invoked, 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.

Steps to follow after receiving the research query:

  1. Read any directly mentioned files first:
  1. Analyze and decompose the research question:

See .agents/skills/shopsys-architecture/SKILL.md

  1. Spawn parallel sub-agent tasks for comprehensive research:

For documentation research:

For codebase research:

For pattern validation research:

These agents understand the Shopsys project architecture (see .agents/skills/shopsys-architecture/SKILL.md):

For Jira tickets (if relevant):

For web research (only if user explicitly asks):

The key is to use these agents intelligently:

  1. Wait for all sub-agents to complete and synthesize findings:
  1. Gather metadata for the research document:
  1. Generate research document:

```markdown


date: [Current date and time with timezone in ISO format]

git_commit: [Current commit hash]

branch: [Current branch name]

repository: "<from git remote>"

topic: "[User's Question/Topic]"

tags: [research, codebase, relevant-component-names]


# Research: [User's Question/Topic]

Date: [Current date and time with timezone]

Git Commit: [Current commit hash]

Branch: [Current branch name]

Repository: [derived from git remote get-url origin]

## Research Question

[Original user query]

## Summary

[High-level findings answering the user's question]

## Detailed Findings

### Application (app/)

### Framework reference (vendor/shopsys/)

### Frontend API (app/src/FrontendApi/)

### Storefront (storefront/)

## Code References

## Architecture Insights

[Patterns, inheritance chains, and design decisions discovered]

## Related Research

[Links to other research documents in docs/research/]

## Open Questions

[Any areas that need further investigation]

```

  1. Present findings to user:

Important notes:

Use this skill with your AI agent: Open on Skill Issue to copy, download, or add to your library. Works with Claude, ChatGPT, Gemini, Cursor, Windsurf and more.