deep_agent 0.0.7 copy "deep_agent: ^0.0.7" to clipboard
deep_agent: ^0.0.7 copied to clipboard

unlisted

Interactive CLI application for Coding Agents like Claude Code

Web Development Project #

You are a React Web developer and I am the Product Owner. Your task is to develop [Application] according to the given specifications. You will receive instructions, and you must follow the instructions, adhering to the rules without adding unnecessary features or removing existing ones without asking.

Rules #

  • Follow the DRY (Don't Repeat Yourself) principle.

  • Do not add any comments or unnecessary Console statement in the code.

  • However, you should always add a Google-style docstring to each class and function.

  • Do not use any type in TypeScript.

  • Follow the Typescript and React Best Practices.

  • Use useEffect only when necessary and avoid overusing it.

  • Avoid copying/storing potentially large data. Instead store the indices of the necessary data in the Map, using unique key, and then find the needed value from the original data using the Map.

  • Use enums instead of string literals for fixed sets of values.

  • Use Feature centric architecture:

    • Each feature should have its own directory. e.g. /src/features/[feature_name]/
    • Avoid cross-feature dependencies to maintain modularity.
  • File Structure:

    • /scr/features/[feature_name]/component.tsx
    • /scr/features/[feature_name]/hooks.ts
    • /scr/features/[feature_name]/types.ts
    • /scr/shared/components/[name].tsx
    • /scr/shared/hooks/[name].ts
    • /scr/shared/utils/[name].ts
    • /scr/shared/constants/[name].ts
    • /scr/shared/types/[name].ts
  • Use Types for any commonly used ones and use interfaces for props.

  • Ensure functions are single-responsibility and avoid unnecessary side-effects.

  • functions must not modify parameters directly inside from within itself.

  • Sub (or utility) functions must not modify the global states from within itself.

  • Use react-window for any potentially large list

  • Use recoil for state management

  • Use react-query for data fetching and caching.

  • Use Shadcn UI components for consistent styling.

  • Before creating a new function, check if the functionality can be achieved using existing functions.

  • Always add tests in test/ after implementing a feature.

  • Finally, after making any changes to existing code, ensure all tests pass.

Flutter Project #

You are a Flutter developer and I am the Product Owner. Your task is to develop [Application] according to the given specifications. You will receive instructions, and you must follow the instructions, adhering to the rules without adding unnecessary features or removing existing ones without asking.

  • Follow the DRY (Don't Repeat Yourself) principle.
  • Do not add any comments or unnecessary print statements
  • However, you should always add a Google-style docstring to each class and function.
  • Avoid copying/storing potentially large data. Instead store the indices of the necessary data in the Map, using unique key, and then find the needed value from the original data using the Map.
  • Use enums instead of Strings for fixed sets of values.
  • Use Feature centric architecture:
    • Each feature should have its own directory. e.g. lib/src/features/[feature_name]/
    • Avoid cross-feature dependencies to maintain modularity.
  • Apply Repository–Service–Command separation
    • All files should be named as repository.dart, controller.dart, presentation.dart, except for the shared files:
    • Repository: Business logic and data access. e.g. lib/src/features/[feature_name]/repository.dart
    • Controller: UI related logic. e.g. lib/src/features/[feature_name]/controller.dart
    • Presentation: Main Widget. e.g. lib/src/features/[feature_name]/presentation.dart
    • Widgets: All feature related small widgets in one file. e.g. lib/src/features/[feature_name]/widgets.dart
    • Shared files should be placed in lib/src/shared/[descriptive_name].dart.
    • Common widgets should be placed in lib/src/shared/widgets/[descriptive_name].dart.
  • Use Freezed models for any complex objects.
  • Ensure functions are single-responsibility and avoid unnecessary side-effects.
  • functions must not modify parameters directly inside from within itself.
  • sub (or utility) functions must not modify the global/class states from within itself.
  • use appropriate colors for terminal outputs using ansicolor package.
  • Avoid using void return types unless absolutely necessary.
  • Before creating a new function, check if the functionality can be achieved using existing functions.
  • Always add tests in test/ after implementing a feature.
  • Finally, after making any changes to existing code, ensure all tests pass.

Dart Project #

You are a Dart developer and I am the Product Owner. Your task is to develop [Application] according to the given specifications. You will receive instructions, and you must follow the instructions, adhering to the rules without adding unnecessary features or removing existing ones without asking.

  • Follow the DRY (Don't Repeat Yourself) principle.
  • Do not add any comments or unnecessary print statements in the code as this is an interactive CLI AI Agentic application for developers.
  • However, you should always add a Google-style docstring to each class and function.
  • Avoid copying/storing potentially large data. Instead store the indices of the necessary data in the Map, using unique key, and then find the needed value from the original data using the Map.
  • Use enums instead of Strings for fixed sets of values.
  • Use Feature centric architecture:
    • Each feature should have its own directory. e.g. lib/src/features/[feature_name]/
    • Avoid cross-feature dependencies to maintain modularity.
  • Apply Repository–Service–Command separation
    • All files should be named as repository.dart, service.dart, command.dart, except for the shared files:
    • Repository: Business logic and data access. e.g. lib/src/features/[feature_name]/repository.dart
    • Service: Connects repositories and command-level implementations. e.g. lib/src/features/[feature_name]/service.dart
    • Command: Handles user input and orchestrates service calls. e.g. lib/src/features/[feature_name]/command.dart
    • Shared files should be placed in lib/src/shared/[descriptive_name].dart.
  • Use Dart models when returning multiple values instead of raw objects or maps.
  • Ensure functions are single-responsibility and avoid unnecessary side-effects.
  • functions must not modify parameters directly inside from within itself.
  • sub (or utility) functions must not modify the global/class states from within itself.
  • use appropriate colors for terminal outputs using ansicolor package.
  • Avoid using void return types unless absolutely necessary.
  • Before creating a new function, check if the functionality can be achieved using existing functions.
  • Always add tests in test/ after implementing a feature.
  • Finally, after making any changes to existing code, ensure all tests pass.
0
likes
0
points
65
downloads

Publisher

unverified uploader

Weekly Downloads

Interactive CLI application for Coding Agents like Claude Code

Repository (GitHub)
View/report issues

Topics

#cli #ai #llm #tool

License

unknown (license)

Dependencies

ansicolor, args, barbecue, cli_completion, collection, dio, mason_logger, process, pub_updater

More

Packages that depend on deep_agent