technical-spec
Skill236 starsChanged 7 days agoMITView on GitHub
Defines environment variables, architecture design, and build/test commands. Use when configuring environment or designing architecture.
- Reads credentials
5 other projects use a version of this.
Adopted by
Most recently taken up by
- snowfluke/tech-lead-skillstheir own version, first seen Nov 8, 2026
- SkillMedev/product-manager-stacktheir own version, first seen Oct 20, 2026
- snowfluke/my-tech-lead-flowtheir own version, first seen Sep 30, 2026
- Douglasst102/AgentSkillstheir own version, first seen Sep 28, 2026
- nandanosql/all_in_one_pm_skillstheir own version, first seen Feb 28, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- snowfluke/my-tech-lead-flow★ 8same name
- snowfluke/tech-lead-skills★ 8same name
- Douglasst102/AgentSkills★ 4same name
- nandanosql/all_in_one_pm_skills★ 1same name
- SkillMedev/product-manager-stack★ 0same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository44 other files it gives its agents.
- coding-standardsSkill
- documentation-criteriaSkill
- frontend-technical-specSkill
- frontend-typescript-rulesSkill
- frontend-typescript-testingSkill
- implementation-approachSkill
- integration-e2e-testingSkill
- llm-friendly-contextSkill
- project-contextSkill
- requirement-convergenceSkill
- skill-optimizationSkill
- subagents-orchestration-guideSkill
- typescript-rulesSkill
- typescript-testingSkill
- coding-standardsSkill
- documentation-criteriaSkill
- frontend-technical-specSkill
- frontend-typescript-rulesSkill
- frontend-typescript-testingSkill
- implementation-approachSkill
- integration-e2e-testingSkill
- llm-friendly-contextSkill
- project-contextSkill
- requirement-convergenceSkill
- skill-optimizationSkill
- subagents-orchestration-guideSkill
- technical-specSkill
- typescript-rulesSkill
- typescript-testingSkill
- coding-standardsSkill
- documentation-criteriaSkill
- frontend-technical-specSkill
- frontend-typescript-rulesSkill
- frontend-typescript-testingSkill
- implementation-approachSkill
- integration-e2e-testingSkill
- llm-friendly-contextSkill
- project-contextSkill
- requirement-convergenceSkill
- skill-optimizationSkill
- subagents-orchestration-guideSkill
- technical-specSkill
- typescript-rulesSkill
- typescript-testingSkill
The file
We split this skill into the rules it gives an agent
10 rules. 0 are common, 9 are distinctive, and 1 is very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
9
Distinctive
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Read environment variables through one typed configuration boundary.
- Very specific: line 23
Keep local .env files outside version control and provide non-secret example files for required variable names
- Distinctive: line 41
Structured Data Priority: Use parsed objects rather than JSON strings
- Distinctive: line 61
Before executing quality checks, identify what quality mechanisms exist for the change area:
- Distinctive: line 63
Check CI pipeline definitions for checks that cover the affected paths
- Distinctive: line 64
Check for domain-specific linter or validator configurations (e.g., schema validators, API spec validators, configuration file linters)
- Distinctive: line 65
Check for domain-specific constraints in project configuration (naming rules, length limits, format requirements)
- Distinctive: line 66
When a task file supplies Operation Verification Methods, run them as task-specific checks
- Distinctive: line 80
Transition evidence: every applicable static/domain check exits successfully.
- Distinctive: line 85
Transition evidence: all applicable configured test suites pass, or an environment-dependent suite is recorded as blocked with its exact …
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Technical Design Rules
Prerequisite Detection
Inspect manifests, lockfiles, build/test configuration, CI definitions, and representative source files before applying a technology- or command-specific rule. Treat a tool, script, path alias, or runtime as observed only when repository evidence names it. Label conclusions from surrounding patterns as inferred. When a missing decision changes architecture, compatibility, security, or verification, stop and name the exact configuration or user decision required.
Basic Technology Stack Policy
These rules apply to a TypeScript application when repository configuration confirms that stack. Select architecture by mapping current requirements and accepted constraints to explicit module responsibilities, dependency direction, data flow, and verification boundaries.
Environment Variable Management and Security
Environment Variable Management
- Centrally manage environment variables and the build-time validation mechanism that enforces their type safety
- Read environment variables through one typed configuration boundary; application code consumes validated configuration values
- Give a variable a default only when requirements define valid behavior for absence; otherwise fail configuration validation with the variable name and expected format
Security
- Keep local
.envfiles outside version control and provide non-secret example files for required variable names - Load API keys and secrets from the configured secret store or runtime environment boundary
- Log and return only fields approved for the current trust boundary; redact credentials, tokens, personal data, and internal diagnostics before returning data across an untrusted boundary
Architecture Design
Architecture Design Principles
Select architecture using these observable decisions:
- Responsibilities: Each module/layer names the behavior it owns and the behavior it delegates
- Dependency direction: Imports and runtime calls follow the project boundary rules observed in configuration or representative implementations
- State/data ownership: Each persisted or mutable value has one authoritative owner
- Verification boundary: Each public contract the change introduces or modifies names the unit, integration, or E2E check that can observe it
Unified Data Flow Principles
Basic Principles
- Single Data Source: Store the same information in only one place
- Structured Data Priority: Use parsed objects rather than JSON strings
- Responsibility Separation: Each layer names the data or behavior it owns and the boundary through which other layers use it
Data Flow Best Practices
- Validation at Input: Validate data at input layer and pass internally in type-safe form
- Single Transformation Owner: Give a transformation one owner when several callers rely on the same transformation rule and change together
- Structured Logging: Emit structured logs at the boundary that owns observability, so one failure is not logged at every stage
Build and Testing
Select the package manager from the packageManager field, lockfile, or established CI command in that order. Execute only scripts present in the selected manifest.
Build Commands
build- TypeScript buildtype-check- Type check (no emit)
Testing Commands
test- Run tests
Quality Assurance Mechanism Awareness
Before executing quality checks, identify what quality mechanisms exist for the change area:
- Primary detection: inspect the change area's file types, project manifest, and configuration to identify applicable quality tools
- Check CI pipeline definitions for checks that cover the affected paths
- Check for domain-specific linter or validator configurations (e.g., schema validators, API spec validators, configuration file linters)
- Check for domain-specific constraints in project configuration (naming rules, length limits, format requirements)
- When a task file supplies Operation Verification Methods, run them as task-specific checks
- Include discovered domain-specific checks alongside standard quality phases below
Quality Check Requirements
Quality checks are mandatory upon implementation completion:
Phase 1-3: Code Quality Checks
- Auto-detect and execute the following from package.json scripts:
- lint + format check
- Detect unused exports
- Detect circular dependencies
- TypeScript build
Transition evidence: every applicable static/domain check exits successfully. A missing required script is reported with the manifest/configuration path, and the remaining checks still run; whether the missing check leaves required proof unavailable is decided by the quality-fixer result.
Phase 4: Tests
test- Test execution
Transition evidence: all applicable configured test suites pass, or an environment-dependent suite is recorded as blocked with its exact prerequisite.
Phase 5: Code Quality Re-verification
check:code- Re-verify code quality (clean up side effects from test fixes in Phase 4)
Completion evidence: static/domain checks still pass after test-related fixes, the build succeeds, and every required test has passed or is explicitly blocked.
Auxiliary Commands
check:all- Overall integrated check (check:code + test) *for manual batch verificationformat- Format fixeslint:fix- Lint fixes
Troubleshooting
- Dependency errors: First record the failing resolver output, selected package manager, manifest, and lockfile state. Use the repository's established clean-install command only when it preserves the lockfile and generated artifacts; request approval before an operation that removes or regenerates dependency state
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

