.github/skills/tsh-technical-context-discovering/SKILL.md
Discover and establish technical context before implementing any feature. Prioritize project instructions, existing codebase patterns, and external documentation in that order. Use for any task requiring understanding of project conventions, coding standards, architecture patterns, and established practices before writing code.
npx skillsauth add thesoftwarehouse/copilot-collections tsh-technical-context-discoveringInstall 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.
This skill provides a systematic approach for understanding a project's technical context before making any code changes. It ensures consistency with existing patterns and prevents introducing conflicting conventions.
Use the checklist below and track your progress:
Discovery progress:
- [ ] Step 1: Check Copilot instruction files
- [ ] Step 2: Analyze existing codebase patterns
- [ ] Step 3: Consult external documentation (if needed)
- [ ] Step 4: Apply the implementation rule
Step 1: Check Copilot Instruction Files
ALWAYS check first for existing Copilot instructions in the project:
.github/copilot-instructions.md at the repository root.*.instructions.md files in relevant directories (e.g., src/, tests/, e2e/, backend/, feature-specific folders)..copilot/ directory with configuration files.If instructions files exist, they are the primary source of truth for:
Step 2: Analyze Existing Codebase Patterns
If no Copilot instructions are found, or if they don't cover specific aspects, analyze the existing codebase to understand and replicate established patterns:
Use search and usages tools to find similar implementations in the codebase and follow the same approach.
Step 3: Consult External Documentation
If neither Copilot instructions nor sufficient existing codebase patterns are available (e.g., new project, greenfield feature, or first implementation of a specific pattern), use external documentation and industry best practices:
context7 tool to search for official documentation of the framework/library being used (check project config for exact versions first).IMPORTANT: When using best practices in a greenfield scenario, document your decisions in code comments or README to establish patterns for future development.
Step 4: Apply the Implementation Rule
Based on what you discovered, apply this decision hierarchy:
| Context Available | Action | |---|---| | Instructions files exist | Follow them strictly. Instructions take precedence over general best practices. | | No instructions, but codebase has patterns | Mirror existing patterns exactly. Consistency with existing code > theoretical best practices. | | No instructions, no existing patterns | Apply documentation-based best practices and industry standards. Document decisions for future reference. |
Critical rule: Never introduce new patterns unless explicitly requested by the user or specified in the implementation plan.
development
Custom hook and composable patterns — naming, composition, stable return shapes, lifecycle cleanup, and testing strategies. Use when writing reusable logic units (React hooks, Vue composables), refactoring logic into hooks, debugging hook behavior, or reviewing hook implementations.
testing
UI verification criteria, structure checklists, severity definitions, and tolerance rules for comparing implementations against Figma designs. Use for verifying UI matches design, understanding what to check, and determining acceptable differences.
development
Clean raw workshop or meeting transcripts from small talk, filler words, and off-topic tangents. Extract and structure business-relevant content into a standardized format with discussion topics, key decisions, action items, and open questions.
development
Analyze extracted epics and user stories for quality gaps, missing edge cases, and improvement opportunities. Runs domain-agnostic analysis passes, optionally enriches findings with Jira board context, and produces accept/reject suggestions that refine the task list before Jira formatting.