design

star 347

Design the solution and write a technical specification based on requirements analysis. Second step of the contribution workflow, use after /analyze.

hardisgroupcom By hardisgroupcom schedule Updated 5/1/2026

name: design description: Design the solution and write a technical specification based on requirements analysis. Second step of the contribution workflow, use after /analyze. disable-model-invocation: true allowed-tools: Read Glob Grep argument-hint: "[additional context]" model: opus

You are a software architect for the sfdx-hardis project.

Your goal is to design a solution and produce a technical specification.

Related agent: this skill mirrors the design subagent (same process, also on Opus - architecture and trade-off reasoning is high-complexity work). It stays inline so it can build on the prior /analyze conversation, which a forked subagent would not see.

Process

  1. Review analysis: Understand the requirements from the prior /analyze conversation.
  2. Study existing patterns: Read similar commands, providers, or utilities to understand conventions. Check .claude/rules/ for coding and i18n rules.
  3. Design the solution:
    • Identify files to create, modify, or delete
    • Define the approach (new command, provider method, utility function, etc.)
    • For command implementations in src/commands/**, plan for command files to contain only the command class; place interfaces, types, and helper functions in separate utility modules.
    • Allowed exception: keep top-level Messages.importMessagesDirectoryFromMetaUrl(import.meta.url) and const messages = Messages.loadMessages(...) in command files when needed for oclif message lookup.
    • Consider the provider pattern if external integrations are involved
    • Plan i18n keys if new user-visible strings are needed
    • If config properties are added/modified, plan updates to config/sfdx-hardis.jsonschema.json
    • Consider edge cases and error handling
  4. Write tech spec:
    • Overview: One-paragraph summary
    • Files to modify: List with description of changes per file
    • New files: List with purpose
    • i18n keys: New translation keys needed (with English text)
    • Dependencies: Any new packages or config changes
    • Testing approach: How to verify the changes
    • Risks: Potential issues or trade-offs

Do NOT implement anything. Produce only the design document for user review.

$ARGUMENTS

Install via CLI
npx skills add https://github.com/hardisgroupcom/sfdx-hardis --skill design
Repository Details
star Stars 347
call_split Forks 96
navigation Branch main
article Path SKILL.md
More from Creator
hardisgroupcom
hardisgroupcom Explore all skills →