nullable-new-params
Skill by remotion-dev
Converts newly added optional parameters, props and type members in Remotion monorepo diffs into required nullable values. Built for reviewers and contributors who want internal call sites to pass values explicitly.
Install nullable-new-params
Built from the published package, never by AI.
git clone --depth 1 https://github.com/remotion-dev/remotion /tmp/remotion && mkdir -p ~/.claude/skills && cp -r /tmp/remotion/.agents/skills/nullable-new-params ~/.claude/skills/nullable-new-paramsRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/remotion-dev/remotion /tmp/remotion && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/remotion/.agents/skills/nullable-new-params ~/.gemini/antigravity-cli/skills/nullable-new-paramsAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Step-by-step: install nullable-new-params in Antigravity CLI
Skills can run scripts on your machine. Some need an API key: check the README.
About
This skill fixes newly added optional parameters, optional React props, and optional type or interface members in Remotion monorepo diffs. For internal code it changes `name?: T` to `name: T | null` and updates callers to pass `null` when no value exists. It also tells the assistant to prefer `value !== null` checks and to avoid treating valid falsy values such as 0, '' or false as absent.
The workflow starts with a scanner script, find-new-optional-params.ts, which reads a git diff. Each candidate is then classified as public or internal. Public APIs, meaning exports from package entrypoints or items documented in packages/docs/docs, keep their optional fields so existing users are not broken. The skill is aimed at contributors and reviewers working on the Remotion repository.
Written from the project's SKILL.md and checked against it.
What it can do
- Scan diffs for new optional membersRuns find-new-optional-params.ts against a branch diff or staged changes to list new optional fields and parameters.
- Convert internal optionals to required nullableRewrites internal `foo?: T` declarations as `foo: T | null` in types and function parameters.
- Update call sites to pass nullMakes every internal caller pass a real value or an explicit null instead of relying on defaults.
- Fix null checks in implementationsPrefers `value !== null` checks and avoids truthy checks that would drop valid 0, '' or false values.
- Keep public APIs backwards compatibleLeaves public-facing fields optional and resolves a concrete internal value at the boundary.
- Verify changesDescribes re-running the scanner and building or testing touched packages with turbo.
What you need
- Bun, used to run the scanner script
- A checkout of the Remotion monorepo
- Turbo, used through bunx for package builds
Try asking
- Use nullable-new-params to fix the optional props added in my current branch
- Scan my staged changes for new optional parameters and convert the internal ones
- Review this PR for new `foo?: T` fields and suggest nullable replacements
Good to know
- Public APIs exported from package entrypoints or documented in packages/docs/docs must stay optional.
- Does not use undefined as the absence sentinel for new internal APIs unless the local contract already does.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: .agents/skills/nullable-new-params/SKILL.md, .agents/skills/nullable-new-params/scripts/find-new-optional-params.ts. This looks for known risky patterns and is not a full audit. How grades work
Inside the skill
-
SKILL.md4 KB -
agents/openai.yaml242 B -
scripts/find-new-optional-params.ts3 KB
Alternatives to nullable-new-params
All alternatives →Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.
Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.
Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.
Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.
Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.
Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.
Compare with openclaw-github-repo-commander, gradio or hig-components-menus
nullable-new-params: common questions
When should I not use this skill on a Remotion change?
The source says public APIs are the exception. If a changed signature is exported from a package entrypoint or documented in packages/docs/docs, making the new field required would be breaking, so it stays optional.
Why use null instead of undefined for new internal parameters?
The skill says null is the absence sentinel for new internal APIs. Undefined is only used when the surrounding local contract already standardizes on it.
How does the skill find the new optional fields?
It runs the bundled script find-new-optional-params.ts, which can scan a branch diff such as origin/main...HEAD or staged changes with --cached.
How do I install nullable-new-params?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is nullable-new-params free?
The code is published under the NOASSERTION licence. The service it connects to may have its own pricing.
Is nullable-new-params safe to use?
It scores 83 of 100. Grades: maintenance A, licence F, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to nullable-new-params?
Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.
