[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7EFRDBEP4R04EW9AH23YJ74":3,"skill-same:01M7EFRDBEP4R04EW9AH23YJ74":44},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M7EFRDBEP4R04EW9AH23YJ74","cpp-add-class",null,"Use it to add a new C++ header and implementation file containing a class, given source path, namespace and class name","diego-minguzzi-sw\u002Fai-coding","diego-minguzzi-sw","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F172079330?v=4","01M7EFRBN2F8VYSC20K3JKV25H","01M7EFRBP4XWHKJRXY8585Z273",1,"MIT","https:\u002F\u002Fgithub.com\u002Fdiego-minguzzi-sw\u002Fai-coding\u002Fblob\u002Fmain\u002Fskills\u002Fcpp-add-class\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: cpp-add-class\ndescription: Use it to add a new C++ header and implementation file containing a class, given source path, namespace and class name\n---\nSteps to create a .h and a .cpp file containing initial code for a new C++ class: additional methods and data members will be added later.\n\nParameters asked to the user:\n\n  - [src_path] mandatory parameter: the root path of the project or subproject: the directory containing the CMakeLists.txt file\n  - [namespace] mandatory parameter: the namespace of the C++ class to be created : C++ namespace\n  - [class_name] mandatory parameter: the name of the new C++ class, to be created, it must be camelCase, uppercase first letter\n\nSuppose that, for example:\n\n- [src_path] = \u002Fhome\u002Fuser\u002Frepo\u002Fsrc\u002Fmy_library\n- [namespace] = entities::office\n- [class_name] = CompanyEmployee\n\n# Scope\nOnly create the header and implementation files for the new class, do not modify any other file to complete this skill.\n\n# Create the Header file ( .h extension)\nThe name of the file is created starting from the [class_name].\n[class_name] is CamelCase\n[file_name] corresponds to [class_name] but it is lowercase snakecase\n\nCreate the header file in the path: [src_path]\u002Finclude\u002F[top_namespace]\u002F[sub_namespace]\u002F...\u002F[file_name].h\nIf the file already exist, inform the user and stop.\n\nIn the example above, the actual path is:\n\u002Fhome\u002Fuser\u002Frepo\u002Fsrc\u002Fmy_library\u002Finclude\u002Fentities\u002Foffice\u002Fcompany_employee.h\n\nRefer to the skill: cpp-create-file to create the header file, containing the banner with the author.\n\n# Populate the Header file ( .h extension)\nIf the [class_name] and [namespace] are those of the example, populate the header file with the content below.\nNote that the header guard macro is created concatenating the namespace and the class name, uppercase snake case,\nwith trailing _H_\n\n```c++\n#ifndef ENTITIES_OFFICE_COMPANY_EMPLOYEE_H_\n#define ENTITIES_OFFICE_COMPANY_EMPLOYEE_H_\n\n#include \u003Cstring>\n\nnamespace entities {\nnamespace office {\n\nclass CompanyEmployee\n{\npublic:\n  \u002F\u002F explicit CompanyEmployee(...);\n\n  CompanyEmployee() = default;\n  CompanyEmployee( const CompanyEmployee&) = default;\n  CompanyEmployee( CompanyEmployee&&) = default;\n\n  CompanyEmployee& operator=( const CompanyEmployee&) = default;\n  CompanyEmployee& operator=( CompanyEmployee&&) = default;\n\n  ::std::string toString() const;\n\nprivate:\n};\n\n} \u002F\u002F namespace office\n} \u002F\u002F namespace entities\n\n#endif\u002F\u002FENTITIES_OFFICE_COMPANY_EMPLOYEE_H_\n```\n\n# Create the Implementation file ( .cpp extension)\nThe filename of the implemementation file is the same as the header file, but with .cpp extension, but created  in a different path:\n[src_path]\u002Fsource\u002F[top_namespace]\u002F[sub_namespace]\u002F...\u002F[file_name].cpp\nIf the file already exist, inform the user and stop.\n\nGiven the example above, the filepath is:\n\u002Fhome\u002Fuser\u002Frepo\u002Fsrc\u002Fmy_library\u002Fsource\u002Fentities\u002Foffice\u002Fcompany_employee.cpp\n\nRefer to the skill: cpp-create-file to create the implementation file, containing the banner with the author.\n\n# Populate the Implementation file ( .cpp extension)\n\n```c++\n#include \"entities\u002Foffice\u002Femployee.h\"\n\nnamespace entities {\nnamespace office {\n\n\u002F*\n\u002F\u002F------------------------------------------------------------------------------------------------\nCompanyEmployee:::CompanyEmployee(...)\n{\n}\n*\u002F\n\n\u002F\u002F------------------------------------------------------------------------------------------------\n::std::string CompanyEmployee::toString() const {\n  return ::std::string{};\n}\n\n} \u002F\u002F namespace office\n} \u002F\u002F namespace entities\n```\n","Steps to create a .h and a .cpp file containing initial code for a new C++ class: additional methods and data members will be added later.\n\nParameters asked to the user:\n\n  - [src_path] mandatory parameter: the root path of the project or subproject: the directory containing the CMakeLists.txt file\n  - [namespace] mandatory parameter: the namespace of the C++ class to be created : C++ namespace\n  - [class_name] mandatory parameter: the name of the new C++ class, to be created, it must be camelCase, uppercase first letter\n\nSuppose that, for example:\n\n- [src_path] = \u002Fhome\u002Fuser\u002Frepo\u002Fsrc\u002Fmy_library\n- [namespace] = entities::office\n- [class_name] = CompanyEmployee\n\n# Scope\nOnly create the header and implementation files for the new class, do not modify any other file to complete this skill.\n\n# Create the Header file ( .h extension)\nThe name of the file is created starting from the [class_name].\n[class_name] is CamelCase\n[file_name] corresponds to [class_name] but it is lowercase snakecase\n\nCreate the header file in the path: [src_path]\u002Finclude\u002F[top_namespace]\u002F[sub_namespace]\u002F...\u002F[file_name].h\nIf the file already exist, inform the user and stop.\n\nIn the example above, the actual path is:\n\u002Fhome\u002Fuser\u002Frepo\u002Fsrc\u002Fmy_library\u002Finclude\u002Fentities\u002Foffice\u002Fcompany_employee.h\n\nRefer to the skill: cpp-create-file to create the header file, containing the banner with the author.\n\n# Populate the Header file ( .h extension)\nIf the [class_name] and [namespace] are those of the example, populate the header file with the content below.\nNote that the header guard macro is created concatenating the namespace and the class name, uppercase snake case,\nwith trailing _H_\n\n```c++\n#ifndef ENTITIES_OFFICE_COMPANY_EMPLOYEE_H_\n#define ENTITIES_OFFICE_COMPANY_EMPLOYEE_H_\n\n#include \u003Cstring>\n\nnamespace entities {\nnamespace office {\n\nclass CompanyEmployee\n{\npublic:\n  \u002F\u002F explicit CompanyEmployee(...);\n\n  CompanyEmployee() = default;\n  CompanyEmployee( const CompanyEmployee&) = default;\n  CompanyEmployee( CompanyEmployee&&) = default;\n\n  CompanyEmployee& operator=( const CompanyEmployee&) = default;\n  CompanyEmployee& operator=( CompanyEmployee&&) = default;\n\n  ::std::string toString() const;\n\nprivate:\n};\n\n} \u002F\u002F namespace office\n} \u002F\u002F namespace entities\n\n#endif\u002F\u002FENTITIES_OFFICE_COMPANY_EMPLOYEE_H_\n```\n\n# Create the Implementation file ( .cpp extension)\nThe filename of the implemementation file is the same as the header file, but with .cpp extension, but created  in a different path:\n[src_path]\u002Fsource\u002F[top_namespace]\u002F[sub_namespace]\u002F...\u002F[file_name].cpp\nIf the file already exist, inform the user and stop.\n\nGiven the example above, the filepath is:\n\u002Fhome\u002Fuser\u002Frepo\u002Fsrc\u002Fmy_library\u002Fsource\u002Fentities\u002Foffice\u002Fcompany_employee.cpp\n\nRefer to the skill: cpp-create-file to create the implementation file, containing the banner with the author.\n\n# Populate the Implementation file ( .cpp extension)\n\n```c++\n#include \"entities\u002Foffice\u002Femployee.h\"\n\nnamespace entities {\nnamespace office {\n\n\u002F*\n\u002F\u002F------------------------------------------------------------------------------------------------\nCompanyEmployee:::CompanyEmployee(...)\n{\n}\n*\u002F\n\n\u002F\u002F------------------------------------------------------------------------------------------------\n::std::string CompanyEmployee::toString() const {\n  return ::std::string{};\n}\n\n} \u002F\u002F namespace office\n} \u002F\u002F namespace entities\n```\n",{"name":5,"description":7},"main","26d912625dd9a12b0a24b20e4eec245c7e51f12f","skills\u002Fcpp-add-class",0,"https:\u002F\u002Fgithub.com\u002Fdiego-minguzzi-sw\u002Fai-coding","https:\u002F\u002Fgithub.com\u002Fdiego-minguzzi-sw","2026-11-15 02:24:47",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add diego-minguzzi-sw\u002Fai-coding --skill cpp-add-class",{"tool":36,"command":37},"bunx","bunx skills add diego-minguzzi-sw\u002Fai-coding --skill cpp-add-class",{"tool":39,"command":40},"pnpm","pnpm dlx skills add diego-minguzzi-sw\u002Fai-coding --skill cpp-add-class","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002Fdiego-minguzzi-sw\u002Fai-coding\u002Fblob\u002Fmain\u002Fskills\u002Fcpp-add-class\u002FSKILL.md",true,[],[45,52,59,65,72,79],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M7EFSK00N89VJN4Z7F57WERA","utils-get-username","Use it to get the name of the user running the skill.","https:\u002F\u002Fgithub.com\u002Fdiego-minguzzi-sw\u002Fai-coding\u002Fblob\u002Fmain\u002Fskills\u002Futils-get-username\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M7EFSFNN3JHBRC5FM4TK4J38","sparring-partner","When I plan a task, act like a sparring partner.","https:\u002F\u002Fgithub.com\u002Fdiego-minguzzi-sw\u002Fai-coding\u002Fblob\u002Fmain\u002Fskills\u002Fsparring-partner\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":6,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":62,"categories":63,"keywords":64,"publishedAt":18},"01M7EFSCJKKJPPR0RZ7FNNA9T1","rs-create-lib","https:\u002F\u002Fgithub.com\u002Fdiego-minguzzi-sw\u002Fai-coding\u002Fblob\u002Fmain\u002Fskills\u002Frs-create-lib\u002FSKILL.md",[],[],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":69,"categories":70,"keywords":71,"publishedAt":18},"01M7EFS88SWRW6P8QNH8Y4B565","rs-create-lib-mod","Use with Rust, to create a new module in the project library.","https:\u002F\u002Fgithub.com\u002Fdiego-minguzzi-sw\u002Fai-coding\u002Fblob\u002Fmain\u002Fskills\u002Frs-create-lib-mod\u002FSKILL.md",[],[],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"publishedAt":18},"01M7EFS4DRWFP231PHGH4987MF","rs-create-file","Use it to create a new Rust source file","https:\u002F\u002Fgithub.com\u002Fdiego-minguzzi-sw\u002Fai-coding\u002Fblob\u002Fmain\u002Fskills\u002Frs-create-file\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"publishedAt":18},"01M7EFS1NW4T7F9A567Q2E2JD5","rs-add-lib-mod-file","Use it to create a Rust source file in a library module","https:\u002F\u002Fgithub.com\u002Fdiego-minguzzi-sw\u002Fai-coding\u002Fblob\u002Fmain\u002Fskills\u002Frs-add-lib-mod-file\u002FSKILL.md",[],[]]