一键导入
bengal-debug-build
Debugs Bengal build failures and errors. Use when builds fail, validation errors occur, or when fixing build errors.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Debugs Bengal build failures and errors. Use when builds fail, validation errors occur, or when fixing build errors.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Adds a new MyST directive to Bengal. Use when creating custom content blocks (admonitions, cards, tabs), extending the rendering system, or adding a directive.
Adds a new Jinja/Kida filter to Bengal templates. Use when creating custom filters for formatting, filtering, or transforming template data.
Migrates content from Markdown, Jekyll, Hugo, or other SSGs to Bengal. Use when converting a site, importing posts, or restructuring content.
Scaffolds a new Bengal static site with config, content structure, and theme. Use when creating a new site, starting a blog, or converting a project to Bengal.
Configures and uses taxonomy (tags, categories, indexes) in Bengal sites. Use when adding tags, categories, or querying content by section, author, or date.
Fixes common Bengal template errors and applies safe patterns. Use when templates fail with undefined variables, href vs path issues, baseurl, or config access.
| name | bengal-debug-build |
| description | Debugs Bengal build failures and errors. Use when builds fail, validation errors occur, or when fixing build errors. |
Debug Bengal build failures and validation errors.
bengal build
Capture the full error output. Common failure points:
bengal validate
Validation runs health checks including:
Use --verbose for full output, --templates to focus on template errors.
If the error mentions "Missing context variables" or a template name:
params.x not page.metadata.get('x')config.x not site.config.get('x')If the error mentions a directive (e.g., :::{note}):
:::{name} optional_title:key: value format:::If builds behave inconsistently or show stale content:
bengal build --full
Forces a full rebuild, ignoring incremental cache.
[build], [theme] sectionscontent_dir and output_dir exist or can be createdbengal build and capture full errorbengal validate for health checksbengal build --full if cache suspectedSee references/error-codes.md for common errors and fixes.