brainstorming
brainstorming
You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).
repo-developmentWork safely in a PennyLane source checkout: focused tests, linting, module boundaries, changelog, new operators/devices/plugins, and AI/GitHub policy.
Independent GitHub snapshot · Automated classification · Original documentation governs
Use this sub-skill when the user asks to edit, test, review, document, or maintain a PennyLane checkout. It is not needed for simple installed-package usage.
../../references/development-conventions.md: distilled repo policy for environments, AI/GitHub safety, tests, linting, formatting, changelog, new files, and import conventions.references/workflows.md: common source-change workflows for operators, devices/plugins, tests, docs, and changelog updates.references/troubleshooting.md: pytest markers, lint/tach failures, architecture boundaries, optional frameworks, and policy blockers.scripts/dev_command_plan.py: prints relevant commands for changed source/test files without running them.good-first-issue tasks with an AI agent.pragma: no cover without human approval..venv with shell ls -ld .venv ../.venv before claiming no venv.black, then isort, then repo-wide tach check when imports/modules changed.python -m pytest tests/path/test_file.py
pylint -rn -sn --persistent=n --rcfile=.pylintrc pennylane/path/file.py
pylint -rn -sn --persistent=n --rcfile=tests/.pylintrc tests/path/test_file.py
black --config ./pyproject.toml pennylane/path/file.py tests/path/test_file.py
isort --settings-path ./pyproject.toml pennylane/path/file.py tests/path/test_file.py
tach check
tests/ops/ or tests/templates/ area, and validate with assert_valid(op) for new operators.pl-device-test for plugin/device validation and device-specific focused tests.import pennylane as qp; run Sybil/docstring tests by pointing pytest at the source/doc file when applicable.A safe development answer should name the changed files, focused tests, lint/format/tach commands, optional dependencies or skipped backends, changelog decision, and unresolved policy approvals. Never claim a repo task is complete if relevant tests are failing.