Extend init command into an interactive QuickStart wizard#89
Draft
Extend init command into an interactive QuickStart wizard#89
init command into an interactive QuickStart wizard#89Conversation
…lls setup" Co-authored-by: teggr <837787+teggr@users.noreply.github.com>
… Copilot detection, extract AGENT_SKILLS_MARKER constant Co-authored-by: teggr <837787+teggr@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Extend init command for interactive setup process
Extend Feb 24, 2026
init command into an interactive QuickStart wizard
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
deploy4j initwas a fire-and-forget command that created stub files with no project-specific configuration. This extends it into a guided interactive setup that collects server details, secret names, and AI agent preferences upfront.Changes
Core (
deploy4j-core)InitConfig(new) — value object capturinghostname,extraSecretNames, andagentType(COPILOT | CLAUDE | NONE)Initializer— newinit(InitConfig)overload; oldinit(boolean)delegates to it with defaultsdeploy.ymltemplate (- localhost→- <hostname>).github/copilot-instructions.mdorCLAUDE.mdwith a duplication guard (AGENT_SKILLS_MARKER)copilot-skills.mdandclaude-skills.mdwith deploy4j deployment reference contentCLI (
deploy4j-cli)InitCliCommand— replaces silent execution with a 3-step interactive flow:localhost).github/copilot-instructions.md) or Claude (CLAUDE.md) and prompts to append skillsTests & Docs
InitializerTestcases cover: hostname substitution, extra secrets appended, Copilot/Claude file creation, no-duplication on repeated runs, null-hostname defaultingdocs/_commands/init.mdupdated with the interactive Q&A and a files-created tableREADME.mdQuickStart updated to calldeploy4j initimmediately after installOriginal prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.