ignis
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseIgnis
Ignis
在当前任务是“使用 Ignis 开发或发布 service”时使用这个 skill,而不是修改 Ignis 仓库本身时使用。
适用范围:
- 使用 初始化、构建、发布和部署 service
ignis-cli - 使用 的 HTTP Router、中间件、响应 helper、SQLite 和 migration
ignis-sdk - 编写或排查
ignis.toml - 使用 examples 里的最小项目结构快速起步
不适用范围:
- / Hosted Login / PKCE / provider 配置细节 这些走
ignis_loginignis-login - 修改 、
ignis-cli、ignis-sdk、ignis-manifest、ignis-runtime源码ignis-platform-host - 维护仓库 docs、skills 或生成文档
Use this skill when the current task is "developing or publishing services with Ignis", not when modifying the Ignis repository itself.
Scope of application:
- Use to initialize, build, publish and deploy services
ignis-cli - Use HTTP Router, middleware, response helper, SQLite and migration from
ignis-sdk - Write or troubleshoot
ignis.toml - Quickly get started with the minimal project structure in examples
Scope of inapplicability:
- / Hosted Login / PKCE / provider configuration details These are handled by
ignis_loginignis-login - Modify source code of ,
ignis-cli,ignis-sdk,ignis-manifest,ignis-runtimeignis-platform-host - Maintain repository docs, skills or generate documentation
快速流程
Quick Process
- 先读 ,确认完整接入路径。
references/integration.md - 如果任务偏 CLI 或发布部署,继续读 。
references/cli.md - 如果任务偏 字段、默认值或示例配置,读
ignis.toml。references/ignis-toml.md - 如果任务偏 API,用
ignis-sdk作为入口,只继续打开当前需要的模块或 item 页面。references/ignis-sdk/index.md - 如果任务涉及登录或 ,切到
[services.ignis_login]skill。ignis-login - 如果需要最小 HTTP / SQLite 模板,优先读整个 example 项目:
和
references/examples/hello-fullstack/。references/examples/sqlite-example/
- First read to confirm the complete integration path.
references/integration.md - If the task focuses on CLI or release deployment, continue reading .
references/cli.md - If the task focuses on fields, default values or sample configurations, read
ignis.toml.references/ignis-toml.md - If the task focuses on API, use
ignis-sdkas the entry point, and only open the currently required module or item page further.references/ignis-sdk/index.md - If the task involves login or , switch to the
[services.ignis_login]skill.ignis-login - If you need minimal HTTP / SQLite templates, prioritize reading the entire example projects:
and
references/examples/hello-fullstack/.references/examples/sqlite-example/
工作规则
Working Rules
- 把 文档和
ignis.toml生成文档当作配置/API 的事实来源。ignis-sdk - 不要猜测 字段、CLI 命令名、
ignis.toml方法或 secret 约定。ignis-sdk - 当前推荐工作流是:。
ignis login -> ignis project create -> ignis service new -> ignis service build -> ignis service publish -> ignis service deploy - 当前 CLI 不再把本地 作为主工作流;默认以构建、发布、部署为准。
dev - 简单 handler 可以直接用 ,但多路由、中间件、统一响应、SQLite 通常优先用
wstd::http。ignis-sdk - 需要查 SDK 细节时,优先读 生成的单页,不要只靠摘要文档推断。
mddoc - 当前公网路由模型是一个 project host 下按 path prefix 暴露 services,例如前端走 ,API 走
/,不要再假设/api这类子域。api.<project-host> - 当前 service 统一使用标准
http构建路径,不要再按wasm32-wasip2工作流推断 CLI 行为。cargo-component - 依赖来源不要猜测;如果当前版本未发布到 crates.io,使用明确的
ignis-sdk或固定path版本。git
- Treat documentation and
ignis.tomlgenerated documentation as the source of truth for configuration/API.ignis-sdk - Do not guess fields, CLI command names,
ignis.tomlmethods or secret conventions.ignis-sdk - The currently recommended workflow is: .
ignis login -> ignis project create -> ignis service new -> ignis service build -> ignis service publish -> ignis service deploy - The current CLI no longer takes local as the main workflow; build, publish and deployment are the default priorities.
dev - Simple handlers can directly use , but
wstd::httpis usually preferred for multi-routing, middleware, unified responses, and SQLite.ignis-sdk - When you need to check SDK details, prioritize reading the single page generated by , do not infer only from summary documents.
mddoc - The current public network routing model exposes services by path prefix under a project host, for example, the frontend uses and the API uses
/, do not assume subdomains like/apianymore.api.<project-host> - The current service uniformly uses the standard
httpbuild path, do not infer CLI behavior according to thewasm32-wasip2workflow anymore.cargo-component - Do not guess the source of dependencies; if the current version is not published to crates.io, use an explicit
ignis-sdkor fixedpathversion.git
参考资料
References
- 接入流程:
references/integration.md - CLI:
references/cli.md - :
ignis.tomlreferences/ignis-toml.md - 生成文档入口:
ignis-sdkreferences/ignis-sdk/index.md - 最小 HTTP 示例项目:
references/examples/hello-fullstack/ - SQLite 示例项目:
references/examples/sqlite-example/ - 文档索引:
references/doc_index.md
- Integration process:
references/integration.md - CLI:
references/cli.md - :
ignis.tomlreferences/ignis-toml.md - generated documentation entry:
ignis-sdkreferences/ignis-sdk/index.md - Minimal HTTP example project:
references/examples/hello-fullstack/ - SQLite example project:
references/examples/sqlite-example/ - Documentation index:
references/doc_index.md