For the complete documentation index, see llms.txt. This page is also available as Markdown.

Security Guidelines

Security guidelines for Taskade docs contributors: never commit .env files, API keys, or tokens, use placeholder values, and clean git history if secrets leak.

⚠️ CRITICAL: This is a PUBLIC repository that powers docs.taskade.com. Never commit sensitive information!

What NEVER to Commit

Environment Variables & Secrets

# ❌ NEVER commit these files:
.env
.env.local
.env.production
.env.development
*.key
*.pem
*credentials*
*secrets*
config/local.json
config/production.json

API Keys & Tokens

# ❌ Examples of what NOT to commit:
TASKADE_API_TOKEN=your_api_token_here
GITHUB_TOKEN=your_github_token_here
DATABASE_URL=postgres://user:password@host:5432/db
OPENAI_API_KEY=your_openai_key_here

Import Scripts & Temporary Data

Safe Practices

1. Use Template Files

Instead of .env, create .env.example.template:

2. Check Before Committing

Always run these commands before committing:

Create .git/hooks/pre-commit:

If You Accidentally Commit Secrets

Immediate Actions

  1. DO NOT PUSH if you haven't already

  2. Remove the sensitive file and commit:

  1. If already pushed, immediately revoke/rotate the exposed credentials

  2. Contact the team lead immediately

Clean Git History

If secrets were pushed, use BFG Repo-Cleaner:

Pre-Commit Checklist

Before every commit, verify:

Repository Structure

Public Content (✅ Safe to commit)

Private/Hidden Content (❌ Never commit)

Emergency Contacts

If you accidentally commit sensitive information:

  1. Immediate: Stop all commits/pushes

  2. Contact: Team lead or repository maintainer

  3. Action: Revoke/rotate exposed credentials immediately

  4. Follow-up: Clean git history if necessary

Additional Resources


Remember: This repository is PUBLIC and powers our documentation site. When in doubt, ask before committing!

Last updated

Was this helpful?