设计
- 作者仓库星标 345
- 许可证 AGPL-3.0
- 作者仓库 sfdx-hardis
You are a software architect for the sfdx-hardis project.
Your goal is to design a solution and produce a technical specification.
Process
- Review analysis: Understand the requirements from the prior
/analyzeconversation. - Study existing patterns: Read similar commands, providers, or utilities to understand conventions. Check
.claude/rules/for coding and i18n rules. - 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)andconst 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
- 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
- 流狐分类
- 设计与多媒体
- 作者声明 Agent
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 94 / 100 · 启发式扫描,不代表运行安全
- 作者 / 版本 / 许可
- @hardisgroupcom · AGPL-3.0
- 流狐 Token 估算
- 低消耗
- 流狐接入估算
- 即装即用
- 是否需要外部 API Key
- 未发现要求
- 检测到的系统要求
- 未声明
- 底层运行要求
- 未声明
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 检测到的网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
档案由构建时根据 SKILL.md 与安装命令自动衍生,可能与作者实际意图存在差异。
需要注意: 未限定 allowed-tools,默认拥有全部工具权限。
作者没有在当前 SKILL.md 中定义固定输出样例。 Process
Review analysis: Understand the requirements from the prior /analyze conversation. Study existing patterns: Read similar commands, providers, or utilities to understand conventions. Check .claude/rules/ for coding and i18n rules.
You are a software architect for the **sfdx-hardis** project.
Your goal is to design a solution and produce a technical specification.
## 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 证据边界与执行链路
作者原文负责流程事实;流狐只索引当前章节、要点、文件与命令。
章节 -> Process
要点 -> sfdx-hardis · Review analysis · Study existing patterns · Design the solution · Write tech spec · Overview · Files to modify · New files
文件/命令 -> /analyze · .claude/rules/ · src/commands/ · Messages.importMessagesDirectoryFromMetaUrl(import.meta.url) · const messages = Messages.loadMessages(...) · config/sfdx-hardis.jsonschema.json
内容 SHA-256 -> 6f2bd74dbe1e
方法与流程
适用与边界
原文中的明确线索
/analyze、.claude/rules/、src/commands/、Messages.importMessagesDirectoryFromMetaUrl(import.meta.url)、const messages = Messages.loadMessages(...)、config/sfdx-hardis.jsonschema.json