Nano Banana Pro
Agent skill for nano-banana-pro
- **Git Commit Issues:**
Sign in to like and favorite skills
Git Commit Issues:
mypy, check for issues related to the types-all dependency in
.pre-commit-config-rapid.yaml.mypy hook may fail if it tries to install types-all, which depends
on a yanked/nonexistent stub package (types-pkg-resources).types-all dependency in
.pre-commit-config-rapid.yaml under the mypy hook. For example, delete
additional_dependencies: [types-all] or replace it with only the stubs
you actually need (e.g., types-requests, etc.).pre-commit clean && pre-commit install (or just retry the commit;
pre-commit will reinstall environments).pre-commit autoupdate to pull newer hook revisions, but
the main issue is types-all.types-all issue, refresh the pre-commit environments
and reinstall the hooks using: pre-commit clean && pre-commit install.
Then, retry the commit.Pre-commit Hook Failures:
chmod +x script_name.py)..bandit for YAML syntax errors.mdformat to fix markdown issues.flake8 and mypy errors.shellcheck issues.bandit and
detect-secrets.detect-secrets issues, try running pre-commit autoupdate..eslintrc.json file.
Example:
{ "env": { "browser": true, "es2021": true, "node": true }, "extends": "eslint:recommended", "parserOptions": { "ecmaVersion": 12, "sourceType": "module" }, "rules": {} }
git add -u) before
committing.git commit --no-verify -m "chore: fix pre-commit hook configuration issues"
(use with caution).Comprehensive Pre-commit Troubleshooting:
.bandit or .pre-commit-config-rapid.yaml)chmod +x script_name.py to
grant execute permissions to the relevant scripts. Example:
chmod +x automation/scripts/ecosystem_visualizer.py chmod +x automation/scripts/update_agent_docs.py chmod +x automation/scripts/mouthpiece_filter.py chmod +x project_meta/context-handoff/context_generator.py
pre-commit autoupdate to update
detect-secrets and other hooks..bandit configuration may look like:
--- exclude_dirs: - /tests/ - /test/ - .venv/ - venv/
.eslintrc.json file:
{ "env": { "browser": true, "es2021": true, "node": true }, "extends": "eslint:recommended", "parserOptions": { "ecmaVersion": 12, "sourceType": "module" }, "rules": {} }
git add -u) and
recommit to allow pre-commit to auto-fix formatting issues (YAML,
Markdown, etc.).pre-commit run --all-files || true
to attempt auto-fixing all issues.git add -A to stage the auto-fixed changes.git commit -m "chore: fix pre-commit issues and format code" to commit
the staged changes.git commit --no-verify -m "chore: commit all changes (pre-commit fixes to follow)".
Use this as a last resort.Pre-commit Hook Dependency Conflict:
mdformat, update to a compatible version that works with GFM plugins.mdformat hook in .pre-commit-config-rapid.yaml
is using a compatible revision and includes the necessary
additional_dependencies.# ...existing code... - repo: https://github.com/executablebooks/mdformat rev: 0.7.17 # Compatible with gfm plugins hooks: - id: mdformat additional_dependencies: - mdformat-gfm>=0.3.5 - mdformat-tables - mdformat-toc args: [--wrap, '120'] # ...existing code...
mdformat
configuration in .pre-commit-config-rapid.yaml.mdformat configuration to use
rev: 0.7.17 and include mdformat-gfm>=0.3.5, mdformat-tables, and
mdformat-toc in additional_dependencies. Ensure
args: [--wrap, '120'] is also present..pre-commit-config-rapid.yaml exists,
apply the same fix to it.pre-commit clean, pre-commit install,
and
pre-commit autoupdate --repo https://github.com/executablebooks/mdformat.pre-commit run mdformat --all-files and
pre-commit run --all-files to verify the fix.--no-verify workarounds from
docs/, CONTRIBUTING.md, README.md, and CLEANUP_ROADMAP.md.fix: update mdformat to v0.7.17 for gfm plugin compatibility - Update mdformat from 1.0.0 to 0.7.17 - Maintains compatibility with mdformat-gfm>=0.3.5 - Fixes pre-commit hook dependency conflict - Resolves CLEANUP_ROADMAP Phase 1.1 - Closes #[issue-number] The previous version (1.0.0) was incompatible with mdformat-gfm plugins, forcing developers to use --no-verify and bypass quality gates. Testing: - ✅ pre-commit run --all-files passes - ✅ mdformat hook executes successfully - ✅ All markdown files formatted correctly.Directory Case Sensitivity Issues:
Jules to
jules..gitignore.New to GitHub Copilot customizations? This organization provides comprehensive enhancements:
The following instructions are only to be applied when performing a code review.
README.md.Only apply to files that end in .prompt.md
mode field specified of either agent or ask.description field.description field is not empty.description field value is wrapped in single quotes.tools, but it's not required.model to specify the model that the prompt
is optimised for.Only apply to files that end in .instructions.md
description field.description field is not empty.description field value is wrapped in single quotes.applyTo field that specifies the file or files to
which the instructions apply. If they wish to specify multiple file paths they
should be formated like '**.js, **.ts'.Only apply to files that end in .chatmode.md
description field.description field is not empty.description field value is wrapped in single quotes.tools, but it's not required.model to specify the model that the chat
mode is optimised for.When performing a code review, pay close attention to the following:
sandbox="allow-scripts allow-same-origin ...", flag it. Allowing both
script execution and same-origin breaks the sandbox boundary, so a
compromised demo can read or inject content into the parent gallery. The
sandbox should be tightened or the content proxied.app-deployments.yml) inside the source repo, especially if the
gallery is in a separate .github repo and the index job only queries
GitHub APIs. Commits to the source repo will not reach the gallery site, and
the deployment registry will remain empty, preventing live demos from being
surfaced in the UI.When encountering a large number of stashed changes and ongoing issues:
Triage Plan:
git status.Triage Options:
git status and a stash inventory summary (count + newest/oldest
entries).Execution:
git status -sb to get the current working tree status.(git stash list | head -n 5; echo '---'; git stash list | tail -n 5; echo '---count---'; git stash list | wc -l).The phase includes:
Key tasks:
New to GitHub Copilot customizations? This organization provides comprehensive enhancements:
The following instructions are only to be applied when performing a code review.
README.md.Only apply to files that end in .prompt.md
mode field specified of either agent or ask.description field.description field is not empty.description field value is wrapped in single quotes.tools, but it's not required.model to specify the model that the prompt
is optimised for.Only apply to files that end in .instructions.md
description field.description field is not empty.description field value is wrapped in single quotes.