ai-startup-skills
创业公司做 AI 产品的 7 步 Agent Skill 合集:验证 → BP → 政策 → 路演 → 获客 → 定价 → 注册。
Translation pending
Simulate a home or energy-community electricity system whose dispatch is decided by user-written logic rules, built on SmartMDAO.
OtherPython · Jupyter NotebookGitHub @wghamiOnlineOwner unconfirmed
Have you tried it? One tap is enough. No sign-in needed.
The maker's introduction consists of the line above. Read the repository README for more details. Repository README ↗
Loading the full README.
Read the full README ↗Simulate a home, and later an energy community, whose electricity dispatch is decided by logic rules the user writes: who gets the solar energy first, when the battery charges, and whether surplus is sold or stored. The rules run as SmartMDAO rule disciplines, are verified before a run, and never see the future except through an explicit forecast.
planning/SPEC.md · Roadmap: planning/ROADMAP.mddocs/standards/Every rule in the engineering standards is enforced by a gate, and every gate runs as early as it can: on your machine before the code leaves it, then again in CI, and the slow or external checks on a schedule. This table is generated from the hook and workflow configuration, so it cannot drift from what actually runs.
37 gates. 25 run on your machine before code leaves it (pre-commit / pre-push hooks); CI reruns every one of them, and scheduled jobs add the slow and the external checks.
| Gate | 💻 commit | 💻 push | ☁️ CI | 🌙 nightly | 📅 weekly |
|---|---|---|---|---|---|
pre-commit-hooks: check-added-large-files · check-case-conflict · check-merge-conflict · check-toml · check-yaml · detect-private-key · end-of-file-fixer · trailing-whitespace | ✓ | ✓ | |||
gitleaks (gitleaks) | ✓ | ✓ | |||
ruff format (ruff-format) | ✓ | ✓ | |||
ruff check (ruff-check) | ✓ | ✓ | |||
pyright (changed files) (pyright) | ✓ | ✓ | |||
no silent suppressions (suppressions) | ✓ | ✓ | |||
notebooks one concept each, committed executed (notebook-structure) | ✓ | ✓ | |||
scripts share one shape, each smoke-tested (script-structure) | ✓ | ✓ | |||
uv.lock in sync (uv-lock) | ✓ | ✓ | |||
actionlint (actionlint) | ✓ |
uv sync
uv run pre-commit install
uv run pytest
| ✓ |
zizmor (workflow security) (zizmor) | ✓ | ✓ |
conventional commit message (commit-msg) | ✓ | ✓ |
branch name (branch-name) | ✓ | ✓ |
pyright (whole repository) (pyright-all) | ✓ | ✓ |
import contracts (import-contracts) | ✓ | ✓ |
tests (100 % line + branch coverage) (tests) | ✓ | ✓ |
notebooks still run (nbmake) (notebooks) | ✓ | ✓ |
docstring coverage 100 % (docstrings) | ✓ | ✓ |
bandit (bandit) | ✓ | ✓ |
docs build (strict) (docs-build) | ✓ | ✓ |
docs changed with what they describe (doc-impact) | ✓ | ✓ |
version from tags, tags published (version-tag) | ✓ | ✓ |
standards consistent with tooling (standards-docs) | ✓ | ✓ |
README badges and gates table up to date (readme) | ✓ | ✓ |
every hook stage runs in CI (hook-parity) | ✓ | ✓ |
| commits, PR title, branch name | ✓ |
| secret scan (full history) | ✓ |
| dependency audit | ✓ |
| publish and verify docs | ✓ |
| CodeQL (Python, Actions) | ✓ | ✓ |
| mutation score ≥ 90 % | 🏷️ | ✓ |
| performance budgets | 🏷️ | ✓ |
| OpenSSF Scorecard | ✓ | ✓ |
| audit | ✓ |
| links | ✓ |
| drift | ✓ |
| deployed docs still served | ✓ |