src/skills/codebase-analyst-job-protocols/SKILL.md
Guidelines and protocols for codebase analyst agents to execute their analysis effectively while adhering to the core mandate of not modifying frontend or backend systems, infrastructure, or deployment processes.
npx skillsauth add ngmthaq/my-copilot codebase-analyst-job-protocolsInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
| Skills | When to Use |
| ------------------ | ------------------------------------------------------------------------ |
| ask-user | Gather additional information or clarification from the user |
| scan-js-codebase | Analyze a JS/TS codebase for patterns, conventions, and potential issues |
When onboarding a repository, produce a codebase onboarding SKILL.md that gives any agent enough context to work on the repo without exploration. Re-run this task whenever the repository structure, tooling, or build process changes significantly. Quality here directly reduces build failures, bad outputs, and wasted tool calls on every future task.
README.md, CONTRIBUTING.md, and all other documentation files.HACK, TODO, FIXME, workaround..github/workflows/, .circleci/, Jenkinsfile, Makefile, etc.).For each of bootstrap, build, test, run, lint, and any other scripted step:
Trust this skill. Only search the codebase if information here is incomplete or appears incorrect.
Place the onboarding skill alongside the other project skills:
<skill_folder>/
└── <project-name>-onboarding/SKILL.md
SKILL.md per detected folder type, following the standard skill formatBefore writing any skill:
Ask questions grouped by:
DO NOT proceed until either clarifications are answered or explicitly waived.
package.json, tsconfig.json, .eslintrc, etc.)main.ts, index.ts, app.module.ts, server.ts, etc.)Every generated skill must follow this exact format:
---
name: <project-name>-<folder-type>
description: <When to use this skill. Be explicit about trigger phrases and contexts.
Make the description slightly "pushy" — lean toward triggering it rather
than not. Include folder path, file naming pattern, and the top 4-5 tasks
a developer would do here.>
---
# <Folder Type> Conventions — <Project Name>
## Quick Reference
<3–5 bullet TL;DR for a developer in a hurry>
## Purpose
<What this folder type does and why it exists in this project>
## File Naming Pattern
<Exact naming convention with examples from actual files>
## File Structure Template
<What sections/exports every file in this folder is expected to have>
## Import Conventions
<What this layer is allowed to import from, and what it must NOT import>
## Common Patterns
<2–4 annotated examples taken directly from the actual codebase.
Each example must include the source file path.>
## Anti-Patterns & Pitfalls
<What goes wrong here most often. Observed violations if any.>
## Checklist: Creating a New <Folder Type> File
- [ ] ...
- [ ] ...
- [ ] ...
> ⚠️ Tentative: <anything uncertain — mark explicitly>
// src/controllers/user.controller.ts)> ⚠️ Tentative: needs verificationFor each of the following folder types found in the codebase, produce one SKILL.md. Extend this list with any folder types discovered that are not listed here.
Frontend (React / Next.js / Flutter)
pages/ or app/ — page/route componentscomponents/ — UI components (atomic, compound, layout)hooks/ — custom React hooksqueries/ — data-fetching hooks (React Query / TanStack)mutations/ — mutation hooksutils/ or helpers/ — pure utility functionsstores/ or context/ — state managementtypes/ or interfaces/ — TypeScript type definitionsconstants/ — app-wide constantsservices/ (frontend) — API call wrappersBackend (Express / NestJS / Fastify)
controllers/ — HTTP request handlersservices/ — business logic layermodules/ — NestJS module definitionsrepositories/ or daos/ — database access layermiddlewares/ — request/response interceptorsguards/ or decorators/ — NestJS-specific constructsdtos/ — data transfer objects & validation schemasentities/ or models/ — ORM models / schema definitionsmigrations/ — database migration scriptsjobs/ or workers/ — background tasks / queuesconfig/ — configuration and environment handlingutils/ (backend) — shared server utilitiestests/ — unit, integration, e2e test filesRule: Any folder type not listed above that exists in the codebase must be detected and documented as its own SKILL.md.
<skill_folder>/
├── <project-name>-onboarding/SKILL.md
├── <project-name>-<folder-type>/SKILL.md
└── <project-name>-<other-folder-type>/SKILL.md
Identify:
name fields are unique, all cross-references are validdocumentation
Guidelines and protocols for Technical Leaders to manage and oversee technical projects effectively while adhering to the core mandate of being the central orchestration layer for all engineering work.
data-ai
Universal SQL performance optimization assistant for comprehensive query tuning, indexing strategies, and database performance analysis across all SQL databases (MySQL, PostgreSQL, SQL Server, Oracle). Provides execution plan analysis, pagination optimization, batch operations, and performance monitoring guidance.
development
SOLID — Enforces the SOLID principle of object-oriented design (Single Responsibility, Open/Closed, Liskov Substitution, Interface Segregation, Dependency Inversion) for maintainable and scalable code.
development
Separation of Concerns (SoC) — Enforces the Separation of Concerns principle by ensuring each module, layer, and component addresses exactly one well-defined concern. Use when writing, reviewing, or refactoring code that mixes UI with business logic, business logic with data access, presentation with formatting, or cross-cutting concerns (auth, logging, validation) with core logic.