Skip to content

Instantly share code, notes, and snippets.

@colelawrence
Created November 17, 2024 18:46
Show Gist options
  • Select an option

  • Save colelawrence/4586680236cd6bd3bcf950fbf4d2d7e5 to your computer and use it in GitHub Desktop.

Select an option

Save colelawrence/4586680236cd6bd3bcf950fbf4d2d7e5 to your computer and use it in GitHub Desktop.
Feature doc guidelines example

Feature Documentation Guidelines

Feature docs are files in docs/my-idea-feature.md files.

(Product Values)

When considering the details for any given product feature keep in mind our values:

  1. Privacy and Security: Prioritize user data protection and system security in all feature designs
  2. Transparency: Ensure clear communication of data usage and consent processes
  3. Efficiency: Optimize for streamlined development and clear team communication

Structure

  1. Title: Concise feature description
  2. Overview: Brief summary of purpose and goals
  3. Core Features: Bullet-point list of key functionalities
  4. Technical Implementation:
    • API Endpoints
    • Data Model changes
    • Security considerations
  5. User Experience:
    • User flow
    • Key UI components
  6. Implementation Phases: Logical breakdown of development steps
  7. Future Enhancements: Potential improvements for later iterations

Content Guidelines

  1. Be concise and use domain-specific language
  2. Provide system context and user impact
  3. Describe technical details at an appropriate level
  4. Highlight dependencies and edge cases
  5. Use inline references for function names, data types, or API endpoints
  6. IMPORTANT: Within the markdown for the feature, use indentation-based code blocks.

Best Practices

  1. Encourage cross-functional input
  2. Maintain in version control
  3. Update as feature evolves
  4. Cross-reference related features
  5. Provide actionable information for immediate development
  6. Allow flexibility for technical decisions during implementation
  7. Use pseudocode for complex logic explanation when necessary

Adhere to these guidelines to create consistent, informative, and actionable feature documentation that facilitates efficient development and clear communication across the team, while upholding our core product values throughout the product lifecycle.

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