Skip to content

Conversation

@kennyg
Copy link

@kennyg kennyg commented Nov 26, 2025

Summary

  • Adds a reusable slash command (/setup-community-health) that sets up GitHub community health files with good defaults for any project
  • Analyzes existing files to avoid duplicates
  • Gathers project context automatically (name, language, repo URL from package.json, git remote, etc.)
  • Asks user which files they want to create
  • Generates industry-standard templates including Contributor Covenant v2.1

Files Generated

The command can create:

  • CODE_OF_CONDUCT.md
  • CONTRIBUTING.md
  • SECURITY.md
  • .github/ISSUE_TEMPLATE/bug_report.md
  • .github/ISSUE_TEMPLATE/feature_request.md
  • .github/PULL_REQUEST_TEMPLATE.md
  • .github/SUPPORT.md
  • .github/FUNDING.yml
  • .github/CODEOWNERS

Test plan

  • Tested on a Next.js project
  • Verified it detects existing files correctly
  • Verified generated files follow GitHub's community health standards

🤖 Generated with Claude Code

Adds a reusable slash command that sets up GitHub community health files
with good defaults for any project. The command:

- Analyzes existing community health files
- Gathers project context (name, language, repo URL)
- Asks user which files to create
- Generates customized templates for:
  - CODE_OF_CONDUCT.md (Contributor Covenant v2.1)
  - CONTRIBUTING.md
  - SECURITY.md
  - Issue templates (bug report, feature request)
  - PR template
  - SUPPORT.md, FUNDING.yml, CODEOWNERS

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
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