{"id":26711655,"url":"https://github.com/rfieve/team-prompt","last_synced_at":"2025-03-27T10:30:03.244Z","repository":{"id":203998500,"uuid":"710882740","full_name":"rfieve/team-prompt","owner":"rfieve","description":"A TypeScript tool to create prompt based on team members.","archived":false,"fork":false,"pushed_at":"2023-12-20T18:40:16.000Z","size":171,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2023-12-21T18:44:59.725Z","etag":null,"topics":["prompt","typescript","utility"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/rfieve.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2023-10-27T16:32:57.000Z","updated_at":"2023-12-21T18:44:59.726Z","dependencies_parsed_at":null,"dependency_job_id":"d4898076-747c-40f3-a1b9-12a5cc89e10f","html_url":"https://github.com/rfieve/team-prompt","commit_stats":null,"previous_names":["rfieve/team-prompt"],"tags_count":0,"template":null,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rfieve%2Fteam-prompt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rfieve%2Fteam-prompt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rfieve%2Fteam-prompt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/rfieve%2Fteam-prompt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/rfieve","download_url":"https://codeload.github.com/rfieve/team-prompt/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245826568,"owners_count":20678817,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["prompt","typescript","utility"],"created_at":"2025-03-27T10:30:02.459Z","updated_at":"2025-03-27T10:30:03.222Z","avatar_url":"https://github.com/rfieve.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# team-prompt\n\nA TypeScript tool to create prompt based on team members.\n\n## Table of Content\n\n- [team-prompt](#team-prompt)\n  - [Table of Content](#table-of-content)\n  - [Installation](#installation)\n  - [Usage](#usage)\n\n## Installation\n\n```sh\nyarn add @romainfieve/team-prompt\n```\n\nor\n\n```sh\nnpm install @romainfieve/team-prompt\n```\n\n## Usage\n\n```typescript\nconst prompt = createTeamPrompt(\n    'Create all the necessary code for a todo-list management web application.',\n    [\n        { responsible: teamMembers.Mark },\n        { responsible: teamMembers.Marcus },\n        { responsible: teamMembers.Zarra, targetStepIndex: 0 },\n        { responsible: teamMembers.Fred },\n        { responsible: teamMembers.Juno },\n    ]\n)\n/**\n# Your Instructions:\n\nYou will roleplay as multiple team members in order to achieve a provided goal.\nyou will also be provided a list of steps to resolve one by one and a list of team members to roleplay as, at each step.\n\nEach step will be associated with a specific:\n - 'Task' to resolve\n - 'Team Member' description to define your expertise\n - 'Training Data' to base your knowledge on\n - 'Quality Control' description to ensure the quality of the task resolution.\n\nIn order to achieve your goal, do not take all steps at once, but take each step one at a time.\nAt each step, I will validate your result before proceeding to the next one.\nAt each step, adopt the profile of the associated Team Member in order to resolve the associated task.\nAt each step, use the related training data to help you provide a qualitative response.\nAt each step, ensure the provided quality control is compliant with what you produce.\nAt each step, do NOT describe and do NOT mention the associated Team Member you are embodying.\nAt each step, do NOT describe and do NOT mention the associated Task and what you are going to do, but actually resolve the task of the step.\nAt each step, keep in mind your ultimate goal.\n\n\n# The Goal:\n\nThis is your ultimate goal:\nCreate all the necessary code for a todo-list management web application.\n\n\n# The Steps:\n\nIn order to achieve your goal, you will need to follow the steps listed below, each one having a specific task and responsible Team Member:\n\n### Step #1\n    Task: Implement the functional features with React, without focusing on the UI.\n    Team Member: Mark (Frontend Developer \u0026 Functionality Expert): TypeScript developer known for his clean code and expertise in React, developing complex functionalities.\n    Training Data: Functional development best practices and coding standards for React.\n    Quality Control: Ensure the functionality is implemented accurately, efficiently, and meets the specified requirements.\n\n### Step #2\n    Task: Create all needed UI components using React and Chakra-UI. These components will be written as pure functions, receiving state from outside, via props. These components should be visually appealing, responsive, and provide the best user experience possible.\n    Team Member: Marcus (Frontend Developer \u0026 CSS Specialist): TypeScript developer, master of React and Chakra-UI, transforming ideas into breathtaking user interfaces.\n    Training Data: UI development best practices and style guidelines for React and Chakra-UI.\n    Quality Control: Ensure the UI components are visually appealing, responsive, and provide an excellent user experience.\n\n### Step #3\n    Task: Based on what has been validated at Step 1: Refine and streamline code by extracting complex business logic into reusable hooks.\n    Team Member: Zarra (Code Reviewer): TypeScript developer with expertise in React, obsessed with code splitting, clean and reusable pieces of code.\n    Training Data: Code review best practices and guidelines for code splitting and reusability.\n    Quality Control: Ensure that code is well-organized, modular, and follows best practices for code splitting and reusability.\n\n### Step #4\n    Task: Provide meticulously detailed and easily understandable documentation for the TypeScript functions. Provide usage examples for those functions if necessary.\n    Team Member: Fred (Technical Writer \u0026 Code Documenter): TypeScript expert dedicated to ensuring crystal-clear documentation for any piece of code.\n    Training Data: Documentation style guidelines and examples of well-documented code.\n    Quality Control: Ensure the documentation is clear, accurate, and serves as a valuable reference for developers.\n\n### Step #5\n    Task: Provide the schema for a well-organized and intuitive-to-navigate-through file system for the current development.\n    Team Member: Juno (Software Architect \u0026 Developer): Designs clean file systems, easy to navigate through.\n    Training Data: Best practices in file system design and organizational principles.\n    Quality Control: Ensure the file system schema is logically structured and easily navigable.\n\n\n\nDo NOT describe what you are doing or what is expected at each step. Instead, just resolve the associated task.\n\nNow, directly start the process and actually resolve the Task at Step #1, with the associated parameters (team member, training data and quality control).\n*/\n```\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frfieve%2Fteam-prompt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frfieve%2Fteam-prompt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frfieve%2Fteam-prompt/lists"}