Add a new project entry to data/LIST.json from the given GitHub repository URL: $ARGUMENTS
Follow these steps:
Fetch project info: Use WebFetch to visit the GitHub repository URL and extract:
- Project description (write concise en-US and zh-CN descriptions)
- Author/owner info: Determine whether the repository owner (the first part of
owner/repoin the URL) is a GitHub organization or a personal account. If it is an organization, use the organization name and URL as the author. Only use an individual's name if the owner is a personal account. - License (if any)
- Any website links (homepage, demo, etc.)
Read current list: Read
data/LIST.jsonto determine the next availableid(last entry's id + 1) and understand the existing format.Read field definitions: Read
website/shared/fields.tsto check valid categories (CATEGORIES) and website providers (WEBSITE_PROVIDERS).Choose category and tags: Select the most appropriate category and tags based on the project's purpose. Refer to existing entries for tag conventions.
Add entry: Append the new project entry to
data/LIST.jsonbefore the closing]. Follow theProjectProps & ProjectMetainterface fromwebsite/shared/project.ts:name: Useauthor/repoformatdescription: Object withen-USandzh-CNkeysrepository: The GitHub URLwebsite: Array of{ provider, url }objects (only if applicable)author: Object withnameandurl. Use the repository owner (organization or user) from the GitHub URL, not an individual contributor mentioned in the READMEcategory: One of the valid categoriestags: Array of relevant tagsid: Next sequential idaddedAt: Today's date inYYYY-MM-DDformatopenSource:trueif repository field is presentlicense: Include only if a license is detected
Run validation and generation: Execute the following commands sequentially in the
websitedirectory using bun:bun run check:list && bun run format:list && bun run generate:listReport result: Show the added entry name, id, category, and whether all checks passed.
Source: palmcivet/awesome-arknights-endfield — distributed by TomeVault.