设计
- 作者仓库星标 345
- 许可证 AGPL-3.0
- 作者仓库 sfdx-hardis
- 领域
- 设计与多媒体
- 作者声明的智能体
- 未找到明确声明;不据此推断已兼容或已测试
- 静态检查
- 94 / 100 · 启发式扫描,不代表运行安全
- 运行环境证据
- 未执行;当前没有隔离运行测试证据
- 作者 / 版本 / 许可证
- @hardisgroupcom · AGPL-3.0
- 上下文用量评级
- 低消耗
- 接入复杂程度
- 即装即用
- 是否需要外部接口密钥
- 不需要
- 兼容的系统
- 未声明(默认跨平台)
- 运行环境要求
- 未检出明确要求
- 检测到的文件与系统行为
-
- 只读
- 允许写入 / 修改
- 网络行为
- 仅限本地
- 安装命令数
- 无(仅作为资料)
需要注意: 未声明工具权限范围;实际权限由运行环境决定。
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
章节与文件索引
按说明文件中的顺序排列。
工艺流程
文件/命令 -> /analyze · .claude/rules/ · src/commands/** · Messages.importMessagesDirectoryFromMetaUrl(import.meta.url) · const messages = Messages.loadMessages(...) · config/sfdx-hardis.jsonschema.json
内容校验值 -> 6f2bd74dbe1e
当前原文的自动摘译,尚未人工审校。
工艺流程
审查分析:从之前的
/analyze对话中了解要求。研究现有模式:阅读类似的命令、提供程序或实用程序以了解约定。检查.claude/rules/的编码和 i18n 规则。设计解决方案: 确定要创建、修改或删除的文件 定义方法(新命令、提供程序方法、实用函数等)