Skip to content

Add Claude Code feature to devcontainer#1

Open
samuelvkwong wants to merge 1 commit intomainfrom
claude_code_feature
Open

Add Claude Code feature to devcontainer#1
samuelvkwong wants to merge 1 commit intomainfrom
claude_code_feature

Conversation

@samuelvkwong
Copy link

@samuelvkwong samuelvkwong commented Feb 12, 2026

Summary

  • Adds the ghcr.io/anthropics/devcontainer-features/claude-code:1.0 feature to the devcontainer configuration, enabling Claude Code in the development environment.

Test plan

  • Verify the devcontainer builds successfully with the new feature
  • Confirm Claude Code is available inside the container

🤖 Generated with Claude Code

Summary by CodeRabbit

  • Chores
    • Added Claude Code feature support to the development container configuration, expanding available tools for developers using the containerized development environment.

@gemini-code-assist
Copy link

Summary of Changes

Hello @samuelvkwong, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed!

This pull request integrates the Claude Code feature into the project's development container setup. This enhancement aims to provide developers with AI-assisted coding capabilities directly within their standardized development environment, streamlining the development workflow.

Highlights

  • Devcontainer Configuration Update: The devcontainer.json file has been updated to include the ghcr.io/anthropics/devcontainer-features/claude-code:1.0 feature, integrating Claude Code into the development environment.
Changelog
  • .devcontainer/devcontainer.json
    • Added the Claude Code feature to the features list.
Activity
  • No specific review comments or discussions have been recorded yet.
  • The pull request was generated with Claude Code.
Using Gemini Code Assist

The full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips.

Invoking Gemini

You can request assistance from Gemini at any point by creating a comment using either /gemini <command> or @gemini-code-assist <command>. Below is a summary of the supported commands on the current page.

Feature Command Description
Code Review /gemini review Performs a code review for the current pull request in its current state.
Pull Request Summary /gemini summary Provides a summary of the current pull request in its current state.
Comment @gemini-code-assist Responds in comments when explicitly tagged, both in pull request comments and review comments.
Help /gemini help Displays a list of available commands.

Customization

To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a .gemini/ folder in the base of the repository. Detailed instructions can be found here.

Limitations & Feedback

Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for Github and other Google products, sign up here.

You can also get AI-powered code generation, chat, as well as code reviews directly in the IDE at no cost with the Gemini Code Assist IDE Extension.

Footnotes

  1. Review the Privacy Notices, Generative AI Prohibited Use Policy, Terms of Service, and learn how to configure Gemini Code Assist in GitHub here. Gemini can make mistakes, so double check it and use code with caution.

Copy link

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Code Review

This pull request adds the Claude Code devcontainer feature. The change is straightforward, but I've suggested a small improvement for versioning consistency with other features in the devcontainer.json file. Using a major version specifier will align it with existing entries and allow for automatic updates.

"shellautocompletion": true
}
},
"ghcr.io/anthropics/devcontainer-features/claude-code:1.0": {}

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

For consistency with other features in this file (like node:1 and uv:1), it's better to specify the major version 1 instead of the minor version 1.0. This allows for automatic patch and minor updates, ensuring you get bug fixes and improvements without needing to update this file manually.

Suggested change
"ghcr.io/anthropics/devcontainer-features/claude-code:1.0": {}
"ghcr.io/anthropics/devcontainer-features/claude-code:1": {}

@coderabbitai
Copy link

coderabbitai bot commented Feb 12, 2026

📝 Walkthrough

Walkthrough

A new devcontainer feature for Claude Code support is added to the development environment configuration. The features object in the devcontainer.json file now includes the Anthropic Claude Code feature alongside the existing UV package manager feature.

Changes

Cohort / File(s) Summary
Development Container Configuration
.devcontainer/devcontainer.json
Adds ghcr.io/anthropics/devcontainer-features/claude-code:1.0 feature to the features object; updates syntax with comma placement to accommodate the new entry.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 A feature so fine, Claude's code now in place,
The devcontainer hops with quickened pace,
With features aligned and syntax so neat,
Our development setup is now complete! ✨

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title clearly and accurately describes the main change: adding the Claude Code feature to the devcontainer configuration.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch claude_code_feature

No actionable comments were generated in the recent review. 🎉

🧹 Recent nitpick comments
.devcontainer/devcontainer.json (1)

12-13: Consider using :1 instead of :1.0 for consistency with other features.

The feature addition is syntactically correct. However, this feature pins to :1.0 (major.minor) while all other features use major-only pins (:1 for github-cli, docker-in-docker, node, and uv; :2 for docker-in-docker). Using :1 instead would align with the rest of the configuration and allow minor version updates automatically.

Tip

Issue Planner is now in beta. Read the docs and try it out! Share your feedback on Discord.


Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant