Heicode Docs

Connecting Resources, Documentation, and SK

Connecting Resources, Documentation, and SK

An Agent can only use resources you've authorized for the current task. The point of connecting resources isn't to hand all permissions over to the platform — it's to let Heicode generate the minimum usable context for the current task.

Resource types

TypeExamplesCommon use
Git repositoryGitHub, Gitee, self-hosted GitRead code, write code, create PRs
DocumentationPRDs, API docs, architecture docsUnderstand requirements and constraints
SK skill libraryTeam standards, tool skillsGuide the Agent to work the team's way
Cloud accountAzure, AWS, GCPAuto-discover resources
Cloud resourceVM, database, AKS, static siteDeploy and run
Log monitoringLog services, monitoring dashboardsTroubleshoot issues

The Resource Binding page in Heicode Manager, listing already-connected resources

Clicking "New Binding" shows every resource type you can connect:

Resource type picker — GitHub, Gitea, GitLab, MySQL, PostgreSQL, Object Storage

Connecting Git

When connecting Git, you need to confirm:

  • Repository.
  • Branch.
  • Paths allowed for reading.
  • Paths allowed for writing.
  • Whether creating branches is allowed.
  • Whether committing is allowed.
  • Whether creating PRs is allowed.

It's recommended to start read-only. Open up write access only once the Agent actually needs to modify code.

TaskPermission
Code understandingRead-only
Documentation generationRead code, write docs
Bug fixRead/write on relevant directories
New featureRead/write on a new branch, PR allowed
Production hotfixWrite after approval

Connecting documentation

Documentation reduces how much the Agent needs to guess.

Recommended to connect:

  • Product descriptions.
  • User flows.
  • Page mockups.
  • API documentation.
  • Database descriptions.
  • Deployment descriptions.
  • Security rules.
  • Legal and privacy notices.

Documentation permission is read-only by default. When write access to documentation is needed, it should be restricted to the docs path.

Connecting SK

SK is a collection of team working methods and tool capabilities.

Content suitable for SK:

  • Coding standards.
  • Commit standards.
  • Testing standards.
  • Frontend design standards.
  • Backend API standards.
  • Deployment steps.
  • Security checks.
  • Documentation templates.

SK security rules

  • High-risk SKs are disabled by default.
  • SKs capable of running shell commands require approval.
  • SKs capable of accessing cloud resources require approval.
  • SKs capable of writing to databases require approval.
  • SKs capable of deploying to production require approval.
  • SKs should come from a controlled repository or versioned package.

Connecting a cloud account

Once a cloud account is connected, Heicode should auto-discover resources.

The user only needs to choose:

  • Which resources can be used for this task.
  • Which resources are read-only.
  • Which resources are writable.
  • Which resources require approval.
  • The authorization's validity period.

Don't manually paste cloud access keys into documentation or chat content.

Connecting a deployment target

A deployment target might be:

  • Azure Static Web Apps.
  • AKS.
  • VM.
  • Container Apps.
  • Self-hosted server.
  • Object storage static site.

Before deployment, confirm:

  • Environment.
  • Resource group.
  • Domain.
  • Environment variables.
  • Secret source.
  • Rollback plan.
  • Approver.

Last updated on

On this page