Skip to content

squad- workflows seem to assume a particular project type? #87

Closed

Description

@tlmii

I added squad to an existing codebase that already had deployment in place. It generated a bunch of workflows (squad-release, etc) that seemed to generally assume I was building an npm package (I wasn't) and that I had a package.json in the root (I don't). I didn't dig in yet to see if these were AI generated (so it could be told to look at the existing code and workflows) or just part of the original install command. But either way, feels like it could be tweaked.

Activity

  1. bradygaster commented on Feb 16, 2026

    @bradygaster
    Collaborator

    Would be interested in what you think could be tweaked; I did update the docs to reflect that we're doing these workflow injections. This was an omission on my part in the docs; thanks!

  2. tlmii commented on Feb 16, 2026

    @tlmii
    Author

    Yeah, given that its part of the initial command, I'm not sure. Depends on your long-term intent with the way things get installed, I guess. And also on how "required" those workflows are for squad to keep going.

    You could detect that there is an existing file structure (e.g. the tool is not being run in an empty folder, there's a .github/ folder, etc) and ask if it should install the workflows. Maybe a subset is still relevant?

  3. bradygaster commented on Feb 20, 2026

    @bradygaster
    Collaborator

    Fixed in PR #123 (merged to dev). Squad now detects project type (npm, go, python, java, dotnet) and generates workflow stubs with TODO comments for non-npm projects instead of broken npm commands.

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions