Run WCAG 2.2 Level AA accessibility audits against generated UI. Use when a story has ui:true or when asked to audit accessibility.
中文简介正在准备中。当前显示原文说明。
Apply best practices for Jupyter notebooks: cell ordering, reproducibility, parameterisation. Use when working with .ipynb files.
中文简介正在准备中。当前显示原文说明。
查看安装方法安装前可以查看交给 AI 代理的指令内容。
Cells should follow this order:
# In notebook cell tagged with "parameters":
# Click: View -> Cell Toolbar -> Tags -> add "parameters" tag
dataset = "data/train.csv" # papermill will override this
output_dir = "outputs"
n_estimators = 100
random_state = 42
# Execute with papermill
papermill input.ipynb output.ipynb \
-p dataset "data/test.csv" \
-p n_estimators 200 \
-p random_state 0
import nbformat as nbf
nb = nbf.v4.new_notebook()
nb.cells = [
nbf.v4.new_markdown_cell("# Analysis: {Title}"),
nbf.v4.new_code_cell("import pandas as pd\nimport numpy as np"),
nbf.v4.new_code_cell("df = pd.read_csv('data.csv')\ndf.head()"),
]
with open('analysis.ipynb', 'w') as f:
nbf.write(nb, f)
# To HTML (with outputs)
jupyter nbconvert --to html --execute notebook.ipynb
# To PDF
jupyter nbconvert --to pdf --execute notebook.ipynb
# Execute in place
jupyter nbconvert --to notebook --execute --inplace notebook.ipynb
# Clear outputs before commit
jupyter nbconvert --to notebook --ClearOutputPreprocessor.enabled=True \
--inplace notebook.ipynb
# Or use nbstripout (installs as git filter)
pip install nbstripout
nbstripout --install
random_state parameter for reproducibility.还没有评价。欢迎分享你的使用感受。
无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。
还没有评论。来写第一条吧。
Run WCAG 2.2 Level AA accessibility audits against generated UI. Use when a story has ui:true or when asked to audit accessibility.
中文简介正在准备中。当前显示原文说明。
Generate a complete component file tree wired to design tokens with tests and Gherkin spec. Use when scaffolding a new UI component.
中文简介正在准备中。当前显示原文说明。
Extract Gherkin scenarios from story markdown files into runnable .feature files and generate step definition stubs. Use when syncing stories to test suites.
中文简介正在准备中。当前显示原文说明。
Read and write design tokens in W3C DTCG format (tokens.json) and emit CSS, Tailwind, and Mantine outputs. Use when modifying or generating design tokens.
中文简介正在准备中。当前显示原文说明。
Apply Docker and Docker Compose best practices for containerising services. Use when writing or reviewing Dockerfiles and compose configs.
中文简介正在准备中。当前显示原文说明。
Identify and annotate cloud cost implications of architectural decisions. Use when reviewing infrastructure changes or designing new services.
中文简介正在准备中。当前显示原文说明。