Skip to content

Latest commit

 

History

History
504 lines (377 loc) · 12.4 KB

File metadata and controls

504 lines (377 loc) · 12.4 KB

GitHub Repository Configuration Recommendations

1. Repository Description

Recommended repository description:

Intelligent automation Agent framework for macOS with LLM capabilities, supporting task planning, RPA execution, and workflow orchestration

2. Topics (Tags)

Recommended topics to add:

agent, llm, rpa, workflow, automation, golang, macos, ai, large-language-models, openai, qwen, gemini, task-automation, computer-vision, screenshot-automation

3. License

✅ MIT License already exists

4. Recommended Additional Configuration

4.1 Create GitHub Template Files

The following templates are already provided in this repository. You can customize them as needed.

PULL_REQUEST_TEMPLATE.md

## Change Type
- [ ] New Feature
- [ ] Bug Fix
- [ ] Documentation Update
- [ ] Code Refactoring
- [ ] Performance Optimization

## Change Description
<!-- Describe your changes -->

## Related Issue
<!-- Link to related issue(s) -->

## Testing
- [ ] Tests have been added
- [ ] All tests pass locally
- [ ] Documentation has been updated

## Screenshots (if applicable)
<!-- Add screenshots -->

## Checklist
- [ ] Code follows project coding standards
- [ ] Necessary comments have been added
- [ ] Related documentation has been updated

ISSUE_TEMPLATE/bug_report.md

---
name: Bug report
about: Report a problem to help us improve
title: '[BUG] '
labels: bug
assignees: ''

---

## Environment Information
- Operating System: [e.g., macOS 14.0]
- Go Version: [e.g., 1.24.5]
- MacUse Agent Version: [e.g., v1.0.0]
- LLM Provider: [e.g., Qwen, OpenAI]

## Problem Description
<!-- Briefly describe the problem -->

## Steps to Reproduce
1. Run '...'
2. Click on '....'
3. Scroll to '....'
4. See error

## Expected Behavior
<!-- Describe what you expected to happen -->

## Actual Behavior
<!-- Describe what actually happened -->

## Logs/Error Messages

Paste logs or error messages here


## Screenshots
<!-- If applicable, add screenshots -->

## Additional Information
<!-- Add any other context or information -->

ISSUE_TEMPLATE/feature_request.md

---
name: Feature request
about: Suggest an idea for this project
title: '[FEATURE] '
labels: enhancement
assignees: ''

---

## Feature Description
<!-- Briefly describe the feature you want -->

## Problem or Motivation
<!-- What problem does this feature solve? Why should it be added? -->

## Proposed Solution
<!-- Describe in detail how you would like this implemented -->

## Alternatives
<!-- Describe any alternative solutions or features you have considered -->

## Additional Information
<!-- Add any other context or information -->

4.2 Create SECURITY.md

Create a SECURITY.md file in the repository root:

# Security Policy

## Supported Versions

| Version | Support Status |
|---------|----------------|
| Latest  | ✅ Supported   |

## Reporting Vulnerabilities

If you discover a security vulnerability, please report it privately before creating a public issue.

**How to Report:**

1. Send an email to the project maintainers
2. Include `[Security] Vulnerability Report` in the subject line
3. Provide a detailed description of the vulnerability
4. Include steps to reproduce (if applicable)
5. Wait for maintainers to respond before disclosing

## Response Time

- Initial response: Within 48 hours
- Patch release: As soon as possible, typically within 1-2 weeks
- Public disclosure: After patch is released

## What to Include in Report

- Vulnerability type and description
- Affected versions
- Proof of concept or steps to reproduce
- Potential impact
- Suggested fix (if known)

## Security Best Practices for Users

- Keep the agent updated to the latest version
- Use environment variables for API keys
- Enable evaluation mode for critical tasks
- Review automated actions before full deployment
- Use development mode for testing

## Security Features

- Environment variable support for sensitive data
- No hardcoded credentials
- Screenshot-based evaluation for task verification
- Configurable action timeouts
- Optional debug logging (disabled in production)

4.3 Create FUNDING.yml

Create .github/FUNDING.yml:

github: [your-github-username]
custom:
  - url: "https://your-donation-link.com"
    title: "Sponsor Support"

4.4 Create .github/dependabot.yml

Create .github/dependabot.yml for automated dependency updates:

version: 2
updates:
  - package-ecosystem: "gomod"
    directory: "/"
    schedule:
      interval: "weekly"
    open-pull-requests-limit: 10
    reviewers:
      - "your-github-username"
    labels:
      - "dependencies"
      - "automated"

  - package-ecosystem: "github-actions"
    directory: "/"
    schedule:
      interval: "weekly"
    open-pull-requests-limit: 5

4.5 Create .github/stale.yml (Optional)

Create .github/stale.yml to manage stale issues and PRs:

# Number of days of inactivity before an issue becomes stale
daysUntilStale: 60
# Number of days of inactivity before a stale issue is closed
daysUntilClose: 7
# Issues with these labels will never be considered stale
exemptLabels:
  - pinned
  - security
# Label to use when marking an issue as stale
staleLabel: stale
# Comment to post when marking an issue as stale. Set to `false` to disable
markComment: >
  This issue has been automatically marked as stale because it has not had
  recent activity. It will be closed if no further activity occurs. Thank you
  for your contributions.
# Comment to post when closing a stale issue. Set to `false` to disable
closeComment: false

5. Setting Up GitHub Repository

Use GitHub CLI to configure:

# Set description
gh repo edit --description "Intelligent automation Agent framework for macOS with LLM capabilities, supporting task planning, RPA execution, and workflow orchestration"

# Set topics
gh repo edit --add-topic agent \
  --add-topic llm \
  --add-topic rpa \
  --add-topic workflow \
  --add-topic automation \
  --add-topic golang \
  --add-topic macos \
  --add-topic ai \
  --add-topic large-language-models \
  --add-topic openai \
  --add-topic qwen \
  --add-topic gemini \
  --add-topic task-automation \
  --add-topic computer-vision \
  --add-topic screenshot-automation

# Set homepage
gh repo edit --homepage "https://github.com/bzfq21/Go-ComputerUseAgent"

# Set visibility (private/public)
gh repo edit --visibility public

6. Recommended Repository Settings

Branch Protection

  • Protect main branch:

    • Require pull request reviews (at least 1)
    • Require status checks to pass (CI)
    • Require branches to be up to date before merging
    • Restrict who can push (optional)
  • Create additional protected branches:

    • develop: Require CI checks, optional review
    • release/*: Require CI and review

Features

  • Enable Issues: Allow user feedback
  • Enable Discussions: For community discussion and Q&A
  • Enable Projects: For task management and roadmap
  • Enable Wikis: For extended documentation
  • Enable Actions: For CI/CD workflows
  • Enable Packages: For Go module publishing (optional)

Security

  • Enable security advisories: For vulnerability reporting
  • Enable dependabot alerts: For dependency security alerts
  • Enable code scanning: Using CodeQL (if configured)
  • Enable secret scanning: For detecting leaked credentials

Default Branch

  • Set main as the default branch
  • Update README.md references if changing from master

7. Add Badges to README.md

The following badges are already in the README:

[![Go Report Card](https://goreportcard.com/badge/github.com/bzfq21/Go-ComputerUseAgent)](https://goreportcard.com/report/github.com/bzfq21/Go-ComputerUseAgent)
[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT)
[![Go Version](https://img.shields.io/badge/Go-1.24+-00ADD8?style=flat&logo=go)](https://go.dev)
[![CI](https://github.com/bzfq21/Go-ComputerUseAgent/workflows/CI/badge.svg)](https://github.com/bzfq21/Go-ComputerUseAgent/actions)

Additional Badges to Consider

[![codecov](https://codecov.io/gh/bzfq21/Go-ComputeUseAgent/branch/main/graph/badge.svg)](https://codecov.io/gh/bzfq21/Go-ComputeUseAgent)
[![GoDoc](https://godoc.org/github.com/bzfq21/Go-ComputerUseAgent?status.svg)](https://godoc.org/github.com/bzfq21/Go-ComputerUseAgent)
[![Release](https://img.shields.io/github/release/bzfq21/Go-ComputeUseAgent)](https://github.com/bzfq21/Go-ComputerUseAgent/releases)
[![Downloads](https://img.shields.io/github/downloads/bzfq21/Go-ComputeUseAgent/total.svg)](https://github.com/bzfq21/Go-ComputerUseAgent/releases)

8. GitHub Actions CI/CD

The repository includes a CI workflow at .github/workflows/ci.yml. Ensure it includes:

  • Build on multiple Go versions (1.23, 1.24)
  • Run tests on macOS
  • Run linters and formatters
  • Check code coverage
  • Build release binaries

Recommended Additional Workflows

Release Workflow (.github/workflows/release.yml)

name: Release

on:
  push:
    tags:
      - 'v*'

permissions:
  contents: write

jobs:
  release:
    runs-on: macos-latest
    steps:
      - uses: actions/checkout@v4

      - name: Set up Go
        uses: actions/setup-go@v5
        with:
          go-version: '1.24'

      - name: Build
        run: make build

      - name: Create Release
        uses: actions/create-release@v1
        env:
          GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
        with:
          tag_name: ${{ github.ref }}
          release_name: Release ${{ github.ref }}
          draft: false
          prerelease: false

9. Social Media and Integration

Social Preview

Add a social.png or og-image.png in the repository root for better sharing previews.

Read More Links

In the GitHub repository sidebar, you can add links to:

  • Website (if exists)
  • Documentation
  • Blog posts about the project

10. Community Guidelines

Consider adding a CODE_OF_CONDUCT.md:

# Contributor Covenant Code of Conduct

## Our Pledge

We as members, contributors, and leaders pledge to make participation in our
community a harassment-free experience for everyone.

## Our Standards

Examples of behavior that contributes to a positive environment:
- Using welcoming and inclusive language
- Being respectful of differing viewpoints and experiences
- Gracefully accepting constructive criticism
- Focusing on what is best for the community

Examples of unacceptable behavior:
- The use of sexualized language or imagery
- Trolling or insulting/derogatory comments
- Public or private harassment
- Publishing others' private information

## Our Responsibilities

Project maintainers are responsible for clarifying the standards of acceptable
behavior and are expected to take appropriate and fair corrective action in
response to any instances of unacceptable behavior.

## Scope

This Code of Conduct applies within all project spaces.

## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team. All complaints will be reviewed and
investigated.

11. Documentation Structure

Recommended documentation structure:

docs/
├── getting-started/
│   ├── installation.md
│   ├── configuration.md
│   └── first-task.md
├── guides/
│   ├── custom-tools.md
│   ├── custom-llm.md
│   └── evaluation-mode.md
├── api/
│   ├── rpa-tools.md
│   └── workflow-api.md
└── troubleshooting/
    ├── common-issues.md
    └── performance-tips.md

12. Release Notes Template

For releases, follow this structure:

## [Version] - YYYY-MM-DD

### Added
- New feature 1
- New feature 2

### Changed
- Modified behavior 1
- Modified behavior 2

### Fixed
- Bug fix 1
- Bug fix 2

### Removed
- Deprecated feature 1

### Security
- Security fix 1

13. Post-Setup Checklist

After setting up the repository:

  • Verify all badges are showing
  • Test CI/CD workflows
  • Create initial release
  • Set up dependabot
  • Configure branch protection
  • Add team members (if applicable)
  • Set up project boards
  • Create documentation wiki
  • Write first blog post or announcement
  • Share on social media

Additional Resources